Format#

Fully qualified enumeration name of the UML model LIB 1.0: LibraryDomainModel::DataTypes::Enumerations::Format

Book item format.

Diagram#

Diagram

Enumeration literals#

Enumeration literals
Enumeration Literals#

Name

Description

Audiobook

AudioCD

Hardcover

MP3CD

Paperback

PDF

Usage#

Usage
Usage#

Type

Package

Classifier

Attribute

Class

Classes

BookItem

format

Encodings#

Syntax representations / encodings

All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.

Fragment for the enumeration Format

 1<packagedElement xmlns:StandardProfile="http://www.omg.org/spec/UML/20131001/StandardProfile"
 2                  xmlns:uml="http://www.omg.org/spec/UML/20131001"
 3                  xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
 4                  xmi:id="LibraryDomainModel-DataTypes-Enumerations-Format"
 5                  xmi:uuid="http://example.org/LIB/1.0/XMI/#Format"
 6                  xmi:type="uml:Enumeration">
 7   <ownedComment xmi:id="LibraryDomainModel-DataTypes-Enumerations-Format-ownedComment"
 8                  xmi:uuid="http://example.org/LIB/1.0/XMI/#Format-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="LibraryDomainModel-DataTypes-Enumerations-Format"/>
11      <body>Book item format.</body>
12   </ownedComment>
13   <name>Format</name>
14   <ownedLiteral xmi:id="LibraryDomainModel-DataTypes-Enumerations-Format-Audiobook"
15                  xmi:uuid="http://example.org/LIB/1.0/XMI/#Audiobook"
16                  xmi:type="uml:EnumerationLiteral">
17      <name>Audiobook</name>
18   </ownedLiteral>
19   <ownedLiteral xmi:id="LibraryDomainModel-DataTypes-Enumerations-Format-AudioCD"
20                  xmi:uuid="http://example.org/LIB/1.0/XMI/#AudioCD"
21                  xmi:type="uml:EnumerationLiteral">
22      <name>AudioCD</name>
23   </ownedLiteral>
24   <ownedLiteral xmi:id="LibraryDomainModel-DataTypes-Enumerations-Format-Hardcover"
25                  xmi:uuid="http://example.org/LIB/1.0/XMI/#Hardcover"
26                  xmi:type="uml:EnumerationLiteral">
27      <name>Hardcover</name>
28   </ownedLiteral>
29   <ownedLiteral xmi:id="LibraryDomainModel-DataTypes-Enumerations-Format-MP3CD"
30                  xmi:uuid="http://example.org/LIB/1.0/XMI/#MP3CD"
31                  xmi:type="uml:EnumerationLiteral">
32      <name>MP3CD</name>
33   </ownedLiteral>
34   <ownedLiteral xmi:id="LibraryDomainModel-DataTypes-Enumerations-Format-Paperback"
35                  xmi:uuid="http://example.org/LIB/1.0/XMI/#Paperback"
36                  xmi:type="uml:EnumerationLiteral">
37      <name>Paperback</name>
38   </ownedLiteral>
39   <ownedLiteral xmi:id="LibraryDomainModel-DataTypes-Enumerations-Format-PDF"
40                  xmi:uuid="http://example.org/LIB/1.0/XMI/#PDF"
41                  xmi:type="uml:EnumerationLiteral">
42      <name>PDF</name>
43   </ownedLiteral>
44</packagedElement>

Fragment for the enumeration Format

 1<xs:simpleType name="FormatXsdType"
 2               xml:id="FormatXsdType">
 3  <!-- based on the UML enumeration LibraryDomainModel::DataTypes::Enumerations::Format -->
 4  <xs:annotation>
 5    <xs:documentation>Book item format.</xs:documentation>
 6  </xs:annotation>
 7  <xs:restriction base="xs:NMTOKEN">
 8    <xs:enumeration value="Audiobook">
 9      <xs:annotation>
10        <xs:documentation></xs:documentation>
11      </xs:annotation>
12    </xs:enumeration>
13    <xs:enumeration value="AudioCD">
14      <xs:annotation>
15        <xs:documentation></xs:documentation>
16      </xs:annotation>
17    </xs:enumeration>
18    <xs:enumeration value="Hardcover">
19      <xs:annotation>
20        <xs:documentation></xs:documentation>
21      </xs:annotation>
22    </xs:enumeration>
23    <xs:enumeration value="MP3CD">
24      <xs:annotation>
25        <xs:documentation></xs:documentation>
26      </xs:annotation>
27    </xs:enumeration>
28    <xs:enumeration value="Paperback">
29      <xs:annotation>
30        <xs:documentation></xs:documentation>
31      </xs:annotation>
32    </xs:enumeration>
33    <xs:enumeration value="PDF">
34      <xs:annotation>
35        <xs:documentation></xs:documentation>
36      </xs:annotation>
37    </xs:enumeration>
38  </xs:restriction>
39</xs:simpleType>

Fragment for the enumeration Format (main ontology)

 1# enumeration Format
 2# based on the UML enumeration LibraryDomainModel::DataTypes::Enumerations::Format
 3lib:Format
 4  a rdfs:Class, owl:Class, ucmis:Enumeration;
 5  rdfs:label "Format";
 6  rdfs:comment "Book item format."@en;
 7  
 8.
 9
10lib:Audiobook
11  a lib:Format;
12  rdfs:label "Audiobook";
13  
14.
15
16lib:AudioCD
17  a lib:Format;
18  rdfs:label "AudioCD";
19  
20.
21
22lib:Hardcover
23  a lib:Format;
24  rdfs:label "Hardcover";
25  
26.
27
28lib:MP3CD
29  a lib:Format;
30  rdfs:label "MP3CD";
31  
32.
33
34lib:Paperback
35  a lib:Format;
36  rdfs:label "Paperback";
37  
38.
39
40lib:PDF
41  a lib:Format;
42  rdfs:label "PDF";
43  
44.