|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.lite.AbstractLiteObject
wt.iba.definition.litedefinition.AbstractAttributeDefinizerView
wt.iba.definition.litedefinition.AbstractAttributeDefinizerDefaultView
wt.iba.definition.litedefinition.AttributeDefDefaultView
wt.iba.definition.litedefinition.UnitDefView
Liteweight Unit type definition.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
constraintClassname
A static string which represents a constraint class of the approriate data type. |
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private DefaultDisplayUnitsHolder |
theDefaultDisplayUnitsHolder
|
private QuantityOfMeasureDefaultView |
theQuantityOfMeasureDefaultView
|
Fields inherited from class wt.iba.definition.litedefinition.AttributeDefDefaultView |
|
Fields inherited from class wt.iba.definition.litedefinition.AbstractAttributeDefinizerView |
|
Fields inherited from class wt.lite.AbstractLiteObject |
ILLEGAL_ACCESS, SERVER |
Fields inherited from interface wt.lite.Liteable |
UPDATE_COUNT |
Constructor Summary | |
UnitDefView()
Default Constructor Supported API: false |
|
UnitDefView(int updateCount,
String name,
ObjectIdentifier objectID,
ObjectIdentifier parentObjectID,
String description,
String displayName,
QuantityOfMeasureDefaultView quantOfMeasure,
String className,
String hierarchyID)
Serverside constructor of this class. |
|
UnitDefView(int updateCount,
String name,
String hierarchyDisplayName,
ObjectIdentifier objectID,
ObjectIdentifier parentObjectID,
String description,
String displayName,
QuantityOfMeasureDefaultView quantOfMeasure,
String className,
String hierarchyID)
Supported API: false |
|
UnitDefView(int updateCount,
String name,
String hierarchyDisplayName,
ObjectIdentifier objectID,
ObjectIdentifier parentObjectID,
String description,
String displayName,
QuantityOfMeasureDefaultView quantOfMeasure,
String className,
String hierarchyID,
String counterpartID)
Added to manage the counterpartID field which is used by the R7 CounterPartService. |
|
UnitDefView(String name,
String description,
AbstractAttributeDefinizerView parent,
QuantityOfMeasureDefaultView quantityOfMeasure)
Client side constructor of this class. |
|
UnitDefView(String name,
String hierarchyDisplayName,
String description,
AbstractAttributeDefinizerView parent,
QuantityOfMeasureDefaultView quantityOfMeasure)
Supported API: false |
Method Summary | |
Object |
clone()
Supported API: false |
Enumeration |
defaultDisplayUnitsKeys()
Returns the keys to the default measurement system display units hashtable keys. |
Enumeration |
displayUnitsKeys()
Returns an enumeration of the keys to the internal hashtable. |
String |
getConstraintClassname()
Supported API: false |
String |
getDefaultDisplayUnitString(String measurementSystemName)
Gets the default unit display string given the MeasurementSystem name . |
String |
getDisplayUnitString(String measurementSystemName)
Given a MeasurementSystem name as key, return the displayUnitString as return value. |
QuantityOfMeasureDefaultView |
getQuantityOfMeasureDefaultView()
Gets the object for the association that plays role: theQuantityOfMeasureDefaultView. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(UnitDefView thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setDefaultDisplayUnitString(String measurementSystemName,
String defaultDisplayUnit)
Sets the default display unit string given the MeasurementSystem name as key. |
void |
setDisplayUnitString(String measurementSystemName,
String unitDisplayInfoString)
Sets a MeasurementSystem name as key, and an unitDisplayInfo String as value. |
void |
setQuantityOfMeasureDefaultView(QuantityOfMeasureDefaultView a_QuantityOfMeasureDefaultView)
Sets the object for the association that plays role: theQuantityOfMeasureDefaultView. |
private void |
theQuantityOfMeasureDefaultViewValidate(QuantityOfMeasureDefaultView a_QuantityOfMeasureDefaultView)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.iba.definition.litedefinition.AttributeDefDefaultView |
getAttributeDefinitionClassName, getCounterpartID, getDisplayName, getHierarchyID, getLocalizedDisplayString, getLogicalIdentifier, readVersion, setCounterpartID, setDisplayName, setHierarchyID, setLogicalIdentifier, toAbstractAttributeDefinizerNodeView |
Methods inherited from class wt.iba.definition.litedefinition.AbstractAttributeDefinizerDefaultView |
readVersion |
Methods inherited from class wt.iba.definition.litedefinition.AbstractAttributeDefinizerView |
getDescription, getHierarchyDisplayName, getName, getParentObjectID, isParentOf, isRoot, readVersion, setDescription, setHierarchyDisplayName, setName, setParentObjectID |
Methods inherited from class wt.lite.AbstractLiteObject |
compareUpdateCount, getHeavyObjectClassname, getObjectID, getUpdateCount, isPersistedObjectEqual, readVersion, setLocalizedDisplayString, setObjectID, setUpdateCount |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String constraintClassname
private QuantityOfMeasureDefaultView theQuantityOfMeasureDefaultView
private DefaultDisplayUnitsHolder theDefaultDisplayUnitsHolder
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public UnitDefView()
public UnitDefView(String name, String description, AbstractAttributeDefinizerView parent, QuantityOfMeasureDefaultView quantityOfMeasure) throws IBAException
name
- description
- parent
- quantityOfMeasure
-
IBAException
public UnitDefView(int updateCount, String name, ObjectIdentifier objectID, ObjectIdentifier parentObjectID, String description, String displayName, QuantityOfMeasureDefaultView quantOfMeasure, String className, String hierarchyID) throws IBAException
updateCount
- name
- objectID
- parentObjectID
- description
- displayName
- quantOfMeasure
- className
- hierarchyID
-
IBAException
public UnitDefView(String name, String hierarchyDisplayName, String description, AbstractAttributeDefinizerView parent, QuantityOfMeasureDefaultView quantityOfMeasure) throws IBAException
name
- hierarchyDisplayName
- description
- parent
- quantityOfMeasure
-
IBAException
public UnitDefView(int updateCount, String name, String hierarchyDisplayName, ObjectIdentifier objectID, ObjectIdentifier parentObjectID, String description, String displayName, QuantityOfMeasureDefaultView quantOfMeasure, String className, String hierarchyID) throws IBAException
updateCount
- name
- hierarchyDisplayName
- objectID
- parentObjectID
- description
- displayName
- quantOfMeasure
- className
- hierarchyID
-
IBAException
public UnitDefView(int updateCount, String name, String hierarchyDisplayName, ObjectIdentifier objectID, ObjectIdentifier parentObjectID, String description, String displayName, QuantityOfMeasureDefaultView quantOfMeasure, String className, String hierarchyID, String counterpartID) throws IBAException
updateCount
- name
- hierarchyDisplayName
- objectID
- parentObjectID
- description
- displayName
- quantOfMeasure
- className
- hierarchyID
- counterpartID
-
IBAException
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AttributeDefDefaultView
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AttributeDefDefaultView
input
-
IOException
ClassNotFoundException
protected boolean readVersion(UnitDefView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public QuantityOfMeasureDefaultView getQuantityOfMeasureDefaultView()
public void setQuantityOfMeasureDefaultView(QuantityOfMeasureDefaultView a_QuantityOfMeasureDefaultView) throws WTPropertyVetoException
a_QuantityOfMeasureDefaultView
-
WTPropertyVetoException
private void theQuantityOfMeasureDefaultViewValidate(QuantityOfMeasureDefaultView a_QuantityOfMeasureDefaultView) throws WTPropertyVetoException
a_QuantityOfMeasureDefaultView
-
WTPropertyVetoException
public String getConstraintClassname()
getConstraintClassname
in class AttributeDefDefaultView
public String getDisplayUnitString(String measurementSystemName)
getDisplayUnitString
in interface LiteDisplayUnitsHolder
measurementSystemName
-
public void setDisplayUnitString(String measurementSystemName, String unitDisplayInfoString)
setDisplayUnitString
in interface LiteDisplayUnitsHolder
measurementSystemName
- unitDisplayInfoString
- public Enumeration displayUnitsKeys()
displayUnitsKeys
in interface LiteDisplayUnitsHolder
public String getDefaultDisplayUnitString(String measurementSystemName)
getDefaultDisplayUnitString
in interface LiteDisplayUnitsHolder
measurementSystemName
-
public void setDefaultDisplayUnitString(String measurementSystemName, String defaultDisplayUnit)
setDefaultDisplayUnitString
in interface LiteDisplayUnitsHolder
measurementSystemName
- defaultDisplayUnit
- public Enumeration defaultDisplayUnitsKeys()
defaultDisplayUnitsKeys
in interface LiteDisplayUnitsHolder
public Object clone()
clone
in interface LiteDisplayUnitsHolder
clone
in class AttributeDefDefaultView
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |