Package hec.data.level
Class JDomLocationLevelRef
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.level.JDomLocationLevelRef
- All Implemented Interfaces:
ILocationLevelRef,XmlString,AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,Modifiable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Patternfinal Stringstatic final Stringfinal Patternfinal Stringfinal Patternfinal StringFields 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.level.ILocationLevelRef
ATTRIBUTE, DURATION, ELEMENT, ID, LOCATION, PARAMETER, PARAMETER_TYPE, SPECIFIED_LEVEL -
Constructor Summary
ConstructorsConstructorDescriptionJDomLocationLevelRef(ILocationLevelRef iLocationLevelRef) JDomLocationLevelRef(String officeId, String completeLocLevelIdWithAttribute) JDomLocationLevelRef(String officeId, String locLevelId, String attributeId, String attributeValue, String attributeUnits) JDomLocationLevelRef(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildElement(org.jdom.Element element) Populates the element with data from this object.booleaninthashCode()voidsetAttribute(IAttributeParameterTypedValue attribute) voidsetDuration(Duration duration) voidsetDurationId(String durationId) voidsetLocationId(String locationId) final voidsetLocationRef(LocationTemplate locRef) voidsetOfficeId(String officeId) voidsetParameter(Parameter parameter) voidsetParameterId(String parameterId) voidsetParameterType(ParameterType parameterType) voidsetParameterTypeId(String parameterTypeId) final voidsetPrototypeLevel(IParameterTypedValue prototypeParameterTypedValue) final voidsetSpecifiedLevel(ISpecifiedLevel level) voidsetSpecifiedLevelId(String specifiedLevelId) toString()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, 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
-
DELIM
- See Also:
-
levelIdParsingRegexp
- See Also:
-
levelIdParsingPattern
-
attributeIdParsingRegexp
- See Also:
-
attributeIdParsingPattern
-
fullLevelAttributeParsingRegexp
- See Also:
-
fullLevelAttributeParsingPattern
-
-
Constructor Details
-
JDomLocationLevelRef
public JDomLocationLevelRef() -
JDomLocationLevelRef
public JDomLocationLevelRef(org.jdom.Element element) -
JDomLocationLevelRef
-
JDomLocationLevelRef
public JDomLocationLevelRef(String officeId, String completeLocLevelIdWithAttribute) throws DataSetException - Throws:
DataSetException
-
JDomLocationLevelRef
public JDomLocationLevelRef(String officeId, String locLevelId, String attributeId, String attributeValue, String attributeUnits) throws DataSetException - Throws:
DataSetException
-
-
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
-
setSpecifiedLevel
- Specified by:
setSpecifiedLevelin interfaceILocationLevelRef
-
getSpecifiedLevel
- Specified by:
getSpecifiedLevelin interfaceILocationLevelRef
-
getLocationRef
- Specified by:
getLocationRefin interfaceILocationLevelRef
-
setLocationRef
- Specified by:
setLocationRefin interfaceILocationLevelRef
-
getParameter
- Specified by:
getParameterin interfaceILocationLevelRef
-
setParameter
- Specified by:
setParameterin interfaceILocationLevelRef
-
getParameterType
- Specified by:
getParameterTypein interfaceILocationLevelRef
-
setParameterType
- Specified by:
setParameterTypein interfaceILocationLevelRef
-
getDuration
- Specified by:
getDurationin interfaceILocationLevelRef
-
setDuration
- Specified by:
setDurationin interfaceILocationLevelRef
-
getPrototypeLevel
- Specified by:
getPrototypeLevelin interfaceILocationLevelRef
-
setPrototypeLevel
- Specified by:
setPrototypeLevelin interfaceILocationLevelRef
-
hashCode
public int hashCode() -
equals
-
toString
-
getLocationLevelId
- Specified by:
getLocationLevelIdin interfaceILocationLevelRef
-
getLocationLevelAttributeValueUnitsId
- Specified by:
getLocationLevelAttributeValueUnitsIdin interfaceILocationLevelRef
-
getOfficeId
- Specified by:
getOfficeIdin interfaceILocationLevelRef
-
setOfficeId
-
getLocationId
-
setLocationId
-
setDurationId
- Throws:
DataSetIllegalArgumentException
-
setParameterId
- Throws:
DataSetIllegalArgumentException
-
setParameterTypeId
- Throws:
DataSetIllegalArgumentException
-
setSpecifiedLevelId
-
getAttribute
- Specified by:
getAttributein interfaceILocationLevelRef
-
setAttribute
- Specified by:
setAttributein interfaceILocationLevelRef
-