TrimValues

Fully qualified enumeration name: DDICDIModels::DDICDILibrary::DataTypes::Enumerations::TrimValues

Definition

Specifies which spaces to remove from a data value (start, end, both, neither).

Diagram

Enumeration literals

Name

Description

Both

Trim whitespace characters from both the start and the end of the value.

End

Trim whitespace characters from the end of the value.

Neither

Trim whitespace characters from neither the start nor the end of the value.

Start

Trim whitespce characters from the start of the value.

Usage

Type

Package

Classifier

Attribute

Class

FormatDescription

PhysicalSegmentLayout

trim

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 TrimValues

 1<packagedElement xmlns:StandardProfile="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard"
 2                 xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
 3                 xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
 4                 xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#TrimValues"
 6                 xmi:type="uml:Enumeration">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#TrimValues-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues"/>
11      <body>Definition
12============
13Specifies which spaces to remove from a data value (start, end, both, neither).</body>
14   </ownedComment>
15   <name>TrimValues</name>
16   <ownedLiteral xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-Both"
17                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Both"
18                 xmi:type="uml:EnumerationLiteral">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-Both-ownedComment"
20                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Both-ownedComment"
21                    xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-Both"/>
23         <body>Trim whitespace characters from both the start and the end of the value.</body>
24      </ownedComment>
25      <name>Both</name>
26   </ownedLiteral>
27   <ownedLiteral xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-End"
28                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#End"
29                 xmi:type="uml:EnumerationLiteral">
30      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-End-ownedComment"
31                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#End-ownedComment"
32                    xmi:type="uml:Comment">
33         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-End"/>
34         <body>Trim whitespace characters from the end of the value.</body>
35      </ownedComment>
36      <name>End</name>
37   </ownedLiteral>
38   <ownedLiteral xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-Neither"
39                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Neither"
40                 xmi:type="uml:EnumerationLiteral">
41      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-Neither-ownedComment"
42                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Neither-ownedComment"
43                    xmi:type="uml:Comment">
44         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-Neither"/>
45         <body>Trim whitespace characters from neither the start nor the end of the value.</body>
46      </ownedComment>
47      <name>Neither</name>
48   </ownedLiteral>
49   <ownedLiteral xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-Start"
50                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Start"
51                 xmi:type="uml:EnumerationLiteral">
52      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-Start-ownedComment"
53                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Start-ownedComment"
54                    xmi:type="uml:Comment">
55         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-TrimValues-Start"/>
56         <body>Trim whitespce characters from the start of the value.</body>
57      </ownedComment>
58      <name>Start</name>
59   </ownedLiteral>
60</packagedElement>

Fragment for the enumeration TrimValues

 1<xs:simpleType name="TrimValuesXsdType"
 2               xml:id="TrimValuesXsdType">
 3  <!-- based on the UML enumeration DDICDIModels::DDICDILibrary::DataTypes::Enumerations::TrimValues -->
 4  <xs:annotation>
 5    <xs:documentation>Definition
 6          ============
 7          Specifies which spaces to remove from a data value (start, end, both, neither).</xs:documentation>
 8  </xs:annotation>
 9  <xs:restriction base="xs:NMTOKEN">
10    <xs:enumeration value="Both">
11      <xs:annotation>
12        <xs:documentation>Trim whitespace characters from both the start and the end of the value.</xs:documentation>
13      </xs:annotation>
14    </xs:enumeration>
15    <xs:enumeration value="End">
16      <xs:annotation>
17        <xs:documentation>Trim whitespace characters from the end of the value.</xs:documentation>
18      </xs:annotation>
19    </xs:enumeration>
20    <xs:enumeration value="Neither">
21      <xs:annotation>
22        <xs:documentation>Trim whitespace characters from neither the start nor the end of the value.</xs:documentation>
23      </xs:annotation>
24    </xs:enumeration>
25    <xs:enumeration value="Start">
26      <xs:annotation>
27        <xs:documentation>Trim whitespce characters from the start of the value.</xs:documentation>
28      </xs:annotation>
29    </xs:enumeration>
30  </xs:restriction>
31</xs:simpleType>

Fragment for the enumeration TrimValues (main ontology, entire ontology as zip)

 1# enumeration TrimValues
 2# based on the UML enumeration DDICDIModels::DDICDILibrary::DataTypes::Enumerations::TrimValues
 3cdi:TrimValues
 4  a rdfs:Class, owl:Class, ucmis:Enumeration;
 5  rdfs:label "TrimValues";
 6  rdfs:comment "Definition\n============\nSpecifies which spaces to remove from a data value (start, end, both, neither)."@en;
 7  
 8.
 9
10cdi:Both
11  a cdi:TrimValues;
12  rdfs:label "Both";
13  rdfs:comment "Trim whitespace characters from both the start and the end of the value."@en;
14.
15
16cdi:End
17  a cdi:TrimValues;
18  rdfs:label "End";
19  rdfs:comment "Trim whitespace characters from the end of the value."@en;
20.
21
22cdi:Neither
23  a cdi:TrimValues;
24  rdfs:label "Neither";
25  rdfs:comment "Trim whitespace characters from neither the start nor the end of the value."@en;
26.
27
28cdi:Start
29  a cdi:TrimValues;
30  rdfs:label "Start";
31  rdfs:comment "Trim whitespce characters from the start of the value."@en;
32.