Class UnitOfMeasurement
java.lang.Object
de.fraunhofer.iosb.ilt.frostclient.model.ext.UnitOfMeasurement
- All Implemented Interfaces:
ComplexValue
Model class for UnitOfMeasurement. This is a complex property in STA.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()inthashCode()setDefinition(String definition) toString()
-
Constructor Details
-
UnitOfMeasurement
public UnitOfMeasurement() -
UnitOfMeasurement
-
-
Method Details
-
get
- Specified by:
getin interfaceComplexValue
-
getName
- Returns:
- the name
-
getSymbol
- Returns:
- the symbol
-
getDefinition
- Returns:
- the definition
-
setName
- Parameters:
name- the name to set- Returns:
- this
-
setSymbol
- Parameters:
symbol- the symbol to set- Returns:
- this
-
setDefinition
- Parameters:
definition- the definition to set- Returns:
- this
-
toString
-
hashCode
public int hashCode() -
equals
-