public class SMLHelper extends SMLFactory
newObservableProperty| Constructor and Description |
|---|
SMLHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyConfig(AbstractProcess process,
Settings settings)
Applies a configuration on a base process
|
static net.opengis.swe.v20.DataComponent |
findComponentByPath(AbstractProcess parent,
String path)
Finds a component in the process/component tree using a path
|
static net.opengis.swe.v20.DataComponent |
findComponentByPath(AbstractProcess parent,
String[] path)
Finds a component in a process/component tree using a path.
Link path format is either '[components/{component_name}/...][inputs|outputs|parameters]/{name}/{name}/... |
static AbstractProcess |
getConfiguredInstance(AbstractProcess process,
boolean mergeMetadata)
Generates a configured instance by copying I/Os definition from parent instance
(if typeOf property is present), and applying configuration settings.
|
static net.opengis.swe.v20.DataComponent |
getIOComponent(net.opengis.swe.v20.AbstractSWEIdentifiable ioDef)
Helper to get the input/output/parameter component description whether
the IO is wrapped in a DataInterface or DataStream or given as a raw
DataComponent.
|
static net.opengis.swe.v20.DataEncoding |
getIOEncoding(net.opengis.swe.v20.AbstractSWEIdentifiable ioDef)
Helper to get the input/output/parameter encoding description whether
the IO is wrapped in a DataInterface or DataStream.
This method returns null if the IO is described as a raw DataComponent. |
static void |
makeProcessExecutable(AbstractProcessImpl process)
Makes a process executable by instantiating and wrapping an implementation of IProcessExec.
The actual implementation is found using the method URI. |
static void |
makeProcessExecutable(AbstractProcessImpl process,
ProcessLoader processLoader) |
CIResponsibleParty |
newResponsibleParty() |
newAbstractMetadataList, newAbstractModes, newAbstractSettings, newAggregateProcess, newArraySetting, newCapabilityList, newCharacteristicList, newClassifierList, newConstraintSetting, newConstraintSetting, newContactList, newDataInterface, newDocumentList, newEvent, newEventList, newFeatureList, newIdentifierList, newKeywordList, newLink, newMode, newModeChoice, newModeSetting, newModeSetting, newObservableProperty, newPhysicalComponent, newPhysicalSystem, newProcessMethod, newSettings, newSimpleProcess, newSpatialFrame, newStatusSetting, newStatusSetting, newTemporalFrame, newTerm, newValueSetting, newValueSettingpublic CIResponsibleParty newResponsibleParty()
public static net.opengis.swe.v20.DataComponent getIOComponent(net.opengis.swe.v20.AbstractSWEIdentifiable ioDef)
ioDef - public static net.opengis.swe.v20.DataEncoding getIOEncoding(net.opengis.swe.v20.AbstractSWEIdentifiable ioDef)
ioDef - public static net.opengis.swe.v20.DataComponent findComponentByPath(AbstractProcess parent, String path) throws SMLException
parent - process from which to start the searchpath - desired path as a String composed of process names, process sections and component names separated by charactersSMLException - if the specified path is incorrectpublic static net.opengis.swe.v20.DataComponent findComponentByPath(AbstractProcess parent, String[] path) throws SMLException
parent - process from which to start the searchpath - desired path as a String array cotnaining a sequence of component namesSMLException - if the specified path is incorrectpublic static void makeProcessExecutable(AbstractProcessImpl process) throws SMLException
process - SMLExceptionpublic static void makeProcessExecutable(AbstractProcessImpl process, ProcessLoader processLoader) throws SMLException
SMLExceptionpublic static AbstractProcess getConfiguredInstance(AbstractProcess process, boolean mergeMetadata) throws SMLException
process - process with typeOf and configuration settingsmergeMetadata - if true, parent metadata will also be copied to the new instanceSMLException - if configuration is invalid or cannot be appliedpublic static void applyConfig(AbstractProcess process, Settings settings) throws SMLException
process - settings - SMLExceptionCopyright © 2016 VAST Team / Sensia Software LLC. All rights reserved.