public interface VariableModel
Provides methods that returns the variables that currently are registered in the system. A variable is registered if it has been stored in a DataModel
instance or used for the configuration of a built-in PolyScope program node.
Modifier and Type | Method and Description |
---|---|
Collection<Variable> |
get(Filter<Variable> filter)
Get a subset of all the variables registered in the system using a filter.
|
Collection<Variable> |
getAll() |
FeatureVariable |
getFeatureVariable(Feature feature)
Get the feature variable for a
Feature |
VariableFactory |
getVariableFactory() |
Collection<Variable> getAll()
Collection<Variable> get(Filter<Variable> filter)
filter
- see VariableFilterFactory
for examplesVariableFactory getVariableFactory()
VariableFactory
to create variable objectsFeatureVariable getFeatureVariable(Feature feature)
Feature
feature
- the feature with a variableIllegalArgumentException
- If feature not is present in the installation
or feature has no variable, see Feature.isVariable()
Copyright © 2018. All rights reserved.