Package hec.data.characteristic
Class JDomCharacteristicTypeRef
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.characteristic.JDomCharacteristicTypeRef
- All Implemented Interfaces:
ICharacteristicTypeRef
,XmlString
,AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
,Comparable
,Observer
,Modifiable
public class JDomCharacteristicTypeRef
extends AbstractJDomDataObject
implements ICharacteristicTypeRef
- See Also:
-
Field Summary
Fields inherited from class hec.data.AbstractJDomDataObject
DD_MM_MYYYY, DD_MM_MYYYY_HHMM, DD_MM_MYYYY_HHMMZ, MM_MYYYY, UNIT, YYYY
Fields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT
Fields inherited from interface hec.data.characteristic.ICharacteristicTypeRef
DB_OFFICE_ID, ELEMENT, ID, USAGE_ID
-
Constructor Summary
ConstructorsConstructorDescriptionJDomCharacteristicTypeRef
(String officeId, String usageId, String characteristicTypeId) JDomCharacteristicTypeRef
(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildElement
(org.jdom.Element element) Populates the element with data from this object.int
boolean
static String
getAssignmentPropertyCategory
(String usageId) static String
getDefinitionPropertyCategory
(String usageId) int
hashCode()
void
void
setOfficeId
(String id) void
setUsageId
(String s) Methods inherited from class hec.data.AbstractJDomDataObject
buildElementOrRemove, camelCaseToLowerUnderbar, getDefaultElementName, getXmlDate, getXmlValue, parseDouble, parseFormattedDouble, parseInt, setXmlDate, setXmlValue, toXmlString
Methods inherited from class hec.lang.NamedType
addModifiableListener, clone, fireModifiedStateChanged, getDescription, getDisplayName, getFieldObject, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setFieldObject, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, toString, update, useRecursiveModifiedTest
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface rma.lang.Modifiable
isModified, setModified
Methods inherited from interface hec.data.XmlString
toXmlString
-
Constructor Details
-
JDomCharacteristicTypeRef
public JDomCharacteristicTypeRef() -
JDomCharacteristicTypeRef
-
JDomCharacteristicTypeRef
public JDomCharacteristicTypeRef(org.jdom.Element element) -
JDomCharacteristicTypeRef
- Throws:
JDomDataObjectException
-
-
Method Details
-
buildElement
public void buildElement(org.jdom.Element element) Description copied from class:AbstractJDomDataObject
Populates the element with data from this object.- Specified by:
buildElement
in classAbstractJDomDataObject
-
getOfficeId
- Specified by:
getOfficeId
in interfaceICharacteristicTypeRef
-
setOfficeId
- Specified by:
setOfficeId
in interfaceICharacteristicTypeRef
-
getCharacteristicTypeId
- Specified by:
getCharacteristicTypeId
in interfaceICharacteristicTypeRef
-
setCharacteristicTypeId
- Specified by:
setCharacteristicTypeId
in interfaceICharacteristicTypeRef
-
getUsageId
- Specified by:
getUsageId
in interfaceICharacteristicTypeRef
-
setUsageId
- Specified by:
setUsageId
in interfaceICharacteristicTypeRef
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable
- Overrides:
compareTo
in classNamedType
-
getPropertyCategory
- Specified by:
getPropertyCategory
in interfaceICharacteristicTypeRef
-
getDefinitionPropertyCategory
-
getAssignmentPropertyCategory
-