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 TypeMethodDescriptionvoidaddName(CodeWithAuthority name) Adds a new name propertyGets the boundedBy propertyGets the description propertyGets the descriptionReference propertyprotected RuntimeExceptionGets 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 propertiesintReturns number of name propertiesgetProperty(String name) getProperty(QName qname) getQName()Gets the identifier propertybooleanChecks if boundedBy is setbooleanChecks if description is setbooleanChecks if descriptionReference is setbooleanChecks if geometry is setbooleanChecks if identifier is setvoidsetBoundedByAsEnvelope(Envelope boundedBy) Sets the boundedByAsEnvelope propertyvoidsetDescription(String desc) Sets the description propertyvoidsetDescriptionReference(Reference descriptionReference) Sets the descriptionReference propertyvoidsetGeometry(AbstractGeometry location) Sets the geometry propertyvoidSets the id propertyvoidsetIdentifier(String uid) voidsetIdentifier(CodeWithAuthority identifier) Sets the identifier propertyvoidsetLocalId(String id) voidSets the default namevoidsetProperty(String name, Object value) voidsetProperty(QName qname, Object value) voidsetUniqueIdentifier(String identifier) Sets the identifier propertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AbstractGMLGets the identifier property- Specified by:
 getUniqueIdentifierin interfaceAbstractGML- Specified by:
 getUniqueIdentifierin 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:AbstractGMLGets the description property- Specified by:
 getDescriptionin interfaceAbstractGML- Specified by:
 getDescriptionin interfaceIResource- Returns:
 - A short description of the resource
 
 - 
setDescription
Description copied from interface:AbstractGMLSets the description property- Specified by:
 setDescriptionin interfaceAbstractGML
 - 
getName
- Specified by:
 getNamein interfaceAbstractGML- Specified by:
 getNamein interfaceIResource- Returns:
 - The resource name
 
 - 
setName
Description copied from interface:AbstractGMLSets the default name- Specified by:
 setNamein interfaceAbstractGML
 - 
getProperties
- Specified by:
 getPropertiesin interfaceGenericFeature- Specified by:
 getPropertiesin interfaceIFeature- Returns:
 - the property list
 
 - 
getProperty
- Specified by:
 getPropertyin interfaceGenericFeature
 - 
setProperty
- Specified by:
 setPropertyin interfaceGenericFeature
 - 
getProperty
- Specified by:
 getPropertyin interfaceGenericFeature
 - 
setProperty
- Specified by:
 setPropertyin interfaceGenericFeature
 - 
getException
 - 
getBoundedBy
Description copied from interface:AbstractFeatureGets the boundedBy property- Specified by:
 getBoundedByin interfaceAbstractFeature
 - 
isSetBoundedBy
public boolean isSetBoundedBy()Description copied from interface:AbstractFeatureChecks if boundedBy is set- Specified by:
 isSetBoundedByin interfaceAbstractFeature
 - 
setBoundedByAsEnvelope
Description copied from interface:AbstractFeatureSets the boundedByAsEnvelope property- Specified by:
 setBoundedByAsEnvelopein interfaceAbstractFeature
 - 
getGeometry
- Specified by:
 getGeometryin interfaceIFeature- Returns:
 - the geometry/location (or null if feature has no geometry)
 
 - 
getGeometryProperty
Description copied from interface:AbstractFeatureGets extra info (name, xlink, etc.) carried by the geometry property- Specified by:
 getGeometryPropertyin interfaceAbstractFeature
 - 
isSetGeometry
public boolean isSetGeometry()Description copied from interface:AbstractFeatureChecks if geometry is set- Specified by:
 isSetGeometryin interfaceAbstractFeature
 - 
setGeometry
Description copied from interface:AbstractFeatureSets the geometry property- Specified by:
 setGeometryin interfaceAbstractFeature
 - 
getMetaDataPropertyList
Description copied from interface:AbstractGMLGets the list of metaDataProperty properties- Specified by:
 getMetaDataPropertyListin interfaceAbstractGML
 - 
isSetDescription
public boolean isSetDescription()Description copied from interface:AbstractGMLChecks if description is set- Specified by:
 isSetDescriptionin interfaceAbstractGML
 - 
getDescriptionReference
Description copied from interface:AbstractGMLGets the descriptionReference property- Specified by:
 getDescriptionReferencein interfaceAbstractGML
 - 
isSetDescriptionReference
public boolean isSetDescriptionReference()Description copied from interface:AbstractGMLChecks if descriptionReference is set- Specified by:
 isSetDescriptionReferencein interfaceAbstractGML
 - 
setDescriptionReference
Description copied from interface:AbstractGMLSets the descriptionReference property- Specified by:
 setDescriptionReferencein interfaceAbstractGML
 - 
getIdentifier
Description copied from interface:AbstractGMLGets the identifier property- Specified by:
 getIdentifierin interfaceAbstractGML
 - 
isSetIdentifier
public boolean isSetIdentifier()Description copied from interface:AbstractGMLChecks if identifier is set- Specified by:
 isSetIdentifierin interfaceAbstractGML
 - 
setIdentifier
Description copied from interface:AbstractGMLSets the identifier property- Specified by:
 setIdentifierin interfaceAbstractGML
 - 
setUniqueIdentifier
Description copied from interface:AbstractGMLSets the identifier property- Specified by:
 setUniqueIdentifierin interfaceAbstractGML
 - 
getNameList
Description copied from interface:AbstractGMLGets the list of name properties- Specified by:
 getNameListin interfaceAbstractGML
 - 
getNumNames
public int getNumNames()Description copied from interface:AbstractGMLReturns number of name properties- Specified by:
 getNumNamesin interfaceAbstractGML
 - 
addName
Description copied from interface:AbstractGMLAdds a new name property- Specified by:
 addNamein interfaceAbstractGML
 - 
getId
Description copied from interface:AbstractGMLGets the id property- Specified by:
 getIdin interfaceAbstractGML- Specified by:
 getIdin interfaceIFeature- Returns:
 - the local/internal ID of the feature (often automatically assigned by the feature repository)
 
 - 
setId
Description copied from interface:AbstractGMLSets the id property- Specified by:
 setIdin interfaceAbstractGML
 - 
getValidTime
- Specified by:
 getValidTimein interfaceIFeature- Returns:
 - feature validity period (or null if always valid)
 
 
 -