public interface VariableModel
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 examples.VariableFactory getVariableFactory()
VariableFactory
to create variable objects.FeatureVariable getFeatureVariable(Feature feature)
Feature
.feature
- the feature with a variable.IllegalArgumentException
- If feature not is present in the installation or feature has no variable,
see Feature.isVariable()
.Copyright © 2020. All rights reserved.