Package wt.aum
Class AlternateUnitOfMeasure
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.aum._AlternateUnitOfMeasure
wt.aum.AlternateUnitOfMeasure
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,DisplayIdentification,wt.ufid._Federatable,wt.ufid.Federatable
@GenAsPersistable(superClass=WTObject.class,interfaces=wt.ufid.Federatable.class,serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="numerator",type=int.class,constraints=@PropertyConstraints(lowerLimit=1)),@GeneratedProperty(name="denominator",type=int.class,constraints=@PropertyConstraints(lowerLimit=1)),@GeneratedProperty(name="unit",type=QuantityUnit.class,constraints=@PropertyConstraints(required=true))})
public class AlternateUnitOfMeasure
extends wt.aum._AlternateUnitOfMeasure
Use the newAlternateUnitOfMeasure static factory method(s),
not the AlternateUnitOfMeasure constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic AlternateUnitOfMeasure
Supported API: truestatic AlternateUnitOfMeasurenewAlternateUnitOfMeasure(int numerator, int denominator, QuantityUnit unit)
Supported API: trueMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
newAlternateUnitOfMeasure
public static AlternateUnitOfMeasure newAlternateUnitOfMeasure(int numerator, int denominator, QuantityUnit unit) throws WTException
Supported API: true- Parameters:
numerator-denominator-unit-- Returns:
- AlternateUnitOfMeasure
- Throws:
WTException
-
newAlternateUnitOfMeasure
Supported API: true- Returns:
- AlternateUnitOfMeasure
- Throws:
WTException
-