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 JDomCharacteristicTypeRef
protected LocationGroupRef
protected Location
protected LocationTemplate
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.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 TypeMethodDescriptionvoid
buildElement
(org.jdom.Element element) Populates the element with data from this object.boolean
protected abstract String
protected abstract String
protected abstract String
int
hashCode()
void
void
setLocation
(Location location) void
setParentLocationRef
(LocationTemplate projectLoc) void
setRatingGroupRef
(LocationGroupRef groupRef) 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, compareTo, 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
-
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:AbstractJDomDataObject
Populates the element with data from this object.- Specified by:
buildElement
in classAbstractJDomDataObject
-
getLocation
- Specified by:
getLocation
in interfaceILocationAssociation
-
getParentLocationRef
- Specified by:
getParentLocationRef
in interfaceILocationChild
-
getCharacteristicRef
- Specified by:
getCharacteristicRef
in interfaceIPhysicalStructure
-
setLocation
- Specified by:
setLocation
in interfaceILocationAssociation
-
setParentLocationRef
- Specified by:
setParentLocationRef
in interfaceILocationChild
-
setCharacteristicRef
- Specified by:
setCharacteristicRef
in interfaceIPhysicalStructure
- Throws:
JDomDataObjectException
-
hashCode
public int hashCode() -
equals
-
getCharacteristicRefElementName
-
getLocationElementName
-
getProjectChildName
-
getRatingGroupRef
- Specified by:
getRatingGroupRef
in interfaceIPhysicalStructure
-
setRatingGroupRef
- Specified by:
setRatingGroupRef
in interfaceIPhysicalStructure
-