CoinsCore:StringProperty Class

Uit COINS2
Ga naar: navigatie, zoeken

StringProperty is a subclass of SimpleProperty. The datatypeValue of SimpleProperty is overridden by xsd:string, restricting instances of StringProperty to hold a single string-value. All characters are allowed and the number of characters in the string is not limited, but empty strings are not allowed.

StringProperty is disjoined with NumericProperty, BooleanProperty, DateTimeProperty and UriProperty.

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

The StringProperty class is extendable.

The nextTrunkVersion is restricted to one other instance of StringProperty.


History
* New in COINS 2.0


Informative representation in UML

Informative representation of StringProperty in UML

This image shows the informative representation of the StringProperty class.


Attributes

Name Type Description
datatypeValue xsd:String Exactly one string value. Empty string not allowed.


Formal Representation in RDF/XML

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

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

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

   <owl:disjointWith rdf:resource="#NumericProperty"/>
   <owl:disjointWith rdf:resource="#BooleanProperty"/>
   <owl:disjointWith rdf:resource="#DateTimeProperty"/>
   <owl:disjointWith rdf:resource="#UriProperty"/>

   <rdfs:subClassOf>
     <owl:Restriction>
       <owl:onProperty rdf:resource="#datatypeValue"/>
       <owl:allValuesFrom rdf:resource="xsd:string"/>
     </owl:Restriction>
   </rdfs:subClassOf>

   <owl:equivalentClass>
     <owl:Class>
       <owl:intersectionOf rdf:parseType="Collection">
         <rdf:Description rdf:ID="SimpleProperty"/>
         <owl:Restriction>
           <owl:onProperty rdf:resource="#datatypeValue"/>
           <owl:allValuesFrom rdf:resource="xsd:string"/>
         </owl:Restriction>
       </owl:intersectionOf>
     </owl:Class>
   </owl:equivalentClass>

   <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="#StringProperty"/>
     </owl:Restriction>
   </rdfs:subClassOf>

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

 </owl:Class>