Class ParameterValue
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.isa4j.components.ParameterValue
-
public class ParameterValue extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ParameterValue(ProtocolParameter category, double value)ParameterValue(ProtocolParameter category, double value, OntologyAnnotation unit)ParameterValue(ProtocolParameter category, OntologyAnnotation value)ParameterValue(ProtocolParameter category, OntologyAnnotation value, OntologyAnnotation unit)ParameterValue(ProtocolParameter category, java.lang.String value)
-
Method Summary
Modifier and Type Method Description TgetCategory()OntologyAnnotationgetUnit()OntologyAnnotationgetValue()booleanhasUnit()voidsetCategory(T category)voidsetUnit(OntologyAnnotation unit)voidsetValue(int value)voidsetValue(OntologyAnnotation value)voidsetValue(java.lang.String value)java.lang.StringtoString()
-
-
-
Constructor Detail
-
ParameterValue
public ParameterValue(ProtocolParameter category, double value, OntologyAnnotation unit)
-
ParameterValue
public ParameterValue(ProtocolParameter category, double value)
-
ParameterValue
public ParameterValue(ProtocolParameter category, OntologyAnnotation value, OntologyAnnotation unit)
-
ParameterValue
public ParameterValue(ProtocolParameter category, OntologyAnnotation value)
-
ParameterValue
public ParameterValue(ProtocolParameter category, java.lang.String value)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getCategory
public T getCategory()
- Returns:
- the category
-
getUnit
public OntologyAnnotation getUnit()
- Returns:
- the unit
-
getValue
public OntologyAnnotation getValue()
- Returns:
- the value
-
hasUnit
public boolean hasUnit()
-
setCategory
public void setCategory(T category)
- Parameters:
category- the category to set
-
setUnit
public void setUnit(OntologyAnnotation unit)
- Parameters:
unit- the unit to set
-
setValue
public void setValue(int value)
-
setValue
public void setValue(OntologyAnnotation value)
- Parameters:
value- the value to set
-
setValue
public void setValue(java.lang.String value)
-
-