Package hec.data.physicalstructure
Class PhysicalStructure
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.physicalstructure.PhysicalStructure
- All Implemented Interfaces:
ILocationAssociation,ILocationChild,ILocationChildAssociation,IPhysicalStructure,XmlString,AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,Modifiable
- Direct Known Subclasses:
JDomOutletImpl,JDomTurbineImpl
public abstract class PhysicalStructure
extends AbstractJDomDataObject
implements IPhysicalStructure
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JDomCharacteristicTypeRefprotected LocationGroupRefprotected Locationprotected LocationTemplateFields 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.physicalstructure.IPhysicalStructure
ELEMENT_PROJECT_LOC -
Constructor Summary
ConstructorsConstructorDescriptionPhysicalStructure(LocationTemplate projectLocationRef, Location outletLocation, ICharacteristicTypeRef characteristicTypeRef, LocationGroupRef groupRef) PhysicalStructure(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildElement(org.jdom.Element element) Populates the element with data from this object.booleanprotected abstract Stringprotected abstract Stringprotected abstract StringinthashCode()voidvoidsetLocation(Location location) voidsetParentLocationRef(LocationTemplate projectLoc) voidsetRatingGroupRef(LocationGroupRef groupRef) 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, compareTo, 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
-
Field Details
-
_location
-
_projectLocationRef
-
_characteristicsRef
-
_groupRef
-
-
Constructor Details
-
PhysicalStructure
public PhysicalStructure() -
PhysicalStructure
public PhysicalStructure(LocationTemplate projectLocationRef, Location outletLocation, ICharacteristicTypeRef characteristicTypeRef, LocationGroupRef groupRef) throws JDomDataObjectException - Throws:
JDomDataObjectException
-
PhysicalStructure
public PhysicalStructure(org.jdom.Element element)
-
-
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
-
getLocation
- Specified by:
getLocationin interfaceILocationAssociation
-
getParentLocationRef
- Specified by:
getParentLocationRefin interfaceILocationChild
-
getCharacteristicRef
- Specified by:
getCharacteristicRefin interfaceIPhysicalStructure
-
setLocation
- Specified by:
setLocationin interfaceILocationAssociation
-
setParentLocationRef
- Specified by:
setParentLocationRefin interfaceILocationChild
-
setCharacteristicRef
- Specified by:
setCharacteristicRefin interfaceIPhysicalStructure- Throws:
JDomDataObjectException
-
hashCode
public int hashCode() -
equals
-
getCharacteristicRefElementName
-
getLocationElementName
-
getProjectChildName
-
getRatingGroupRef
- Specified by:
getRatingGroupRefin interfaceIPhysicalStructure
-
setRatingGroupRef
- Specified by:
setRatingGroupRefin interfaceIPhysicalStructure
-