Package org.vast.ogc.om
Class ProcedureXML
java.lang.Object
org.vast.ogc.om.ProcedureXML
- All Implemented Interfaces:
Serializable
,AbstractFeature
,AbstractGML
,GenericFeature
,IFeature
,IProcedure
,IResource
Wrapper class to store procedure info as XML DOM. It can temporary hold a DOM Node until it is parsed by an adequate reader into a fully functional Procedure object.
- Since:
- Sep 30, 2012
- See Also:
-
Field Summary
FieldsFields inherited from interface org.vast.ogc.gml.IFeature
DEFAULT_QNAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addName
(CodeWithAuthority name) Adds a new name propertyGets the boundedBy propertyGets the description propertyGets the descriptionReference propertyprotected RuntimeException
Gets extra info (name, xlink, etc.) carried by the geometry propertygetId()
Gets the id propertyGets the identifier propertyGets the list of metaDataProperty propertiesgetName()
Gets the list of name propertiesint
Returns number of name propertiesgetProperty
(String name) getProperty
(QName qname) getQName()
Gets the identifier propertyboolean
Checks if boundedBy is setboolean
Checks if description is setboolean
Checks if descriptionReference is setboolean
Checks if geometry is setboolean
Checks if identifier is setvoid
setBoundedByAsEnvelope
(Envelope boundedBy) Sets the boundedByAsEnvelope propertyvoid
setDescription
(String desc) Sets the description propertyvoid
setDescriptionReference
(Reference descriptionReference) Sets the descriptionReference propertyvoid
setGeometry
(AbstractGeometry location) Sets the geometry propertyvoid
Sets the id propertyvoid
setIdentifier
(String uid) void
setIdentifier
(CodeWithAuthority identifier) Sets the identifier propertyvoid
setLocalId
(String id) void
Sets the default namevoid
setProperty
(String name, Object value) void
setProperty
(QName qname, Object value) void
setUniqueIdentifier
(String identifier) Sets the identifier propertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.vast.ogc.gml.IFeature
getType, hasCustomGeomProperty, hasCustomTimeProperty
-
Field Details
-
domElt
-
procedure
-
-
Constructor Details
-
ProcedureXML
-
-
Method Details
-
getDomElement
-
getQName
-
getLocalId
-
setLocalId
-
getUniqueIdentifier
Description copied from interface:AbstractGML
Gets the identifier property- Specified by:
getUniqueIdentifier
in interfaceAbstractGML
- Specified by:
getUniqueIdentifier
in interfaceIFeature
- Returns:
- the globally unique identifier that can be used to identify the same feature across contexts (e.g. across repositories)
-
setIdentifier
-
getDescription
Description copied from interface:AbstractGML
Gets the description property- Specified by:
getDescription
in interfaceAbstractGML
- Specified by:
getDescription
in interfaceIResource
- Returns:
- A short description of the resource
-
setDescription
Description copied from interface:AbstractGML
Sets the description property- Specified by:
setDescription
in interfaceAbstractGML
-
getName
- Specified by:
getName
in interfaceAbstractGML
- Specified by:
getName
in interfaceIResource
- Returns:
- The resource name
-
setName
Description copied from interface:AbstractGML
Sets the default name- Specified by:
setName
in interfaceAbstractGML
-
getProperties
- Specified by:
getProperties
in interfaceGenericFeature
- Specified by:
getProperties
in interfaceIFeature
- Returns:
- the property list
-
getProperty
- Specified by:
getProperty
in interfaceGenericFeature
-
setProperty
- Specified by:
setProperty
in interfaceGenericFeature
-
getProperty
- Specified by:
getProperty
in interfaceGenericFeature
-
setProperty
- Specified by:
setProperty
in interfaceGenericFeature
-
getException
-
getBoundedBy
Description copied from interface:AbstractFeature
Gets the boundedBy property- Specified by:
getBoundedBy
in interfaceAbstractFeature
-
isSetBoundedBy
public boolean isSetBoundedBy()Description copied from interface:AbstractFeature
Checks if boundedBy is set- Specified by:
isSetBoundedBy
in interfaceAbstractFeature
-
setBoundedByAsEnvelope
Description copied from interface:AbstractFeature
Sets the boundedByAsEnvelope property- Specified by:
setBoundedByAsEnvelope
in interfaceAbstractFeature
-
getGeometry
- Specified by:
getGeometry
in interfaceIFeature
- Returns:
- the geometry/location (or null if feature has no geometry)
-
getGeometryProperty
Description copied from interface:AbstractFeature
Gets extra info (name, xlink, etc.) carried by the geometry property- Specified by:
getGeometryProperty
in interfaceAbstractFeature
-
isSetGeometry
public boolean isSetGeometry()Description copied from interface:AbstractFeature
Checks if geometry is set- Specified by:
isSetGeometry
in interfaceAbstractFeature
-
setGeometry
Description copied from interface:AbstractFeature
Sets the geometry property- Specified by:
setGeometry
in interfaceAbstractFeature
-
getMetaDataPropertyList
Description copied from interface:AbstractGML
Gets the list of metaDataProperty properties- Specified by:
getMetaDataPropertyList
in interfaceAbstractGML
-
isSetDescription
public boolean isSetDescription()Description copied from interface:AbstractGML
Checks if description is set- Specified by:
isSetDescription
in interfaceAbstractGML
-
getDescriptionReference
Description copied from interface:AbstractGML
Gets the descriptionReference property- Specified by:
getDescriptionReference
in interfaceAbstractGML
-
isSetDescriptionReference
public boolean isSetDescriptionReference()Description copied from interface:AbstractGML
Checks if descriptionReference is set- Specified by:
isSetDescriptionReference
in interfaceAbstractGML
-
setDescriptionReference
Description copied from interface:AbstractGML
Sets the descriptionReference property- Specified by:
setDescriptionReference
in interfaceAbstractGML
-
getIdentifier
Description copied from interface:AbstractGML
Gets the identifier property- Specified by:
getIdentifier
in interfaceAbstractGML
-
isSetIdentifier
public boolean isSetIdentifier()Description copied from interface:AbstractGML
Checks if identifier is set- Specified by:
isSetIdentifier
in interfaceAbstractGML
-
setIdentifier
Description copied from interface:AbstractGML
Sets the identifier property- Specified by:
setIdentifier
in interfaceAbstractGML
-
setUniqueIdentifier
Description copied from interface:AbstractGML
Sets the identifier property- Specified by:
setUniqueIdentifier
in interfaceAbstractGML
-
getNameList
Description copied from interface:AbstractGML
Gets the list of name properties- Specified by:
getNameList
in interfaceAbstractGML
-
getNumNames
public int getNumNames()Description copied from interface:AbstractGML
Returns number of name properties- Specified by:
getNumNames
in interfaceAbstractGML
-
addName
Description copied from interface:AbstractGML
Adds a new name property- Specified by:
addName
in interfaceAbstractGML
-
getId
Description copied from interface:AbstractGML
Gets the id property- Specified by:
getId
in interfaceAbstractGML
- Specified by:
getId
in interfaceIFeature
- Returns:
- the local/internal ID of the feature (often automatically assigned by the feature repository)
-
setId
Description copied from interface:AbstractGML
Sets the id property- Specified by:
setId
in interfaceAbstractGML
-
getValidTime
- Specified by:
getValidTime
in interfaceIFeature
- Returns:
- feature validity period (or null if always valid)
-