Window of Authorization: Details: verschil tussen versies

Uit COINS2
Ga naar: navigatie, zoeken
k (Informative representation in UML)
k (Informative representation in UML)
 
Regel 3: Regel 3:
  
 
== Informative representation in UML ==
 
== Informative representation in UML ==
[[Bestand:WoA_-_UML.png|left|thumb|Informative representation of WoA in UML]]
+
[[Bestand:WoA_-_UML.png|right|thumb|Informative representation of WoA in UML]]
 
This image shows an informative representation of the Window of Authorization classes in UML.
 
This image shows an informative representation of the Window of Authorization classes in UML.
  

Huidige versie van 23 jun 2016 om 19:15


Informative representation in UML

Informative representation of WoA 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="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="xsd: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="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="owl:Class"/>

 </cbim-2.0:COINSClass>


See also