public class AttributesUtil extends Object
| Constructor and Description |
|---|
AttributesUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Set<UnsignedInteger> |
getSupportedAttributes(NodeClass nodeClass)
Returns a Set of valid AttributeIds for the given NodeClass.
|
static EnumSet<AttributeWriteMask.Options> |
getSupportedWriteAccess(UnsignedInteger... attributeIds)
Return an new
EnumSet of AttributeWriteMask.Options for the given attribute
ids. |
static boolean |
hasAccessToAttribute(AttributeWriteMask mask,
UnsignedInteger attributeId)
Returns true if the given mask indicates that the given Attribute Id is writeable.
|
static boolean |
isValid(NodeClass nodeClass,
UnsignedInteger attributeId)
Checks if a given NodeClass contains the given AttributeId.
|
static boolean |
isValid(UnsignedInteger attributeId)
Returns true if the given Attribute Id is a known Attribute Id.
|
static String |
toString(UnsignedInteger attributeId)
Returns a String matching the given Attribute Id value.
|
public static Set<UnsignedInteger> getSupportedAttributes(NodeClass nodeClass)
public static EnumSet<AttributeWriteMask.Options> getSupportedWriteAccess(UnsignedInteger... attributeIds)
EnumSet of AttributeWriteMask.Options for the given attribute
ids.public static boolean hasAccessToAttribute(AttributeWriteMask mask, UnsignedInteger attributeId)
public static boolean isValid(NodeClass nodeClass, UnsignedInteger attributeId)
nodeClass - the given NodeClassattributeId - the given AttributeId, typically via Attributes constants.public static boolean isValid(UnsignedInteger attributeId)
public static String toString(UnsignedInteger attributeId)
Copyright © 2026. All rights reserved.