-
Nested Class Summary
Nested Classes
-
Optional Element Summary
Optional Elements
Class<? extends javax.measure.Quantity<?>>
Specifies the quantityType which can be used to determine the system default unit
com.raynigon.unit.api.core.annotation.QuantityShape
Serialize the Quantity as String
Class<? extends com.raynigon.unit.api.core.units.general.IUnit<?>>
Specifies the unit in which the Quantity is serialized/deserialized
Class<? extends com.raynigon.unit.api.core.units.general.IUnit<?>>
AliasFor(value="unit") Specifies the unit in which the Quantity is serialized/deserialized
-
Element Details
-
value
Class<? extends com.raynigon.unit.api.core.units.general.IUnit<?>> value
AliasFor(value="unit") Specifies the unit in which the Quantity is serialized/deserialized
- Returns:
- the unit which should be used for serialization/deserialization
- Default:
- com.raynigon.unit.api.jpa.annotation.JpaUnit.NoneUnit.class
-
unit
Class<? extends com.raynigon.unit.api.core.units.general.IUnit<?>> unit
Specifies the unit in which the Quantity is serialized/deserialized
- Returns:
- the unit which should be used for serialization/deserialization
- Default:
- com.raynigon.unit.api.jpa.annotation.JpaUnit.NoneUnit.class
-
shape
com.raynigon.unit.api.core.annotation.QuantityShape shape
Serialize the Quantity as String
- Returns:
- the shape which should be used for serialization/deserialization
- Default:
- NUMBER
-
quantityType
Class<? extends javax.measure.Quantity<?>> quantityType
Specifies the quantityType which can be used to determine the system default unit
- Returns:
- the quantityType which should be used to determine the system unit for
serialization/deserialization
- Default:
- com.raynigon.unit.api.jpa.annotation.NoneQuantity.class