Class BasicConfigurationPropertyModel.InternalProperty<T>
java.lang.Object
com.inductiveautomation.ignition.common.config.BasicConfigurationPropertyModel.InternalProperty<T>
- All Implemented Interfaces:
- BasicConfigurationPropertyModel.RankedProperty,- Serializable
- Enclosing class:
- BasicConfigurationPropertyModel
protected class BasicConfigurationPropertyModel.InternalProperty<T>
extends Object
implements Serializable, BasicConfigurationPropertyModel.RankedProperty
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected classprotected classprotected class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDependantProperty(T value, BasicConfigurationPropertyModel.InternalProperty<?> property) voidReturns the specified allowed values first, then the implicit values if keyed models are registered, otherwise empty optional.voidvoidgetEditableProperties(PropertySet config, Set<BasicConfigurationPropertyModel.RankedProperty> retValues, Set<BasicConfigurationPropertyModel.InternalProperty<?>> visited) intgetRank()booleanisApplicable(PropertySet config) Return true if this property is applicable for the config.protected booleanisChildApplicable(PropertySet config, BasicConfigurationPropertyModel.InternalProperty<?> prop) This is for checking dependencies from the bottom up.booleanbooleanbooleanvoidprotected voidvoidregisterAllowedValues(List<T> values) voidremoveDependantProperties(T value) voidsetAllowedValues(List<T> values) voidsetCustomizable(boolean customizable) voidtoString()
- 
Constructor Details- 
InternalProperty
 
- 
- 
Method Details- 
getProperty- Specified by:
- getPropertyin interface- BasicConfigurationPropertyModel.RankedProperty
 
- 
getRankpublic int getRank()- Specified by:
- getRankin interface- BasicConfigurationPropertyModel.RankedProperty
 
- 
isImmutablepublic boolean isImmutable()
- 
markImmutablepublic void markImmutable()
- 
setCustomizablepublic void setCustomizable(boolean customizable) 
- 
isCustomizablepublic boolean isCustomizable()
- 
dependentOn
- 
isDependantpublic boolean isDependant()
- 
mergeTo
- 
getAllowedValuesReturns the specified allowed values first, then the implicit values if keyed models are registered, otherwise empty optional.
- 
setAllowedValues
- 
registerAllowedValues
- 
setResourceValueSource
- 
getEditablePropertiespublic void getEditableProperties(PropertySet config, Set<BasicConfigurationPropertyModel.RankedProperty> retValues, Set<BasicConfigurationPropertyModel.InternalProperty<?>> visited) 
- 
getDependantProperties
- 
addDependantPropertypublic void addDependantProperty(T value, BasicConfigurationPropertyModel.InternalProperty<?> property) 
- 
removeDependantProperties
- 
isApplicableReturn true if this property is applicable for the config.
- 
isChildApplicableprotected boolean isChildApplicable(PropertySet config, BasicConfigurationPropertyModel.InternalProperty<?> prop) This is for checking dependencies from the bottom up. In order for a prop to be valid, its parent must have it as a valid dependency. For that to be true, it must be in the set of props for the current value of the parent prop.
- 
toString
 
-