Class NodeDescription
java.lang.Object
com.inductiveautomation.ignition.common.tags.browsing.NodeDescription
- All Implemented Interfaces:
PropertyValueSource
,Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Gson serialization and deserialization adapter for NodeBrowseInfo objects.static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
<T> T
Retrieves the value of the property, or null if this set doesn't contain that property.getName()
<T> T
Get the value for a givenProperty
, or else fall back to value if it's not present.Collection<Property<?>>
boolean
newBuilder
(BrowseFilter.Meta meta) static NodeDescription
property
(Property<?> prop, QualifiedValue value) property
(Property<?> prop, QualifiedValue value, NodeDescription.NodeDescriptionBuilder builder) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
getNonNull, getNonNull, getOrDefault, getValues
-
Constructor Details
-
NodeDescription
protected NodeDescription()
-
-
Method Details
-
getBuiltInProperties
-
getName
-
getDataType
-
getCurrentValue
-
getDisplayFormat
-
getTooltip
-
getFullPath
-
getObjectType
-
getSubTypeId
-
getAttributes
-
hasChildren
public boolean hasChildren() -
newBuilder
-
newBuilder
-
getExtendedInfo
-
getProperties
- Specified by:
getProperties
in interfacePropertyValueSource
-
contains
- Specified by:
contains
in interfacePropertyValueSource
- Returns:
- True if the source contains a value for prop.
-
getOrElse
Description copied from interface:PropertyValueSource
Get the value for a givenProperty
, or else fall back to value if it's not present.- Specified by:
getOrElse
in interfacePropertyValueSource
- Parameters:
prop
- TheProperty
for which a value is to be retrieved.value
- The value to default to if property isn't present.- Returns:
- The value of property if present, value if not. Can return null if the value is null.
-
get
Description copied from interface:PropertyValueSource
Retrieves the value of the property, or null if this set doesn't contain that property.- Specified by:
get
in interfacePropertyValueSource
-
toString
-
property
-
property
public static NodeDescription.NodeDescriptionBuilder property(Property<?> prop, QualifiedValue value, NodeDescription.NodeDescriptionBuilder builder)
-