Package hec.data.location
Class AssignedLocation
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.location.AssignedLocation
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,Modifiable
- See Also:
-
Field Summary
FieldsFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT -
Constructor Summary
ConstructorsConstructorDescriptionAssignedLocation(LocationTemplate locRef, String aliasId, Double attribute, LocationTemplate associatedLocRef) AssignedLocation(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildElement(org.jdom.Element element) Builds the element.booleangetName()get the NameType's nameinthashCode()voidsetAliasId(String aliasId) voidsetAssociatedLocRef(LocationTemplate locRef) voidsetAttribute(Double attribute) voidsetLocRef(LocationTemplate locRef) voidSet the NamedTypes's name to the argument String.toString()Methods 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, setValid, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Field Details
-
AttributeComparator
-
-
Constructor Details
-
AssignedLocation
public AssignedLocation(LocationTemplate locRef, String aliasId, Double attribute, LocationTemplate associatedLocRef) -
AssignedLocation
public AssignedLocation(org.jdom.Element element)
-
-
Method Details
-
buildElement
public void buildElement(org.jdom.Element element) Builds the element.- Parameters:
element- the element
-
setName
Description copied from class:NamedTypeSet the NamedTypes's name to the argument String. -
getName
Description copied from class:NamedTypeget the NameType's name -
toString
-
getAssociatedLocRef
-
setAssociatedLocRef
-
getAliasId
-
setAliasId
-
getAttribute
-
setAttribute
-
getLocRef
-
setLocRef
-
toXmlString
-
hashCode
public int hashCode() -
equals
-