Package hec.data.location
Class LocationTemplate
java.lang.Object
mil.army.usace.hec.metadata.location.LocationTemplate
hec.data.location.LocationTemplate
- All Implemented Interfaces:
Serializable,Comparable<mil.army.usace.hec.metadata.location.LocationTemplate>
- Direct Known Subclasses:
Location
public class LocationTemplate
extends mil.army.usace.hec.metadata.location.LocationTemplate
- Since:
- May 8, 2001
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Comparator<LocationTemplate>static final StringFields inherited from class mil.army.usace.hec.metadata.location.LocationTemplate
LOCATION_TEMPLATE_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionLocationTemplate(LocationTemplate template) Constructor for the LocationTemplate objectLocationTemplate(String locdescString) Constructs a new LocationDescription from the argument Strings.LocationTemplate(String officeId, String locationId) Constructs a new LocationTemplate from the argument Strings.LocationTemplate(String officeId, String baseLocationId, String subLocationId) LocationTemplate(mil.army.usace.hec.metadata.location.LocationTemplate template) Constructor for the LocationTemplate object -
Method Summary
Modifier and TypeMethodDescriptionfinal LocationTemplatefinal DbOfficeIdDeprecated.getName()Deprecated.this method was added in because the NamedType hierarchy was elimatedstatic LocationTemplateparse(org.jdom.Element locationElement) Methods inherited from class mil.army.usace.hec.metadata.location.LocationTemplate
buildElement, compareTo, equals, getBaseLocationId, getLocationId, getOfficeId, getOfficeName, getSubLocationId, hashCode, hasSubLocation, setBaseLocationId, setLocationId, setLocationId, setOfficeId, setOfficeName, setSubLocationId, toString
-
Field Details
-
ID
- See Also:
-
BASE_LOCATION_ID
- See Also:
-
SUB_LOCATION_ID
- See Also:
-
LOCATION_ID
- See Also:
-
LocationComparator
-
-
Constructor Details
-
LocationTemplate
public LocationTemplate() -
LocationTemplate
Constructs a new LocationDescription from the argument Strings.- Parameters:
locdescString- Description of Parameter
-
LocationTemplate
Constructor for the LocationTemplate object- Parameters:
template- Description of Parameter
-
LocationTemplate
public LocationTemplate(mil.army.usace.hec.metadata.location.LocationTemplate template) Constructor for the LocationTemplate object- Parameters:
template- Description of Parameter
-
LocationTemplate
Constructs a new LocationTemplate from the argument Strings.- Parameters:
officeId- Description of ParameterlocationId- Description of Parameter
-
LocationTemplate
-
-
Method Details
-
getName
Deprecated.this method was added in because the NamedType hierarchy was elimated- Returns:
- locationId
-
getDisplayName
Deprecated. -
getBaseLocationTemplate
- Overrides:
getBaseLocationTemplatein classmil.army.usace.hec.metadata.location.LocationTemplate
-
getDbOfficeId
- Overrides:
getDbOfficeIdin classmil.army.usace.hec.metadata.location.LocationTemplate
-
parse
-