CoinsCore:SimpleProperty Class

Uit COINS2
Ga naar: navigatie, zoeken

SimpleProperty is a subclass of EntityProperty. The SimplePropery class serves as a generalisation of all property classes that hold exactly one single value; as opposed to ComplexProperty that refer to more complex elements. Therefore SimpleProperty is disjoined with ComplexProperty.

SimpleProperty is not an abstract class; it can be instantiated directly.

The SimpleProperty class can be extended; in the Coins Core Model it is extended to StringProperty, NumericProperty, BooleanProperty, DateTimeProperty and UriProperty.


The nextTrunkVersion is restricted to one other instance of SimpleProperty.


History
* New in COINS 2.0


Informative representation in UML

Informative representation of SimpleProperty in UML

This image shows the informative representation of the SimpleProperty class.


Attributes

Name Type Description
datatypeValue xsd:anySimpleType Exactly one value of any simple type (overridable in extended classes)


Formal Representation in RDF/XML

 <owl:Class rdf:ID="SimpleProperty">

   <rdfs:label xml:lang="en-GB">SimpleProperty</rdfs:label>
   <rdfs:comment xml:lang="en-GB">Simple Property</rdfs:comment>

   <rdfs:subClassOf rdf:resource="#EntityProperty"/>

   <owl:disjointWith rdf:resource="#ComplexProperty"/>

   <rdfs:subClassOf>
     <owl:Restriction>
       <owl:onProperty rdf:resource="#datatypeValue"/>
       <owl:cardinality rdf:datatype="xsd:nonNegativeInteger">1</owl:cardinality>
     </owl:Restriction>
   </rdfs:subClassOf>

   <isClassAbstract rdf:datatype="xsd:boolean">false</isClassAbstract>
   <isClassExtendable rdf:datatype="xsd:boolean">true</isClassExtendable>

   <rdfs:subClassOf>
     <owl:Restriction>
       <owl:onProperty rdf:resource="#nextTrunkVersion"/>
       <owl:allValuesFrom rdf:resource="#SimpleProperty"/>
     </owl:Restriction>
   </rdfs:subClassOf>

   <classCreator rdf:resource="#COINSTechnicalManagementGroup"/>
   <classCreationDate rdf:datatype="xsd:dateTime">2016-04-04T12:00:00.00</classCreationDate>
   <classVersionID rdf:datatype="xsd:string">1.0</classVersionID>

 </owl:Class>