Package hec.data.outlet
Class JDomOutletImpl
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.physicalstructure.PhysicalStructure
hec.data.outlet.JDomOutletImpl
- All Implemented Interfaces:
ILocationAssociation,ILocationChild,ILocationChildAssociation,IOutlet,IPhysicalStructure,XmlString,AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,Modifiable
- 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.outlet.IOutlet
ELEMENT, ELEMENT_OUTLET_CHAR_REF, ELEMENT_OUTLET_LOC, NONEFields inherited from interface hec.data.physicalstructure.IPhysicalStructure
ELEMENT_PROJECT_LOC -
Constructor Summary
ConstructorsConstructorDescriptionJDomOutletImpl(LocationTemplate projectLocationRef, Location outletLocation, ICharacteristicTypeRef characteristicTypeRef, LocationGroupRef groupRef) JDomOutletImpl(IOutlet iOutlet) JDomOutletImpl(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddOutflow(IOutlet outflow) protected Stringprotected StringgetName()get the NameType's nameprotected StringbooleanbooleanbooleanvoidsetCompoundOutletDescription(String compoundOutletDescription) voidsetCompoundOutletName(String compoundOutletName) voidsetInflows(List<IOutlet> inflow) voidsetIsCompoundOutletMember(boolean isGroupMember) voidsetOutflows(List<IOutlet> outflow) 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, 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
-
JDomOutletImpl
public JDomOutletImpl() -
JDomOutletImpl
-
JDomOutletImpl
public JDomOutletImpl(org.jdom.Element element) -
JDomOutletImpl
public JDomOutletImpl(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
-
setIsCompoundOutletMember
public void setIsCompoundOutletMember(boolean isGroupMember) - Specified by:
setIsCompoundOutletMemberin interfaceIOutlet
-
isCompoundOutletMember
public boolean isCompoundOutletMember()- Specified by:
isCompoundOutletMemberin interfaceIOutlet
-
setInflows
- Specified by:
setInflowsin interfaceIOutlet
-
getInflows
- Specified by:
getInflowsin interfaceIOutlet
-
setOutflows
- Specified by:
setOutflowsin interfaceIOutlet
-
getOutflows
- Specified by:
getOutflowsin interfaceIOutlet
-
setCompoundOutletName
- Specified by:
setCompoundOutletNamein interfaceIOutlet
-
getCompoundOutletName
- Specified by:
getCompoundOutletNamein interfaceIOutlet
-
setCompoundOutletDescription
- Specified by:
setCompoundOutletDescriptionin interfaceIOutlet
-
getCompoundOutletDescription
- Specified by:
getCompoundOutletDescriptionin interfaceIOutlet
-
isReservoirInflow
public boolean isReservoirInflow()- Specified by:
isReservoirInflowin interfaceIOutlet
-
isDownstreamOutflow
public boolean isDownstreamOutflow()- Specified by:
isDownstreamOutflowin interfaceIOutlet
-
addOutflow
- Specified by:
addOutflowin interfaceIOutlet
-
addInflow
-
getName
Description copied from class:NamedTypeget the NameType's name
-