Package org.vast.sensorML
Class AggregateProcessImpl
- All Implemented Interfaces:
Serializable
,AbstractFeature
,AbstractGML
,AbstractProcess
,AggregateProcess
,DescribedObject
,IFeature
,IProcedure
,IProcessExec
,IResource
- Direct Known Subclasses:
PhysicalSystemImpl
POJO class for XML type AggregateProcessType(@http://www.opengis.net/sensorml/2.0).
This is a complex type.
- See Also:
-
Field Summary
FieldsFields 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.AggregateProcess
DEFAULT_QNAME
Fields inherited from interface net.opengis.sensorml.v20.DescribedObject
DEFAULT_NS_URI
Fields inherited from interface org.vast.ogc.gml.IFeature
DEFAULT_QNAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addComponent
(String name, AbstractProcess component) Adds a new componentvoid
addConnection
(Link link) Adds a new connectionprotected void
addConnection
(IProcessChainExec parentChain, IDataConnection connection) protected void
addConnectionToExec
(Link link) protected void
addProcessToExec
(String name, AbstractProcess component) getComponent
(String name) Gets the component with the given nameGets the list of componentsGets the list of connectionsint
Returns number of componentsint
Returns number of connectionsgetQName()
void
setExecutableImpl
(IProcessExec processExec) This method handles the case of making an already built SensorML aggregate process executable, hence it is not valid to provide an implementation of IProcessChainExec that already contains child processes and/or connections.toString()
Methods 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, execute, 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, init, isExecutable, isSetConfiguration, isSetDefinition, isSetFeaturesOfInterest, isSetTypeOf, mergePort, mergePortDescriptors, needSync, notifyParamChange, run, setConfiguration, setDefinition, setFeaturesOfInterest, setInstanceName, setParentLogger, setTypeOf, start, start, stop
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, getGeometry, getGeometryProperty, hashCode, isSetBoundedBy, isSetGeometry, setBoundedByAsEnvelope, setGeometry
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, setGeometry
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
getGeometry, getId, getProperties, getUniqueIdentifier, getValidTime, hasCustomGeomProperty, hasCustomTimeProperty
Methods inherited from interface org.vast.util.IResource
getDescription, getName
-
Field Details
-
components
-
connections
-
-
Constructor Details
-
AggregateProcessImpl
public AggregateProcessImpl()
-
-
Method Details
-
getQName
-
setExecutableImpl
This method handles the case of making an already built SensorML aggregate process executable, hence it is not valid to provide an implementation of IProcessChainExec that already contains child processes and/or connections.- Overrides:
setExecutableImpl
in classAbstractProcessImpl
- Parameters:
processExec
-- Throws:
ProcessException
-
addConnection
-
toString
- Overrides:
toString
in classAbstractProcessImpl
-
getComponentList
Gets the list of components- Specified by:
getComponentList
in interfaceAggregateProcess
-
getNumComponents
public int getNumComponents()Returns number of components- Specified by:
getNumComponents
in interfaceAggregateProcess
-
getComponent
Gets the component with the given name- Specified by:
getComponent
in interfaceAggregateProcess
-
addComponent
Adds a new component- Specified by:
addComponent
in interfaceAggregateProcess
-
addProcessToExec
-
getConnectionList
Gets the list of connections- Specified by:
getConnectionList
in interfaceAggregateProcess
-
getNumConnections
public int getNumConnections()Returns number of connections- Specified by:
getNumConnections
in interfaceAggregateProcess
-
addConnection
Adds a new connection- Specified by:
addConnection
in interfaceAggregateProcess
-
addConnectionToExec
-