DOFObjectID is the common representation for all DOF object identifiers.
Inheritance Hierarchy
org.opendof.core.oalDOFObjectID
org.opendof.core.oalDOFObjectIDAuthentication
org.opendof.core.oalDOFObjectIDDomain
org.opendof.core.oalDOFObjectIDSource
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
[SerializableAttribute] public class DOFObjectID : DOFValue, IComparable<DOFObjectID>, DOFImmutable
The DOFObjectID type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DOFObjectID(BufferedPacket) | Create an object identifier instance from serial form. | |
| DOFObjectID(Int32, Byte, IDictionaryByte, DOFObjectIDAttribute) | Construct a new object identifier. |
Methods
| Name | Description | |
|---|---|---|
| CompareTo | Compare against another DOFObjectID. | |
| create(Byte) | Create an DOFObjectID from a byte[] of data. | |
| create(String) | Constructs a DOFObjectID from a String in the standard string format defined by the OpenDOF Technical Committee.
| |
| create(Byte, Int32) | Create an DOFObjectID from a byte[] of data at an offset. | |
| create(DOFObjectID, DOFObjectIDAttribute) | Create a DOFObjectID, with a variable number of attributes, using an object identifier and zero or more attributes.
| |
| create(DOFObjectID, IListDOFObjectIDAttribute) | Create a DOFObjectID with a list of attributes, using an object identifier and attributes.
| |
| create(Int32, Byte, DOFObjectIDAttribute) | Create a DOFObjectID given its class, byte data and optionally attributes.
| |
| create(Int32, Byte, IListDOFObjectIDAttribute) | Create a DOFObjectID given its class, byte data and attributes. | |
| create(DOFMarshalContext, Object, DOFPacket) | Create a DOFObjectID from serial form. | |
| Equals | (Overrides ObjectEquals(Object).) | |
| equalsIgnoreAttributes | Compare against another DOFObjectID. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| getAttribute | Get the specified attribute. | |
| getAttributes | Get this identifier's list of attributes. | |
| getBase | Get this object identifier without any attributes. | |
| getBytes | Get the binary form of this DOFObjectID. | |
| getData | Get the data associated with the base ID (the ID without attributes). | |
| getDataString | Return a string format of the base (the ID without attributes) data of the object identifier.
| |
| getDOFType | ||
| GetHashCode | (Overrides ObjectGetHashCode.) | |
| getIDClass | Get the class of this DOFObjectID. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| hasAttribute | Check if this DOFObjectID has a specific attribute type. | |
| hasAttributes | Check if this DOFObjectID has any attributes. | |
| isBroadcast | Determine if this DOFObjectID is the broadcast oid without attributes. | |
| isCompatibleWith | ||
| isMulticast | Determine if this DOFObjectID is a multicast oid (broadcast with the Group attribute).
| |
| isUnicast | Determine if this DOFObjectID is unicast, meaning it doesn't use CLASS_BROADCAST.
| |
| marshal | ||
| matchesAtLeast | Compare against another DOFObjectID. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| toStandardString | Get the identifier in a standardized string format. | |
| ToString | Get the identifier in a standardized string format. (Overrides ObjectToString.) |
Fields
| Name | Description | |
|---|---|---|
| ALL_OBJECTS | The broadcast (wildcard) object identifier. | |
| attributeMap | The oid's attributes. | |
| BROADCAST | The broadcast (wildcard) object identifier. | |
| CLASS_AS | The Authentication Server (AS) assigned object identifier class. | |
| CLASS_AWS_RESOURCE_ID | The AWS Resource ID object identifier class. | |
| CLASS_BROADCAST | The Broadcast object identifier class. | |
| CLASS_DOMAIN | ||
| CLASS_EMAIL | ||
| CLASS_EUI48 | The EUI-48 object identifier class. | |
| CLASS_EUI64 | The EUI-64 object identifier class. | |
| CLASS_GUID | The GUID object identifier class. | |
| CLASS_HIDLC | The HiDLC object identifier class. | |
| CLASS_IPV4 | The IPv4 Address object identifier class. | |
| CLASS_IPV6 | The IPv6 Address object identifier class. | |
| CLASS_LODLC | The LoDLC object identifier class. | |
| CLASS_MAC | The Mac Address object identifier class. | |
| CLASS_ODP | The OpenDOF Project assigned object identifier class. | |
| CLASS_SMART_ENERGY_SYSTEM_SERIAL_NUMBER | The Smart Energy System Serial Number object identifier class. | |
| data | The oid's data. | |
| DOMAIN_BROADCAST | The broadcast domain object identifier. | |
| hashCode_Renamed | The oid's hashCode. | |
| idClass | The oid's class id. | |
| TYPE | This is the default type for all object identifiers. |
Remarks
See Also