Template:- OASIS:Identification

The Identification template describes how to represent the identification of an object. An identifier, of a particular type, uniquely identifies the object within a given identifier context. For example, a part number is unique for the organization making the part.

NOTE    A Name template is also provided. This is used to represent the name of an object, where a name is cue to a user to help identify or classify the object. The name may not be unique and may change with the language used. Hence should not be used as an identifier.

Each object that can be identified inherits from IdentifiableObject and inherits the attribute identifications which references the Identification object that holds the identification string.

If the organization that provided or owns the identifier is known then the Identification must be identified in the context of that organization. If the organization is not known, then do not provide a context for the identifier.

The type or role of the identifier is provided by assigning reference data to the Identification and thereby, classifying the Identification assignment as a sub class of http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/plcs/plcs-psm/refdata/plcs-psm#Identifier.

The SysML Block Definition diagram in Figure 1 shows how Identification is represented in the PLCS PSM.

Template Properties

The following SysML Part, Reference, and Value properties are defined for this template:

References:
role [1] (Block: Ap239Ap233Psm:ClassSelect)
The reference to the class used to classify the identifier (Identification.id) and so provide the role or reason for the identification.
The reference data used in Block: Ap239Ap233Psm:ClassSelect is restricted as follows:
RDL constraint 1:
The reference data for:
ExternalOwlClass.class
is restricted to the following class or a subclass:
context [1] (Block: Ap239Ap233Psm:IdentificationContextSelect)
The context within which the identifier is unique. Typically an organization that "owns" the identifier.
Parts:
classifiedAs [0..*] (Template: OASIS:Classifier)
Additional classification of the identifier
The reference data used in Template: OASIS:Classifier is restricted as follows:
RDL constraint 1:
The reference data for:
OASIS:Classifier.class -> ExternalOwlClass.class
is restricted to classes that are subclasses of the following class:
Values:
id [1] (Block: Ap239Ap233Psm:IdentifierString)
The identifier being assigned.
startDate [0..1] (Block: Ap239Ap233Psm:DateTimeString)
The date from which the identifier is effective

The following constraint, normally a uniqueness constraint, is applicable when instantiating the DateTimeString:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: XSDDATETIME
Specification: (OCL2.0)
self.matches('[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z')
endDate [0..1] (Block: Ap239Ap233Psm:DateTimeString)
The date from which the identifier is no longer effective

The following constraint, normally a uniqueness constraint, is applicable when instantiating the DateTimeString:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: XSDDATETIME
Specification: (OCL2.0)
self.matches('[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z')