DOFObjectIDAttribute ClassOpenDOF Object Access Library
The Attribute class is used to add attributes to a DOFObjectID.
Inheritance Hierarchy

SystemObject
  org.opendof.core.oalDOFObjectIDAttribute

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
[SerializableAttribute]
public sealed class Attribute : IComparable<DOFObjectIDAttribute>, 
	DOFImmutable

The DOFObjectIDAttribute type exposes the following members.

Methods

  NameDescription
Public methodCompareTo
Public methodStatic membercreate(Byte, DOFObjectID)
Construct an attribute using a DOFObjectID.
Public methodStatic membercreate(Byte, Byte)
Construct an attribute using binary data.
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodgetType
Get the type of the attribute.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodgetValue
Get the data associated with this attribute.
Public methodgetValueObjectID
Return the DOFObjectID associated with this attribute, or null if the content is not an object identifier.
Public methodtoStandardString
Convert an attribute to its standardized text form.
Public methodToString
Convert an attribute to its standardized text form.
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldStatic memberBINDING_PROVIDER
This Attribute identifies the provider of a binding.
Public fieldStatic memberGROUP
Group attribute.
Public fieldStatic memberMAX_IDENTIFIER
The max attribute identifier.
Public fieldStatic memberPROVIDER
Provider attribute.
Public fieldStatic memberSESSION
Session attribute.
Top
Remarks

The Attribute class is used to add attributes to a DOFObjectID. Attributes are used to add additional information to the object identifier, either to qualify its use or modify the way that the system uses it.

There are a set of attribute types defined by this class, although this is not guaranteed to be exhaustive. Further types may be defined, and this library is flexible enough to allow access to them. However, these kinds of extensions must be registered with the OpenDOF Technical Committee and will be added to the library once approved.

Valid attributes are in the range 0 - 127.

See Also

Reference