Window of Authorization: Details: verschil tussen versies

Uit COINS2
Ga naar: navigatie, zoeken
(Nieuwe pagina aangemaakt met ' == Informative representation in UML == Informative representation of EntityProperty in UML This image show...')
 
k (Formal Representation in RDF/XML)
Regel 47: Regel 47:
  
 
   <cbim-2.0:COINSClass rdf:ID="ObjectPermissions">
 
   <cbim-2.0:COINSClass rdf:ID="ObjectPermissions">
+
 
 
     <rdfs:label xml:lang="en-GB">ObjectPermission</rdfs:label>
 
     <rdfs:label xml:lang="en-GB">ObjectPermission</rdfs:label>
 
     <rdfs:comment xml:lang="en-GB">Specifies the rights for this Object</rdfs:comment>
 
     <rdfs:comment xml:lang="en-GB">Specifies the rights for this Object</rdfs:comment>
 
+
 
     <rdfs:subClassOf rdf:resource="#PermissionClass"/>
 
     <rdfs:subClassOf rdf:resource="#PermissionClass"/>
 
     <rdfs:subClassOf rdf:resource="cbim-2.0.rdf#Object"/>
 
     <rdfs:subClassOf rdf:resource="cbim-2.0.rdf#Object"/>
 
+
 
     <rdfs:subClassOf>
 
     <rdfs:subClassOf>
 
       <owl:Restriction>
 
       <owl:Restriction>
Regel 60: Regel 60:
 
       </owl:Restriction>
 
       </owl:Restriction>
 
     </rdfs:subClassOf>
 
     </rdfs:subClassOf>
+
 
 
     <rdfs:subClassOf>
 
     <rdfs:subClassOf>
 
       <owl:Restriction>
 
       <owl:Restriction>
Regel 68: Regel 68:
 
     </rdfs:subClassOf>
 
     </rdfs:subClassOf>
 
     <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
 
     <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
 
+
 
   </cbim-2.0:COINSClass>
 
   </cbim-2.0:COINSClass>
 
   
 
   
Regel 91: Regel 91:
 
   </owl:ObjectProperty>
 
   </owl:ObjectProperty>
  
 
 
== NoAccess ==
 
== NoAccess ==
 
NoAccess is a subclass of ObjectPermissions. Members of this class may not be accessed, nor for reading neither for writing.
 
NoAccess is a subclass of ObjectPermissions. Members of this class may not be accessed, nor for reading neither for writing.

Versie van 23 jun 2016 om 17:53


Informative representation in UML

Informative representation of EntityProperty in UML

This image shows an informative representation of the Window of Authorization classes in UML.


PermissionClass

PermissionClass is a subclass of owl:Thing. It serves as superclass for all permission classes. The Permission class has no further attributes.

Formal Representation in RDF/XML

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

   <rdfs:label xml:lang="en-GB">PermissionClass</rdfs:label>
   <rdfs:comment xml:lang="en-GB">Specifies the modification rights for this object</rdfs:comment>

   <rdfs:subClassOf rdf:resource="owl:Thing"/>

   <rdf:type rdf:resource="cbim-2.0.rdf#COINSClass"/>

 </owl:Class>


ObjectPermissions

ObjectPermissions is a subclass of PermissionClass. It serves as superclass for all permissions pertaining to members of Cbim-2.0:Object. The ObjectPermissions class has a property for the layerDepth, defining the number of levels the permission is valid, following the object defined in the linkAccess property.


Attributes

Name Type Description
layerDepth xsd:integer number of levels the permission is valid
linkAccess ObjectProperty the property path to folow for determining the layer depth


Formal Representation in RDF/XML

 <cbim-2.0:COINSClass rdf:ID="ObjectPermissions">
 
   <rdfs:label xml:lang="en-GB">ObjectPermission</rdfs:label>
   <rdfs:comment xml:lang="en-GB">Specifies the rights for this Object</rdfs:comment>

   <rdfs:subClassOf rdf:resource="#PermissionClass"/>
   <rdfs:subClassOf rdf:resource="cbim-2.0.rdf#Object"/>

   <rdfs:subClassOf>
     <owl:Restriction>
       <owl:onProperty rdf:resource="#layerdepth"/>
       <owl:cardinality rdf:datatype="xml:nonNegativeInteger">1</owl:cardinality>
     </owl:Restriction>
   </rdfs:subClassOf>
 
   <rdfs:subClassOf>
     <owl:Restriction>
       <owl:onProperty rdf:resource="#linkAccess"/>
       <owl:cardinality rdf:datatype="xml:nonNegativeInteger">1</owl:cardinality>
     </owl:Restriction>
   </rdfs:subClassOf>
   <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>

 </cbim-2.0:COINSClass>


 <owl:DatatypeProperty rdf:ID="layerdepth">
   <rdfs:label xml:lang="en-GB">layerdepth</rdfs:label>
   <rdfs:comment xml:lang="en-GB">determines the layerdepth via the linkAccess relation on which this permission applies</rdfs:comment>
   <rdf:type rdf:resource="owl:FunctionalProperty"/>
   <rdfs:domain rdf:resource="#ObjectPermissions"/>
   <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
 </owl:DatatypeProperty>


 <owl:ObjectProperty rdf:ID="linkAccess">
   <rdfs:label xml:lang="en-GB">linkAccess</rdfs:label>
   <rdfs:comment xml:lang="en-GB">specifies the objecttype property used by the layerdepth</rdfs:comment>
   <rdf:type rdf:resource="owl:FunctionalProperty"/>
   <rdfs:domain rdf:resource="#ObjectPermissions"/>
   <rdfs:range rdf:resource="owl:ObjectProperty"/>
 </owl:ObjectProperty>

NoAccess

NoAccess is a subclass of ObjectPermissions. Members of this class may not be accessed, nor for reading neither for writing.


Formal Representation in RDF/XML

 <cbim-2.0:COINSClass rdf:ID="NoAccess">

   <rdfs:label xml:lang="en-GB">NoAccess</rdfs:label>
   <rdfs:comment xml:lang="en-GB">No Access for this Object</rdfs:comment>

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

   <rdf:type rdf:resource="owl:Class"/>

 </cbim-2.0:COINSClass>


ReadAccess

ReadAccess is a subclass of ObjectPermissions. Members of this class may be accessed for display (reading) but not for modifying (writing).

Formal Representation in RDF/XML

 <cbim-2.0:COINSClass rdf:ID="ReadAccess">

   <rdfs:label xml:lang="en-GB">ReadAccess</rdfs:label>
   <rdfs:comment xml:lang="en-GB">ReadAccess for this Object</rdfs:comment>

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

   <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>

 </cbim-2.0:COINSClass>


WriteAccess

WriteAccess is a subclass of ObjectPermissions. Members of this class may be accessed for display (reading) and for modifying (writing).

Formal Representation in RDF/XML

 <cbim-2.0:COINSClass rdf:ID="WriteAccess">

   <rdfs:label xml:lang="en-GB">WriteAccess</rdfs:label>
   <rdfs:comment xml:lang="en-GB">Writeaccess for this Object</rdfs:comment>

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

   <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>

 </cbim-2.0:COINSClass>


See also