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, _projectLocationRefFields 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_LOCFields 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, setRatingGroupRefMethods 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 hec.data.ILocationAssociation
setLocationMethods inherited from interface hec.data.ILocationChild
setParentLocationRefMethods inherited from interface hec.data.physicalstructure.IPhysicalStructure
getRatingGroupRef, setCharacteristicRef, setRatingGroupRefMethods inherited from interface rma.lang.Modifiable
isModified, setModifiedMethods 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:
getCharacteristicRefElementNamein classPhysicalStructure
-
getLocationElementName
- Specified by:
getLocationElementNamein classPhysicalStructure
-
getProjectChildName
- Specified by:
getProjectChildNamein classPhysicalStructure
-
getLocation
- Specified by:
getLocationin interfaceILocationAssociation- Overrides:
getLocationin classPhysicalStructure
-
getParentLocationRef
- Specified by:
getParentLocationRefin interfaceILocationChild- Overrides:
getParentLocationRefin classPhysicalStructure
-
getCharacteristicRef
- Specified by:
getCharacteristicRefin interfaceIPhysicalStructure- Overrides:
getCharacteristicRefin classPhysicalStructure
-