Create a DOFObjectID, with a variable number of attributes, using an object identifier and zero or more attributes.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public static DOFObjectID create( DOFObjectID objectID, params DOFObjectIDAttribute[] attributes )
Parameters
- objectID
- Type: org.opendof.core.oalDOFObjectID
The object identifier to add the attribute to. This must not be null. - attributes
- Type: org.opendof.core.oalDOFObjectIDAttribute
The attributes for the identifier. List must only contain one attribute of each type. Passing in no attributes results in an object identifier that is no different than the input. An object ID can have a maximum of 128 attributes.
Return Value
Type: DOFObjectIDThe newly created object identifier.
Remarks
See Also