Class BasicConfigurationPropertyModel.InternalProperty<T>
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.config.BasicConfigurationPropertyModel.InternalProperty<T>
 
- 
- All Implemented Interfaces:
- BasicConfigurationPropertyModel.RankedProperty,- java.io.Serializable
 - Enclosing class:
- BasicConfigurationPropertyModel
 
 protected class BasicConfigurationPropertyModel.InternalProperty<T> extends java.lang.Object implements java.io.Serializable, BasicConfigurationPropertyModel.RankedProperty - See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected classBasicConfigurationPropertyModel.InternalProperty.ListValueSourceprotected classBasicConfigurationPropertyModel.InternalProperty.ResourceValueSourceprotected classBasicConfigurationPropertyModel.InternalProperty.ValueSource
 - 
Constructor SummaryConstructors Constructor Description InternalProperty(Property<T> prop)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDependantProperty(T value, BasicConfigurationPropertyModel.InternalProperty<?> property)voiddependentOn(BasicConfigurationPropertyModel.InternalProperty<?> p)java.util.Optional<java.util.Collection<T>>getAllowedValues()Returns the specified allowed values first, then the implicit values if keyed models are registered, otherwise empty optional.voidgetDependantProperties(java.util.Set<BasicConfigurationPropertyModel.InternalProperty<?>> retVal)voidgetEditableProperties(PropertySet config, java.util.Set<BasicConfigurationPropertyModel.RankedProperty> retValues, java.util.Set<BasicConfigurationPropertyModel.InternalProperty<?>> visited)Property<T>getProperty()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.booleanisCustomizable()booleanisDependant()booleanisImmutable()voidmarkImmutable()protected voidmergeTo(MutableConfigurationPropertyModel target)voidregisterAllowedValues(java.util.List<T> values)voidremoveDependantProperties(T value)voidsetAllowedValues(java.util.List<T> values)voidsetCustomizable(boolean customizable)voidsetResourceValueSource(java.lang.String id)java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
getPropertypublic Property<T> 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() 
 - 
dependentOnpublic void dependentOn(BasicConfigurationPropertyModel.InternalProperty<?> p) 
 - 
isDependantpublic boolean isDependant() 
 - 
mergeToprotected void mergeTo(MutableConfigurationPropertyModel target) 
 - 
getAllowedValuespublic java.util.Optional<java.util.Collection<T>> getAllowedValues() Returns the specified allowed values first, then the implicit values if keyed models are registered, otherwise empty optional.
 - 
setAllowedValuespublic void setAllowedValues(java.util.List<T> values) 
 - 
registerAllowedValuespublic void registerAllowedValues(java.util.List<T> values) 
 - 
setResourceValueSourcepublic void setResourceValueSource(java.lang.String id) 
 - 
getEditablePropertiespublic void getEditableProperties(PropertySet config, java.util.Set<BasicConfigurationPropertyModel.RankedProperty> retValues, java.util.Set<BasicConfigurationPropertyModel.InternalProperty<?>> visited) 
 - 
getDependantPropertiespublic void getDependantProperties(java.util.Set<BasicConfigurationPropertyModel.InternalProperty<?>> retVal) 
 - 
addDependantPropertypublic void addDependantProperty(T value, BasicConfigurationPropertyModel.InternalProperty<?> property) 
 - 
removeDependantPropertiespublic void removeDependantProperties(T value) 
 - 
isApplicablepublic boolean isApplicable(PropertySet config) Return 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.
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-