Package hec.data.location
Class LocationGroupRef
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.location.LocationGroupRef
- 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
ConstructorsConstructorDescriptionLocationGroupRef
(LocationCategoryRef categoryRef, String groupOfficeId, String groupId) LocationGroupRef
(org.jdom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildElement
(org.jdom.Element element) int
boolean
getId()
int
hashCode()
void
setCategoryRef
(LocationCategoryRef categoryRef) void
setDbOfficeId
(String groupOfficeId) void
toString()
Returns a String concatenation of the category id and group id separated by a "-".Methods inherited from class hec.lang.NamedType
addModifiableListener, clone, fireModifiedStateChanged, getDescription, getDisplayName, getFieldObject, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setFieldObject, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, update, useRecursiveModifiedTest
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Field Details
-
ID
- See Also:
-
LOC_CAT_REF
- See Also:
-
-
Constructor Details
-
LocationGroupRef
-
LocationGroupRef
public LocationGroupRef() -
LocationGroupRef
public LocationGroupRef(org.jdom.Element element)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable
- Overrides:
compareTo
in classNamedType
-
hashCode
public int hashCode() -
equals
-
getDbOfficeId
-
setDbOfficeId
-
getCategoryRef
-
setCategoryRef
-
getId
-
setId
-
buildElement
public void buildElement(org.jdom.Element element) -
toString
Returns a String concatenation of the category id and group id separated by a "-".
-