Template: SwedishDefence:TransportAndStorageInformation

This section specifies the template TransportAndStorageInformation.

The specification comprises a SysML Block that represents the template and an associated Parametric Diagram that defines the templates and PLCS PSMTemplate objects instantiated by the TransportAndStorageInformation template.

The specification comprises the following sections:

NOTE    An explanation of a template and its specification is provided in the Template overview

The template describes how to represent transportation and storage information related to an ItemOfSupplyDefinition.

No templates have been explicitly defined as being related to the TransportAndStorageInformation template.

NOTE    The TransportAndStorageInformation template may make reference to other templates as part of the Parametric Diagram. These are not listed here.

Figure 1 shows the SysML Block that represents the template. The Block is an abstraction representing a pattern of templates and PLCS PSMTemplate objects.

The properties, i.e. the SysML Block Part, Reference and Value properties, of the template's SysML Block are described in the Template Properties section.

The output ports shown on the template's SysML Block are described in the template output ports section.

The SysML Parametric diagrams for the template Block are shown in template parametric diagram section.

Figure 1 -  Template block definition diagram for TransportAndStorageInformation

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

References:
itemOfSupplyDefinition [1] (Template: SwedishDefence:ItemOfSupplyDefinition)
Reference to the Item of Supply Definition in focus.
Parts:
Ytterförpackning [0..1] (ValueType: ExternalOwlClass)
Anger typ av förpackning.
The reference data used is restricted to the following set:
Enhetsort [0..1] (ValueType: ExternalOwlObject)
Anger enhet/sort i förpackningen.
The reference data used is restricted to the following set:
Enhetsmängd [0..1] (Template: OASIS:PropertyValueNumeric)
Anger antal ingående enheter i förpackningen.
The reference data used in Template: OASIS:PropertyValueNumeric is restricted as follows:
RDL constraint 1:
Enhetsmängd constraint
The reference data for:
OASIS:PropertyValueNumeric.classifier -> ExternalOwlClass.class
is restricted to the following class or a subclass:
RDL constraint 2:
Enhetsmängd constraint
The reference data for:
OASIS:PropertyValueNumeric.unit -> ExternalOwlObject.individual
is restricted to the following individual:
RDL constraint 3:
Enhetsmängd constraint
The reference data for:
OASIS:PropertyValueNumeric.property -> ExternalOwlObject.individual
is restricted to the following individual:
AntalPerEnhetslast [0..1] (Template: OASIS:PropertyValueNumeric)
Anger det antal enheter som ingår i en enhetslast.
The reference data used in Template: OASIS:PropertyValueNumeric is restricted as follows:
RDL constraint 1:
Antal per enhetslast constraint
The reference data for:
OASIS:PropertyValueNumeric.classifier -> ExternalOwlClass.class
is restricted to the following class or a subclass:
RDL constraint 2:
Antal per enhetslast constraint
The reference data for:
OASIS:PropertyValueNumeric.unit -> ExternalOwlObject.individual
is restricted to the following individual:
RDL constraint 3:
Antal per enhetslast constraint
The reference data for:
OASIS:PropertyValueNumeric.property -> ExternalOwlObject.individual
is restricted to the following individual:
ViktPerEnhetslast [0..1] (Template: OASIS:PropertyValueNumeric)
Anger enhetslastens vikt i ton med två decimaler.
The reference data used in Template: OASIS:PropertyValueNumeric is restricted as follows:
RDL constraint 1:
Vikt per enhetslast constraint
The reference data for:
OASIS:PropertyValueNumeric.classifier -> ExternalOwlClass.class
is restricted to the following class or a subclass:
RDL constraint 2:
Vikt per enhetslast constraint
The reference data for:
OASIS:PropertyValueNumeric.unit -> ExternalOwlObject.individual
is restricted to the following individual:
RDL constraint 3:
Vikt per enhetslastt constraint
The reference data for:
OASIS:PropertyValueNumeric.property -> ExternalOwlObject.individual
is restricted to the following individual:
UNKod [0..1] (Template: OASIS:Descriptor)
Den klassificering som artikeln har i UN Recommendation on Transport of Dangerous Goods Model Regulation. Uppgiften hämtas ur Tabell A ADR-S kolumn D (3b) för respektive UN-nummer.
The reference data used in Template: OASIS:Descriptor is restricted as follows:
RDL constraint 1:
UN Kod constraint
The reference data for:
OASIS:Descriptor.classifier -> ExternalOwlClass.class
is restricted to the following class or a subclass:
UNNummer1 [0..1] (Template: OASIS:Descriptor)
Fyrställigt identifierings nr enligt UN Recommendation on Transport of Dangerous Goods Model Regulation.
The reference data used in Template: OASIS:Descriptor is restricted as follows:
RDL constraint 1:
UN Nummer 1 constraint
The reference data for:
OASIS:Descriptor.classifier -> ExternalOwlClass.class
is restricted to the following class or a subclass:
Values:
Delförpackning [0..1] (Real)
Anger delmängd som ingår i förpackningen. Ingår i termnr 145.

