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:
-
Field Summary
Fields inherited from class wt.aum._AlternateUnitOfMeasure
DENOMINATOR, EXTERNALIZATION_VERSION_UID, NUMERATOR, UNITFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
Method Summary
Modifier and TypeMethodDescriptionstatic AlternateUnitOfMeasure
Supported API: truestatic AlternateUnitOfMeasurenewAlternateUnitOfMeasure(int numerator, int denominator, QuantityUnit unit)
Supported API: trueMethods inherited from class wt.aum._AlternateUnitOfMeasure
getClassInfo, getConceptualClassname, getDenominator, getFederatableInfo, getNumerator, getType, getUnit, readExternal, readExternal, readVersion, setDenominator, setFederatableInfo, setNumerator, setUnit, super_readExternal_AlternateUnitOfMeasure, super_readVersion_AlternateUnitOfMeasure, super_writeExternal_AlternateUnitOfMeasure, writeExternal, writeExternalMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, initialize, toStringMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity
-
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
-