Template: SwedishDefence:Publication

This section specifies the template Publication.

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 Publication template.

The specification comprises the following sections:

NOTE    An explanation of a template and its specification is provided in the Template overview
The Publication template describes how to represent a publication concerning some materiel that is relevant for the Swedish Defence.

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

NOTE    The Publication 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 Publication

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

References:
publicationConcernsEndItem [0..*] (Template: SwedishDefence:ItemDefinition)
The item definition which the publication concerns.
externalPublication [0..*] (Template: SwedishDefence:PartDefinition)
The part definition that constitutes an external publication.
defencePublication [0..1] (Template: SwedishDefence:ItemOfSupplyDefinition)
The item of supply that constitutes a defence publication.
publicationCreatedBy [0..1] (Template: SwedishDefence:ExternalActor)
The organization or person in organization that created the publication or publication edition.
dataFile [0..1] (Block: Ap239Ap233Psm:DigitalFile)
Every Publication corresponds to a specific electronic file often produced with XML language (e.g. if s1000d) - the source making it possible to structure and identify individual information contained in the Publication itself.
Parts:
publicationId [1] (Template: OASIS:Identification)
Identifier of a publication.
The reference data used in Template: OASIS:Identification is restricted as follows:
RDL constraint 1:
publicationId constraint
The reference data for:
OASIS:Identification.role -> ExternalOwlClass.class
is restricted to the following class or a subclass:
publicationSecurityClassification [0..1] (ValueType: ExternalOwlObject)
The security level of a publication.
publicationEditionId [1] (Template: OASIS:Identification)
Identifier of a specific version of a publication.
The reference data used in Template: OASIS:Identification is restricted as follows:
RDL constraint 1:
publicationEditionId constraint
The reference data for:
OASIS:Identification.role -> ExternalOwlClass.class
is restricted to the following class or a subclass:
publicationDescription [1] (Template: OASIS:Descriptor)
Description of the contents of the publication.
The reference data used in Template: OASIS:Descriptor is restricted as follows:
RDL constraint 1:
publicationDescription constraint
The reference data for:
OASIS:Descriptor.classifiedAs -> ExternalOwlClass.class
is restricted to the following class or a subclass:
publicationTitle [1] (Template: OASIS:Descriptor)
Title of the publication.
The reference data used in Template: OASIS:Descriptor is restricted as follows:
RDL constraint 1:
publicationTitle constraint
The reference data for:
OASIS:Descriptor.classifiedAs -> ExternalOwlClass.class
is restricted to the following class or a subclass:
publicationLanguageCode [1] (Template: OASIS:Descriptor)
The language in which the content of a publication is expressed. Language code according to ISO 639-2 and country code as specified in ISO 3166-1.
Values:
publicationDate [0..1] (Block: Ap239Ap233Psm:DateTimeString)
Date of publication.

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

The following output ports are defined for this template:

OASISdocument (Template: OASIS:Document)
Enables the Template: OASIS:Document instantiated by this template to be referenced when the template is used.
PSMdocument (Block: Ap239Ap233Psm:Document)
Enables the Block: Ap239Ap233Psm:Document instantiated by this template to be referenced when the template is used.
PSMdocumentVersion (Block: Ap239Ap233Psm:DocumentVersion)
Enables the Block: Ap239Ap233Psm:DocumentVersion instantiated by this template to be referenced when the template is used.
PSMdocumentDefinition (Block: Ap239Ap233Psm:DocumentDefinition)
Enables the Block: Ap239Ap233Psm:DocumentDefinition 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 Publication.

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 -  Publication

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:endItemAsg [0..*] (Block: Ap239Ap233Psm:DocumentAssignment)
Private Part Property:publicationConcernsEndItemClass [0..*] (Template: OASIS:Classifier)
Private Reference Property:classPublicationConcernsEndItem [0..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:defencePublicationAsg [0..1] (Block: Ap239Ap233Psm:DocumentAssignment)
Private Part Property:defencePublicationClass [0..1] (Template: OASIS:Classifier)
Private Reference Property:classDefencePublication [0..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:externalPublicationAsg [0..*] (Block: Ap239Ap233Psm:DocumentAssignment)
Private Part Property:externalPublicationClass [0..*] (Template: OASIS:Classifier)
Private Reference Property:classExternalPublication [0..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:partOrResourceItem [1] ( Constraint Block: SwedishDefence:Publication:PartVersionOrResourceItem)
Private Part Property:publication [1] (Template: OASIS:Document)
Private Part Property:secClassAsg [0..1] (Block: Ap239Ap233Psm:SecurityClassificationAssignment)
Private Part Property:securityClass [0..1] (Block: Ap239Ap233Psm:SecurityClassification)
Private Part Property:pubStausAsg [1] (Block: Ap239Ap233Psm:StateAssignment)
Private Part Property:pubStatusAss [1] (Template: OASIS:StateAssertion)
Private Part Property:publicationClass [1..*] (Template: OASIS:Classifier)
Private Part Property:combineTitleAndDescription [1] (Constraint Block: OASIS:Descriptor:CombineDescriptors)
Private Part Property:publicationDateAsg [0..1] (Block: Ap239Ap233Psm:DateTimeAssignment)
Private Part Property:publicationDateClass [0..1] (Template: OASIS:Classifier)
Private Reference Property:classPublicationDate [0..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:createdByAsgn [0..1] (Block: Ap239Ap233Psm:OrganizationOrPersonInOrganizationAssignment)
Private Reference Property:classActualCreator [0..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:creatorClass [0..1] (Template: OASIS:Classifier)

There are no instances that have been instantiated in this template.

Figure 3 shows the constraint blocks that have been created in the template.

Constraint Blocks are typically used to combine blocks into a collection that can then be bound to a property. For example, combining a set of identifications that can then be bound to property of type Identification.

Constraints diagram
Figure 3 -  Constraint block diagram for Publication

The following constraint blocks have been created:

Constraint: PartVersionOrResourceItem
Specification: (OCL2.0)
assigned = if not resourceItem.oclIsUndefined() then resourceItem else partVersion endif
N/A

No example data sets have been provided for this Template.

Issue reporting