Template:- OASIS:DirectedActivity

The DirectedActivity template describes how to represent an activity that is authorized by a WorkOrder.

The DirectedActivity is one of a set of templates used to represent activities. These are summarized in Figure 1 which shows that the model contains templates for:

The actual templates are:

The SysML Block Definition diagram in Figure 2 shows how a directed activity is represented in the PLCS PSM.

Template Properties

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

References:
methodPlanned [0..1] (Block: Ap239Ap233Psm:ActivityMethod)
the method by which the activity is planned to be undertaken
workOrder [1] (Template: OASIS:WorkOrder)
the WorkOrder authorizes the DirectedActivity
applicableTo [0..*] (Block: Ap239Ap233Psm:ActivityAssignmentSelect)
that which the activity is applicable to
contract [0..*] (Template: OASIS:Contract)
The contract under which the activity is to be performed.
project [0..*] (Template: OASIS:Project)
The project under which the activity is to be performed.
location [0..*] (Block: Ap239Ap233Psm:Location)
The location where the activity is to be performed.
creatorOf [0..*] (Block: Ap239Ap233Psm:OrganizationOrPersonInOrganizationSelect)
the creator or initiator of the planned activity
Parts:
ids [1..*] (Template: OASIS:Identification)
The collection of identifiers of the activity.
The reference data used in Template: OASIS:Identification is restricted as follows:
RDL constraint 1:
The id must be classified as an Activity_identification_code or a subclass thereof.
The reference data for:
OASIS:Identification.role -> ExternalOwlClass.class
is restricted to the following class or a subclass:
classifications [0..*] (Template: OASIS:Classifier)
The classification of the activity.
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 the following class or a subclass:
descriptions [0..*] (Template: OASIS:Descriptor)
the descriptions of the activity
status [0..1] (Template: OASIS:StateAssertion)
the status of the activity
The reference data used in Template: OASIS:StateAssertion is restricted as follows:
RDL constraint 1:
The status is represented subclasses of State_of_activity.
The reference data for:
OASIS:StateAssertion.sameAs -> ExternalOwlObject.individual
is restricted to the following class or a subclass:
names [0..*] (Template: OASIS:Name)
The names of the activity
Values:
plannedStartDate [0..1] (Block: Ap239Ap233Psm:DateTimeString)
the date and time when the activity is planned to start.

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')
plannedEndDate [0..1] (Block: Ap239Ap233Psm:DateTimeString)
the date and time when the activity planned to end.

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')