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, YYYYFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENTFields 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 TypeMethodDescriptionvoidbuildElement(org.jdom.Element element) Populates the element with data from this object.intbooleanstatic StringgetAssignmentPropertyCategory(String usageId) static StringgetDefinitionPropertyCategory(String usageId) inthashCode()voidvoidsetOfficeId(String id) voidsetUsageId(String s) Methods inherited from class hec.data.AbstractJDomDataObject
buildElementOrRemove, camelCaseToLowerUnderbar, getDefaultElementName, getXmlDate, getXmlValue, parseDouble, parseFormattedDouble, parseInt, setXmlDate, setXmlValue, toXmlStringMethods 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, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface rma.lang.Modifiable
isModified, setModifiedMethods 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:AbstractJDomDataObjectPopulates the element with data from this object.- Specified by:
buildElementin classAbstractJDomDataObject
-
getOfficeId
- Specified by:
getOfficeIdin interfaceICharacteristicTypeRef
-
setOfficeId
- Specified by:
setOfficeIdin interfaceICharacteristicTypeRef
-
getCharacteristicTypeId
- Specified by:
getCharacteristicTypeIdin interfaceICharacteristicTypeRef
-
setCharacteristicTypeId
- Specified by:
setCharacteristicTypeIdin interfaceICharacteristicTypeRef
-
getUsageId
- Specified by:
getUsageIdin interfaceICharacteristicTypeRef
-
setUsageId
- Specified by:
setUsageIdin interfaceICharacteristicTypeRef
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable- Overrides:
compareToin classNamedType
-
getPropertyCategory
- Specified by:
getPropertyCategoryin interfaceICharacteristicTypeRef
-
getDefinitionPropertyCategory
-
getAssignmentPropertyCategory
-