Public Member Functions | |
AxisProperty () | |
No-arg constructor. | |
AxisProperty (String name) | |
Useful constructor. | |
AxisProperty (YAxis yAxis, String name) | |
Useful constructor. | |
AxisProperty (String name, Unit unit, Double lowValue, Double highValue) | |
Really useful constructor. | |
AxisProperty (YAxis yAxis, String name, Unit unit, Double lowValue, Double highValue) | |
Really useful constructor. | |
YAxis | getYAxis () |
Get parent y-axis. | |
AxisProperty | setYAxis (YAxis yAxis) |
Set parent y-axis. | |
Property | setValues (Unit unit, Double lowValue, Double highValue) |
Convenient way to set the unit and bounds at one go. | |
String | getName () |
Get the name of this property. | |
Property | setName (String name) |
Set the name of this property. | |
Double | getLowValue () |
Get the low bound on the property's value. | |
Property | setLowValue (Double lowValue) |
Set the low bound on the property's value. | |
Double | getHighValue () |
Get the high bound on the property's value. | |
Property | setHighValue (Double highValue) |
Set the high bound on the property's value. | |
Unit | getUnit () |
Get the unit in which this property is measured. | |
Property | setUnit (Unit unit) |
Set the unit in which this property is measured. | |
String | toString () |
String representation. | |
Package Functions | |
.hibernate.annotations. | Type (type="cedar.hepdata.db.UnitUserType") private Unit _unit |
Units of property. | |
Logger | log () |
Neat method to allow every class to get hold of a custom-named Logger. |
Definition at line 14 of file AxisProperty.java.
AxisProperty | ( | ) |
AxisProperty | ( | String | name | ) |
AxisProperty | ( | YAxis | yAxis, | |
String | name | |||
) |
Useful constructor.
Definition at line 32 of file AxisProperty.java.
00032 { 00033 this(name); 00034 setYAxis(yAxis); 00035 }
AxisProperty | ( | String | name, | |
Unit | unit, | |||
Double | lowValue, | |||
Double | highValue | |||
) |
AxisProperty | ( | YAxis | yAxis, | |
String | name, | |||
Unit | unit, | |||
Double | lowValue, | |||
Double | highValue | |||
) |
Really useful constructor.
Definition at line 43 of file AxisProperty.java.
00043 { 00044 this(name, unit, lowValue, highValue); 00045 setYAxis(yAxis); 00046 }
YAxis getYAxis | ( | ) |
AxisProperty setYAxis | ( | YAxis | yAxis | ) |
Set parent y-axis.
Definition at line 58 of file AxisProperty.java.
00058 { 00059 if (getYAxis() != null) getYAxis().getProperties().add(this); 00060 _yAxis = yAxis; 00061 return this; 00062 }
.hibernate.annotations. Type | ( | type | = "cedar.hepdata.db.UnitUserType" |
) | [package, inherited] |
Units of property.
Property setValues | ( | Unit | unit, | |
Double | lowValue, | |||
Double | highValue | |||
) | [inherited] |
Convenient way to set the unit and bounds at one go.
Definition at line 61 of file Property.java.
00061 { 00062 setUnit(unit); 00063 setLowValue(lowValue); 00064 setHighValue(highValue); 00065 return this; 00066 }
String getName | ( | ) | [inherited] |
Property setName | ( | String | name | ) | [inherited] |
Double getLowValue | ( | ) | [inherited] |
Property setLowValue | ( | Double | lowValue | ) | [inherited] |
Double getHighValue | ( | ) | [inherited] |
Property setHighValue | ( | Double | highValue | ) | [inherited] |
Unit getUnit | ( | ) | [inherited] |
Property setUnit | ( | Unit | unit | ) | [inherited] |
String toString | ( | ) | [inherited] |
String representation.
Reimplemented from Storeable.
Definition at line 124 of file Property.java.
00124 { 00125 StringBuffer s = new StringBuffer(); 00126 s.append("(" + getLowValue() + "-" + getHighValue() + ") " + getUnit().toString()); 00127 return s.toString(); 00128 }
Logger log | ( | ) | [package, inherited] |
Neat method to allow every class to get hold of a custom-named Logger.
Definition at line 14 of file Storeable.java.
Referenced by Uncertainty.compareTo(), Reference.compareTo(), PointError.compareTo(), Modification.compareTo(), Experiment.compareTo(), DatasetError.compareTo(), AxisError.compareTo(), Data.makeExample(), Data.makeExampleDataset(), Data.makeExampleExperiment(), Data.makeExamplePaper(), Data.makeExampleXAxes(), Data.makeExampleYAxes(), AxisError.setAxis(), DatasetError.setDataset(), DatasetError.setNormType(), PointError.setPoint(), and Uncertainty.toString().