Package hec.data.turbines
Class JDomTurbineImpl
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.physicalstructure.PhysicalStructure
hec.data.turbines.JDomTurbineImpl
- All Implemented Interfaces:
ILocationAssociation
,ILocationChild
,ILocationChildAssociation
,IPhysicalStructure
,ITurbine
,XmlString
,AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
,Comparable
,Observer
,Modifiable
Xml representation of a turbine.
- See Also:
-
Field Summary
Fields inherited from class hec.data.physicalstructure.PhysicalStructure
_characteristicsRef, _groupRef, _location, _projectLocationRef
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
Fields inherited from interface hec.data.turbines.ITurbine
ELEMENT, ELEMENT_TURBINE_CHAR_REF, ELEMENT_TURBINE_LOC
-
Constructor Summary
ConstructorsConstructorDescriptionJDomTurbineImpl
(LocationTemplate projectLocationRef, Location outletLocation, ICharacteristicTypeRef characteristicTypeRef, LocationGroupRef groupRef) JDomTurbineImpl
(ITurbine xmlObj) JDomTurbineImpl
(org.jdom.Element element) -
Method Summary
Methods inherited from class hec.data.physicalstructure.PhysicalStructure
buildElement, equals, getRatingGroupRef, hashCode, setCharacteristicRef, setLocation, setParentLocationRef, setRatingGroupRef
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 hec.data.ILocationAssociation
setLocation
Methods inherited from interface hec.data.ILocationChild
setParentLocationRef
Methods inherited from interface hec.data.physicalstructure.IPhysicalStructure
getRatingGroupRef, setCharacteristicRef, setRatingGroupRef
Methods inherited from interface rma.lang.Modifiable
isModified, setModified
Methods inherited from interface hec.data.XmlString
toXmlString
-
Constructor Details
-
JDomTurbineImpl
public JDomTurbineImpl() -
JDomTurbineImpl
- Throws:
JDomDataObjectException
-
JDomTurbineImpl
public JDomTurbineImpl(org.jdom.Element element) -
JDomTurbineImpl
public JDomTurbineImpl(LocationTemplate projectLocationRef, Location outletLocation, ICharacteristicTypeRef characteristicTypeRef, LocationGroupRef groupRef) throws JDomDataObjectException - Throws:
JDomDataObjectException
-
-
Method Details
-
getCharacteristicRefElementName
- Specified by:
getCharacteristicRefElementName
in classPhysicalStructure
-
getLocationElementName
- Specified by:
getLocationElementName
in classPhysicalStructure
-
getProjectChildName
- Specified by:
getProjectChildName
in classPhysicalStructure
-
getLocation
- Specified by:
getLocation
in interfaceILocationAssociation
- Overrides:
getLocation
in classPhysicalStructure
-
getParentLocationRef
- Specified by:
getParentLocationRef
in interfaceILocationChild
- Overrides:
getParentLocationRef
in classPhysicalStructure
-
getCharacteristicRef
- Specified by:
getCharacteristicRef
in interfaceIPhysicalStructure
- Overrides:
getCharacteristicRef
in classPhysicalStructure
-