ObjectAttributeSelector

Fully qualified datatype name: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::ObjectAttributeSelector

Definition

A resource which describes a specific attribute of an object. It is defined in the style of selectors of the Web Annotation Vocabulary, see https://www.w3.org/TR/annotation-vocab/. The selector can be nested dependent on the structure of the referenced object.

Diagram

Inheritance
  ᐊ── StructuredDataTypes::ObjectAttributeSelector
Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

refinedBy

- own datatype -

Nested object attribute selector.

ObjectAttributeSelector

0..1

refinedByOrderNumber

- own datatype -

Order number of the specific attribute.

Integer

0..1

value

- own datatype -

Name of the attribute.

String

0..1

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 data type ObjectAttributeSelector (entire XMI model)

 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-StructuredDataTypes-ObjectAttributeSelector"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector"
 6                 xmi:type="uml:DataType">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector"/>
11      <body>Definition
12==========
13A resource which describes a specific attribute of an object. It is defined in the style of selectors of the Web Annotation Vocabulary, see https://www.w3.org/TR/annotation-vocab/. The selector can be nested dependent on the structure of the referenced object.</body>
14   </ownedComment>
15   <name>ObjectAttributeSelector</name>
16   <generalization xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-generalization"
17                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-generalization"
18                   xmi:type="uml:Generalization">
19      <general xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Selector"/>
20   </generalization>
21   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-refinedBy"
22                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-refinedBy"
23                   xmi:type="uml:Property">
24      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-refinedBy-ownedComment"
25                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-refinedBy-ownedComment"
26                    xmi:type="uml:Comment">
27         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-refinedBy"/>
28         <body>Nested object attribute selector.</body>
29      </ownedComment>
30      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-refinedBy-lowerValue"
31                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-refinedBy-lowerValue"
32                  xmi:type="uml:LiteralInteger"/>
33      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-refinedBy-upperValue"
34                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-refinedBy-upperValue"
35                  xmi:type="uml:LiteralUnlimitedNatural">
36         <value>1</value>
37      </upperValue>
38      <name>refinedBy</name>
39      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector"/>
40   </ownedAttribute>
41   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-refinedByOrderNumber"
42                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-refinedByOrderNumber"
43                   xmi:type="uml:Property">
44      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-refinedByOrderNumber-ownedComment"
45                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-refinedByOrderNumber-ownedComment"
46                    xmi:type="uml:Comment">
47         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-refinedByOrderNumber"/>
48         <body>Order number of the specific attribute.</body>
49      </ownedComment>
50      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-refinedByOrderNumber-lowerValue"
51                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-refinedByOrderNumber-lowerValue"
52                  xmi:type="uml:LiteralInteger"/>
53      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-refinedByOrderNumber-upperValue"
54                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-refinedByOrderNumber-upperValue"
55                  xmi:type="uml:LiteralUnlimitedNatural">
56         <value>1</value>
57      </upperValue>
58      <name>refinedByOrderNumber</name>
59      <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Integer"
60            xmi:type="uml:PrimitiveType"/>
61   </ownedAttribute>
62   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-value"
63                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-value"
64                   xmi:type="uml:Property">
65      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-value-ownedComment"
66                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-value-ownedComment"
67                    xmi:type="uml:Comment">
68         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-value"/>
69         <body>Name of the attribute.</body>
70      </ownedComment>
71      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-value-lowerValue"
72                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-value-lowerValue"
73                  xmi:type="uml:LiteralInteger"/>
74      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectAttributeSelector-value-upperValue"
75                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ObjectAttributeSelector-value-upperValue"
76                  xmi:type="uml:LiteralUnlimitedNatural">
77         <value>1</value>
78      </upperValue>
79      <name>value</name>
80      <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#String"
81            xmi:type="uml:PrimitiveType"/>
82   </ownedAttribute>
83</packagedElement>

Fragment for the data type ObjectAttributeSelector (entire XML Schema)

 1<xs:element name="ObjectAttributeSelector"
 2            type="ObjectAttributeSelectorXsdType"
 3            xml:id="ObjectAttributeSelector">
 4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::ObjectAttributeSelector -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ==========
 8          A resource which describes a specific attribute of an object. It is defined in the style of selectors of the Web Annotation Vocabulary, see https://www.w3.org/TR/annotation-vocab/. The selector can be nested dependent on the structure of the referenced object.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="ObjectAttributeSelectorXsdType"
12                xml:id="ObjectAttributeSelectorXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ==========
16          A resource which describes a specific attribute of an object. It is defined in the style of selectors of the Web Annotation Vocabulary, see https://www.w3.org/TR/annotation-vocab/. The selector can be nested dependent on the structure of the referenced object.</xs:documentation>
17  </xs:annotation>
18  <xs:complexContent>
19    <xs:extension base="SelectorXsdType">
20      <xs:sequence>
21        <xs:element name="refinedBy"
22                    type="ObjectAttributeSelectorXsdType"
23                    minOccurs="0"
24                    maxOccurs="1"
25                    xml:id="ObjectAttributeSelector-refinedBy">
26          <xs:annotation>
27            <xs:documentation>Nested object attribute selector.</xs:documentation>
28          </xs:annotation>
29        </xs:element>
30        <xs:element name="refinedByOrderNumber"
31                    type="xs:integer"
32                    minOccurs="0"
33                    maxOccurs="1"
34                    xml:id="ObjectAttributeSelector-refinedByOrderNumber">
35          <xs:annotation>
36            <xs:documentation>Order number of the specific attribute.</xs:documentation>
37          </xs:annotation>
38        </xs:element>
39        <xs:element name="value"
40                    type="xs:string"
41                    minOccurs="0"
42                    maxOccurs="1"
43                    xml:id="ObjectAttributeSelector-value">
44          <xs:annotation>
45            <xs:documentation>Name of the attribute.</xs:documentation>
46          </xs:annotation>
47        </xs:element>
48      </xs:sequence>
49    </xs:extension>
50  </xs:complexContent>
51</xs:complexType>

Fragment for the data type ObjectAttributeSelector (main ontology, entire ontology as zip)

 1# datatype ObjectAttributeSelector
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::ObjectAttributeSelector
 3cdi:ObjectAttributeSelector
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "ObjectAttributeSelector";
 6  rdfs:comment "Definition\n==========\nA resource which describes a specific attribute of an object. It is defined in the style of selectors of the Web Annotation Vocabulary, see https://www.w3.org/TR/annotation-vocab/. The selector can be nested dependent on the structure of the referenced object."@en;
 7  rdfs:subClassOf cdi:Selector;
 8  owl:hasKey (cdi:ObjectAttributeSelector-refinedBy cdi:ObjectAttributeSelector-refinedByOrderNumber cdi:ObjectAttributeSelector-value);
 9.
10
11cdi:ObjectAttributeSelector-refinedBy
12  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13  rdfs:label "refinedBy";
14  rdfs:comment "Nested object attribute selector."@en;
15  rdfs:domain cdi:ObjectAttributeSelector;
16  rdfs:range cdi:ObjectAttributeSelector;
17.
18
19cdi:ObjectAttributeSelector-refinedByOrderNumber
20  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
21  rdfs:label "refinedByOrderNumber";
22  rdfs:comment "Order number of the specific attribute."@en;
23  rdfs:domain cdi:ObjectAttributeSelector;
24  rdfs:range xsd:integer;
25.
26
27cdi:ObjectAttributeSelector-value
28  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
29  rdfs:label "value";
30  rdfs:comment "Name of the attribute."@en;
31  rdfs:domain cdi:ObjectAttributeSelector;
32  rdfs:range xsd:string;
33.

Fragment for the data type ObjectAttributeSelector (main JSON-LD entire JSON-LD as zip)

 1{
 2  "@context": [
 3    "Selector.jsonld",
 4    {
 5      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 6      "xsd": "http://www.w3.org/2001/XMLSchema#",
 7	  "ObjectAttributeSelector": "cdi:ObjectAttributeSelector",
 8	  "refinedBy": {
 9	    "@id": "cdi:ObjectAttributeSelector-refinedBy",
10	    "@type": "@id",
11	    "@context": "ObjectAttributeSelector.jsonld"
12	  },
13	  "refinedByOrderNumber": {
14	    "@id": "cdi:ObjectAttributeSelector-refinedByOrderNumber",
15	    "@type": "xsd:integer"
16	  },
17	  "value": {
18	    "@id": "cdi:ObjectAttributeSelector-value",
19	    "@type": "xsd:string"
20	  },
21	  
22	  " comment ": "tag:json-should-support-trailing-commas" 
23	}
24  ],
25  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:53:03.",
26  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::ObjectAttributeSelector"
27}