Package org.vast.sensorML
Class PhysicalComponentImpl
java.lang.Object
net.opengis.gml.v32.impl.AbstractGMLImpl
net.opengis.gml.v32.impl.AbstractFeatureImpl
net.opengis.sensorml.v20.impl.DescribedObjectImpl
org.vast.sensorML.AbstractProcessImpl
org.vast.sensorML.PhysicalComponentImpl
- All Implemented Interfaces:
Serializable
,AbstractFeature
,AbstractGML
,AbstractPhysicalProcess
,AbstractProcess
,DescribedObject
,PhysicalComponent
,SimpleProcess
,IFeature
,IProcedure
,IProcessExec
,IResource
POJO class for XML type PhysicalComponentType(@http://www.opengis.net/sensorml/2.0).
This is a complex type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Reference
protected ArrayList<SpatialFrame>
protected ArrayList<TemporalFrame>
protected OgcProperty<ProcessMethod>
protected OgcPropertyList<Serializable>
protected OgcPropertyList<Time>
Fields inherited from class org.vast.sensorML.AbstractProcessImpl
configuration, definition, executableProcess, featuresOfInterest, inputData, modesList, outputData, paramData, typeOf
Fields inherited from class net.opengis.sensorml.v20.impl.DescribedObjectImpl
capabilitiesList, characteristicsList, classificationList, contactsList, documentationList, extensionList, historyList, identificationList, keywordsList, lang, legalConstraintsList, securityConstraintsList, validTimeList
Fields inherited from class net.opengis.gml.v32.impl.AbstractFeatureImpl
boundedBy, location
Fields inherited from class net.opengis.gml.v32.impl.AbstractGMLImpl
description, descriptionReference, id, identifier, metaDataPropertyList, nameList, UUID_CODE
Fields inherited from interface net.opengis.sensorml.v20.DescribedObject
DEFAULT_NS_URI
Fields inherited from interface org.vast.ogc.gml.IFeature
DEFAULT_QNAME
Fields inherited from interface net.opengis.sensorml.v20.PhysicalComponent
DEFAULT_QNAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLocalReferenceFrame
(SpatialFrame localReferenceFrame) Adds a new localReferenceFrame propertyvoid
addLocalTimeFrame
(TemporalFrame localTimeFrame) Adds a new localTimeFrame propertyvoid
addPositionAsAbstractProcess
(AbstractProcess position) Adds a new positionAsAbstractProcess propertyvoid
addPositionAsDataArray1
(DataArray position) Adds a new positionAsDataArray1 propertyvoid
addPositionAsDataRecord
(DataRecord position) Adds a new positionAsDataRecord propertyvoid
addPositionAsPoint
(Point position) Adds a new positionAsPoint propertyvoid
addPositionAsPose
(Pose pose) Adds a new positionAsPose propertyvoid
addPositionAsText
(Text position) Adds a new positionAsText propertyvoid
addPositionAsVector
(Vector position) Adds a new positionAsVector propertyvoid
addTimePosition
(Time timePosition) Adds a new timePosition propertyvoid
execute()
Execute contains the logic to transform input/parameter values into output values.Gets the attachedTo propertyGets the location propertyGets the list of localReferenceFrame propertiesGets the list of localTimeFrame propertiesGets the method propertyGets extra info (name, xlink, etc.) carried by the method propertyint
Returns number of localReferenceFrame propertiesint
Returns number of localTimeFrame propertiesint
Returns number of position propertiesint
Returns number of timePosition propertiesGets the list of position propertiesgetQName()
Gets the list of timePosition propertiesvoid
init()
Initialize the process and its internal variables (fixed parameters).boolean
Checks if attachedTo is setboolean
Checks if method is setvoid
setAttachedTo
(Reference attachedTo) Sets the attachedTo propertyvoid
setGeometry
(AbstractGeometry geom) Sets the locationAsAbstractGeometry propertyvoid
setMethod
(ProcessMethod method) Sets the method propertyMethods inherited from class org.vast.sensorML.AbstractProcessImpl
addInput, addInput, addInput, addInput, addModes, addOutput, addOutput, addOutput, addOutput, addParameter, addParameter, addParameter, addParameter, canRun, checkExecutable, connect, disconnect, dispose, getConfiguration, getDefinition, getDescription, getFeaturesOfInterest, getInput, getInputComponent, getInputConnections, getInputList, getInstanceName, getModesList, getName, getNumInputs, getNumModes, getNumOutputs, getNumParameters, getOutput, getOutputComponent, getOutputConnections, getOutputList, getParamConnections, getParameter, getParameterComponent, getParameterList, getProcessInfo, getTypeOf, isExecutable, isSetConfiguration, isSetDefinition, isSetFeaturesOfInterest, isSetTypeOf, mergePort, mergePortDescriptors, needSync, notifyParamChange, run, setConfiguration, setDefinition, setExecutableImpl, setFeaturesOfInterest, setInstanceName, setParentLogger, setTypeOf, start, start, stop, toString
Methods inherited from class net.opengis.sensorml.v20.impl.DescribedObjectImpl
addCapabilities, addCharacteristics, addClassification, addContacts, addDocumentation, addExtension, addHistory, addIdentification, addKeywords, addLegalConstraints, addSecurityConstraints, addValidTimeAsTimeInstant, addValidTimeAsTimePeriod, getCapabilities, getCapabilitiesList, getCharacteristics, getCharacteristicsList, getClassificationList, getContactsList, getDocumentationList, getExtensionList, getHistoryList, getIdentificationList, getKeywordsList, getLang, getLegalConstraintsList, getNumCapabilities, getNumCharacteristics, getNumClassifications, getNumContacts, getNumDocumentations, getNumExtensions, getNumHistorys, getNumIdentifications, getNumKeywords, getNumLegalConstraints, getNumSecurityConstraints, getNumValidTimes, getSecurityConstraintsList, getValidTime, getValidTimeList, isSetLang, setLang
Methods inherited from class net.opengis.gml.v32.impl.AbstractFeatureImpl
equals, getBoundedBy, getGeometryProperty, hashCode, isSetBoundedBy, isSetGeometry, setBoundedByAsEnvelope
Methods inherited from class net.opengis.gml.v32.impl.AbstractGMLImpl
addName, getDescriptionReference, getId, getIdentifier, getMetaDataPropertyList, getNameList, getNumNames, getUniqueIdentifier, isSetDescription, isSetDescriptionReference, isSetIdentifier, setDescription, setDescriptionReference, setId, setIdentifier, setName, setUniqueIdentifier
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.opengis.gml.v32.AbstractFeature
getBoundedBy, getGeometryProperty, isSetBoundedBy, isSetGeometry, setBoundedByAsEnvelope
Methods inherited from interface net.opengis.gml.v32.AbstractGML
addName, getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataPropertyList, getName, getNameList, getNumNames, getUniqueIdentifier, isSetDescription, isSetDescriptionReference, isSetIdentifier, setDescription, setDescriptionReference, setId, setIdentifier, setName, setUniqueIdentifier
Methods inherited from interface net.opengis.sensorml.v20.AbstractProcess
addInput, addInput, addInput, addInput, addModes, addOutput, addOutput, addOutput, addOutput, addParameter, addParameter, addParameter, addParameter, getConfiguration, getDefinition, getFeaturesOfInterest, getInput, getInputComponent, getInputList, getLocation, getModesList, getNumInputs, getNumModes, getNumOutputs, getNumParameters, getOutput, getOutputComponent, getOutputList, getParameter, getParameterComponent, getParameterList, getType, getTypeOf, isSetConfiguration, isSetDefinition, isSetFeaturesOfInterest, isSetLocation, isSetTypeOf, setConfiguration, setDefinition, setFeaturesOfInterest, setLocation, setTypeOf
Methods inherited from interface net.opengis.sensorml.v20.DescribedObject
addCapabilities, addCharacteristics, addClassification, addContacts, addDocumentation, addExtension, addHistory, addIdentification, addKeywords, addLegalConstraints, addSecurityConstraints, addValidTimeAsTimeInstant, addValidTimeAsTimePeriod, getCapabilities, getCapabilitiesList, getCharacteristics, getCharacteristicsList, getClassificationList, getContactsList, getDocumentationList, getExtensionList, getHistoryList, getIdentificationList, getKeywordsList, getLang, getLegalConstraintsList, getNumCapabilities, getNumCharacteristics, getNumClassifications, getNumContacts, getNumDocumentations, getNumExtensions, getNumHistorys, getNumIdentifications, getNumKeywords, getNumLegalConstraints, getNumSecurityConstraints, getNumValidTimes, getSecurityConstraintsList, getValidTimeList, isSetLang, setLang
Methods inherited from interface org.vast.ogc.gml.IFeature
getId, getProperties, getUniqueIdentifier, getValidTime, hasCustomGeomProperty, hasCustomTimeProperty
Methods inherited from interface org.vast.util.IResource
getDescription, getName
-
Field Details
-
attachedTo
-
localReferenceFrameList
-
localTimeFrameList
-
positionList
-
timePositionList
-
method
-
-
Constructor Details
-
PhysicalComponentImpl
public PhysicalComponentImpl()
-
-
Method Details
-
getQName
-
getAttachedTo
Gets the attachedTo property- Specified by:
getAttachedTo
in interfaceAbstractPhysicalProcess
-
isSetAttachedTo
public boolean isSetAttachedTo()Checks if attachedTo is set- Specified by:
isSetAttachedTo
in interfaceAbstractPhysicalProcess
-
setAttachedTo
Sets the attachedTo property- Specified by:
setAttachedTo
in interfaceAbstractPhysicalProcess
-
getLocalReferenceFrameList
Gets the list of localReferenceFrame properties- Specified by:
getLocalReferenceFrameList
in interfaceAbstractPhysicalProcess
-
getNumLocalReferenceFrames
public int getNumLocalReferenceFrames()Returns number of localReferenceFrame properties- Specified by:
getNumLocalReferenceFrames
in interfaceAbstractPhysicalProcess
-
addLocalReferenceFrame
Adds a new localReferenceFrame property- Specified by:
addLocalReferenceFrame
in interfaceAbstractPhysicalProcess
-
getLocalTimeFrameList
Gets the list of localTimeFrame properties- Specified by:
getLocalTimeFrameList
in interfaceAbstractPhysicalProcess
-
getNumLocalTimeFrames
public int getNumLocalTimeFrames()Returns number of localTimeFrame properties- Specified by:
getNumLocalTimeFrames
in interfaceAbstractPhysicalProcess
-
addLocalTimeFrame
Adds a new localTimeFrame property- Specified by:
addLocalTimeFrame
in interfaceAbstractPhysicalProcess
-
getPositionList
Gets the list of position properties- Specified by:
getPositionList
in interfaceAbstractPhysicalProcess
-
getNumPositions
public int getNumPositions()Returns number of position properties- Specified by:
getNumPositions
in interfaceAbstractPhysicalProcess
-
addPositionAsText
Adds a new positionAsText property- Specified by:
addPositionAsText
in interfaceAbstractPhysicalProcess
-
addPositionAsPoint
Adds a new positionAsPoint property- Specified by:
addPositionAsPoint
in interfaceAbstractPhysicalProcess
-
addPositionAsPose
Adds a new positionAsPose property- Specified by:
addPositionAsPose
in interfaceAbstractPhysicalProcess
-
addPositionAsVector
Adds a new positionAsVector property- Specified by:
addPositionAsVector
in interfaceAbstractPhysicalProcess
-
addPositionAsDataRecord
Adds a new positionAsDataRecord property- Specified by:
addPositionAsDataRecord
in interfaceAbstractPhysicalProcess
-
addPositionAsDataArray1
Adds a new positionAsDataArray1 property- Specified by:
addPositionAsDataArray1
in interfaceAbstractPhysicalProcess
-
addPositionAsAbstractProcess
Adds a new positionAsAbstractProcess property- Specified by:
addPositionAsAbstractProcess
in interfaceAbstractPhysicalProcess
-
getTimePositionList
Gets the list of timePosition properties- Specified by:
getTimePositionList
in interfaceAbstractPhysicalProcess
-
getNumTimePositions
public int getNumTimePositions()Returns number of timePosition properties- Specified by:
getNumTimePositions
in interfaceAbstractPhysicalProcess
-
addTimePosition
Adds a new timePosition property- Specified by:
addTimePosition
in interfaceAbstractPhysicalProcess
-
getMethod
Gets the method property- Specified by:
getMethod
in interfaceSimpleProcess
-
getMethodProperty
Gets extra info (name, xlink, etc.) carried by the method property- Specified by:
getMethodProperty
in interfaceSimpleProcess
-
isSetMethod
public boolean isSetMethod()Checks if method is set- Specified by:
isSetMethod
in interfaceSimpleProcess
-
setMethod
Sets the method property- Specified by:
setMethod
in interfaceSimpleProcess
-
getGeometry
Description copied from class:AbstractFeatureImpl
Gets the location property- Specified by:
getGeometry
in interfaceIFeature
- Overrides:
getGeometry
in classAbstractFeatureImpl
- Returns:
- the geometry/location (or null if feature has no geometry)
-
setGeometry
Description copied from class:AbstractFeatureImpl
Sets the locationAsAbstractGeometry property- Specified by:
setGeometry
in interfaceAbstractFeature
- Overrides:
setGeometry
in classAbstractFeatureImpl
-
init
Description copied from interface:IProcessExec
Initialize the process and its internal variables (fixed parameters). This is called only once before the process is executed.- Specified by:
init
in interfaceIProcessExec
- Overrides:
init
in classAbstractProcessImpl
- Throws:
ProcessException
-
execute
Description copied from interface:IProcessExec
Execute contains the logic to transform input/parameter values into output values. This method should be optimized as much as possible.- Specified by:
execute
in interfaceIProcessExec
- Overrides:
execute
in classAbstractProcessImpl
- Throws:
ProcessException
-