The following output ports are defined for this template:

psmCollection (Block: Ap239Ap233Psm:Collection)
Enables the Block: Ap239Ap233Psm:Collection instantiated by this template to be referenced when the template is used.

There are no constraints defined for this template.

This section describes the template's Parametric Diagram. The diagram details the pattern of templates and PLCS PSMTemplate objects that are required to represent the template TransportAndStorageInformation.

The public properties, i.e. those visible in the template's SysML block (See Figure 1) are shown on the left of a Parametric Diagram.

NOTE    Restrictions on the reference data to be set on the public properties is defined in the Template Properties section.

The output ports are shown on the right of a Parametric Diagram.

PLCS PSM objects are shaded khaki and Templates are shaded light green in a Parametric Diagram.

Figure 2 -  Parametric diagram for TransportAndStorageInformation

The following blocks are instantiated by this template and bound to private parts of the template as shown in the Parametric Diagram section:

Private Part Property:DelförpackningPVN [0..1] (Template: OASIS:PropertyValueNumeric)
Private Reference Property:individualAmountOfSubstance [1] (Block: Ap239Ap233Psm:ExternalOwlObject)

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

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlObject::allInstances()->isUnique(individual)
Private Part Property:DELFÖRPclass [0..1] (Template: OASIS:Classifier)
Private Reference Property:classDELFÖRP [1] (Block: Ap239Ap233Psm:ExternalOwlClass)

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

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlClass::allInstances()->isUnique(class)
Private Part Property:transportCollection [1] (Template: OASIS:Collection)
Private Part Property:transportationInfoIdentifier [1] (Template: OASIS:Identification)
Private Part Property:itemOfSupplyDefinitionStcokItem [1] (Template: OASIS:StockItem)
Private Reference Property:classTransportationInfoIdentifier [1] (Block: Ap239Ap233Psm:ExternalOwlClass)

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

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlClass::allInstances()->isUnique(class)
Private Part Property:ytterförpClass [0..1] (Template: OASIS:Classifier)
Private Part Property:förvaringClass [1] (Template: OASIS:Classifier)
Private Part Property:combineClassifiers [1] (Constraint Block: OASIS:Classifier:CombineClassifiers)
Private Part Property:CombineDescriptors [1] (Constraint Block: OASIS:Descriptor:CombineDescriptors)
Private Part Property:antalAsg [0..1] (Block: Ap239Ap233Psm:PropertyValueAssignment)
Private Part Property:enhetsMängdPva [0..1] (Block: Ap239Ap233Psm:PropertyValueAssignment)
Private Part Property:viktPVA [0..1] (Block: Ap239Ap233Psm:PropertyValueAssignment)
Private Part Property:delförpPva [0..1] (Block: Ap239Ap233Psm:PropertyValueAssignment)
Private Part Property:antalClass [0..1] (Template: OASIS:Classifier)
Private Reference Property:classTransportationInfoIdentifier1 [1] (Block: Ap239Ap233Psm:ExternalOwlClass)

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

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlClass::allInstances()->isUnique(class)
Private Part Property:enhetsMängdClass [0..1] (Template: OASIS:Classifier)
Private Reference Property:classTransportationInfoIdentifier2 [1] (Block: Ap239Ap233Psm:ExternalOwlClass)

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

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlClass::allInstances()->isUnique(class)
Private Part Property:viktClass [0..1] (Template: OASIS:Classifier)
Private Reference Property:classEnhVikt [1] (Block: Ap239Ap233Psm:ExternalOwlClass)

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

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlClass::allInstances()->isUnique(class)
Private Part Property:delförpClass [0..1] (Template: OASIS:Classifier)
Private Reference Property:classDelförp [1] (Block: Ap239Ap233Psm:ExternalOwlClass)

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

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlClass::allInstances()->isUnique(class)
Private Part Property:combineMembers [1] (Constraint Block: OASIS:Collection:CombineMembers)
Private Part Property:combineMembers1 [1] (Constraint Block: OASIS:Collection:CombineMembers)

Figure 3 shows the instances that have been instantiated in the template. These are used to set the default value of blocks.

Instance diagram
Figure 3 -  Model instance diagram for TransportAndStorageInformation

The following instances have been created:

classTransportInfoIdentifier instance of Block: Ap239Ap233Psm:ExternalOwlClass.
ExternalOwlClass.class = http://plcs.fmv.se/rd/SwedishDefence-ItemDefinitionBasicData-sv#transportationAndStorageInformationIdentifier

There are no constraint blocks defined in this template.

No example data sets have been provided for this Template.

Issue reporting