public class AttributeUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
INTERFACE_ATTRIBUTE_TYPE
The type interface attribute type value.
|
| Constructor and Description |
|---|
AttributeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.opendof.core.oal.DOFObjectID |
getIDWithInterfaceAttribute(org.opendof.core.oal.DOFObjectID objectID,
org.opendof.core.oal.DOFInterfaceID interfaceID)
Get a
DOFObjectID with the specified interfaceID added as an attribute. |
static org.opendof.core.oal.DOFObjectID |
getIDWithoutInterfaceAttribute(org.opendof.core.oal.DOFObjectID objectID)
Get a
DOFObjectID without an interface attribute. |
static org.opendof.core.oal.DOFObjectID |
getIDWithoutProviderAttribute(org.opendof.core.oal.DOFObjectID objectID)
Get a
DOFObjectID without a provider attribute. |
static org.opendof.core.oal.DOFObjectID |
getIDWithProviderAttribute(org.opendof.core.oal.DOFObjectID objectID,
org.opendof.core.oal.DOFObjectID attribute)
Get a
DOFObjectID with the specified attribute added. |
static org.opendof.core.oal.DOFInterfaceID |
getIIDFromObjectAttribute(org.opendof.core.oal.DOFObjectID objectID)
Gets the
DOFInterfaceID from a DOFObjectID with an interface attribute. |
public static final byte INTERFACE_ATTRIBUTE_TYPE
public static org.opendof.core.oal.DOFObjectID getIDWithInterfaceAttribute(org.opendof.core.oal.DOFObjectID objectID,
org.opendof.core.oal.DOFInterfaceID interfaceID)
DOFObjectID with the specified interfaceID added as an attribute.objectID - The starting DOFObjectID. Any existing non-interface attributes will be
included in the final DOFObjectID.interfaceID - The interfaceID to be added to objectID as an attribute.DOFObjectID with the added attribute.public static org.opendof.core.oal.DOFObjectID getIDWithoutInterfaceAttribute(org.opendof.core.oal.DOFObjectID objectID)
DOFObjectID without an interface attribute.objectID - The starting DOFObjectID. Any existing non-interface attributes will be
included in the final DOFObjectID.DOFObjectID without the interface attribute.public static org.opendof.core.oal.DOFObjectID getIDWithProviderAttribute(org.opendof.core.oal.DOFObjectID objectID,
org.opendof.core.oal.DOFObjectID attribute)
DOFObjectID with the specified attribute added.objectID - The starting DOFObjectID. Any existing non-provider attributes will be
included in the final DOFObjectID.attribute - The attribute to be added to objectID.DOFObjectID with the added attribute.public static org.opendof.core.oal.DOFObjectID getIDWithoutProviderAttribute(org.opendof.core.oal.DOFObjectID objectID)
DOFObjectID without a provider attribute.objectID - The starting DOFObjectID. Any existing non-provider attributes will be
included in the final DOFObjectID.DOFObjectID without the interface attribute.public static org.opendof.core.oal.DOFInterfaceID getIIDFromObjectAttribute(org.opendof.core.oal.DOFObjectID objectID)
DOFInterfaceID from a DOFObjectID with an interface attribute.objectID - The DOFObjectID containing a interface attribute.DOFInterfaceID from the interface attribute. May be null if objectID does
not contain an interface attribute.