Window of Authorization: Details: verschil tussen versies
(Nieuwe pagina aangemaakt met ' == Informative representation in UML == Informative representation of EntityProperty in UML This image show...') |
k (→Informative representation in UML) |
||
(6 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 3: | Regel 3: | ||
== Informative representation in UML == | == Informative representation in UML == | ||
− | [[Bestand: | + | [[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. | ||
− | |||
== PermissionClass == | == PermissionClass == | ||
− | '''PermissionClass''' is a subclass of [[owl:Thing|owl:Thing]]. It serves as superclass for all permission classes. | + | '''PermissionClass''' is a subclass of [[owl:Thing Class|owl:Thing]]. It serves as superclass for all permission classes. |
The Permission class has no further attributes. | The Permission class has no further attributes. | ||
Regel 24: | Regel 23: | ||
</owl:Class> | </owl:Class> | ||
− | |||
− | |||
== ObjectPermissions == | == ObjectPermissions == | ||
ObjectPermissions is a subclass of PermissionClass. It serves as superclass for all permissions pertaining to members of [[CoinsCore:Object Class|Cbim-2.0:Object]]. | ObjectPermissions is a subclass of PermissionClass. It serves as superclass for all permissions pertaining to members of [[CoinsCore:Object Class|Cbim-2.0:Object]]. | ||
Regel 47: | Regel 44: | ||
<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 57: | ||
</owl:Restriction> | </owl:Restriction> | ||
</rdfs:subClassOf> | </rdfs:subClassOf> | ||
− | + | ||
<rdfs:subClassOf> | <rdfs:subClassOf> | ||
<owl:Restriction> | <owl:Restriction> | ||
Regel 67: | Regel 64: | ||
</owl:Restriction> | </owl:Restriction> | ||
</rdfs:subClassOf> | </rdfs:subClassOf> | ||
− | <rdf:type rdf:resource=" | + | <rdf:type rdf:resource="owl:Class"/> |
− | + | ||
</cbim-2.0:COINSClass> | </cbim-2.0:COINSClass> | ||
Regel 78: | Regel 75: | ||
<rdf:type rdf:resource="owl:FunctionalProperty"/> | <rdf:type rdf:resource="owl:FunctionalProperty"/> | ||
<rdfs:domain rdf:resource="#ObjectPermissions"/> | <rdfs:domain rdf:resource="#ObjectPermissions"/> | ||
− | <rdfs:range rdf:resource=" | + | <rdfs:range rdf:resource="xsd:integer"/> |
</owl:DatatypeProperty> | </owl:DatatypeProperty> | ||
Regel 91: | Regel 88: | ||
</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. | ||
Regel 122: | Regel 118: | ||
<rdfs:subClassOf rdf:resource="#ObjectPermissions"/> | <rdfs:subClassOf rdf:resource="#ObjectPermissions"/> | ||
− | <rdf:type rdf:resource=" | + | <rdf:type rdf:resource="owl:Class"/> |
</cbim-2.0:COINSClass> | </cbim-2.0:COINSClass> | ||
Regel 140: | Regel 136: | ||
<rdfs:subClassOf rdf:resource="#ObjectPermissions"/> | <rdfs:subClassOf rdf:resource="#ObjectPermissions"/> | ||
− | <rdf:type rdf:resource=" | + | <rdf:type rdf:resource="owl:Class"/> |
</cbim-2.0:COINSClass> | </cbim-2.0:COINSClass> | ||
Regel 156: | Regel 152: | ||
--> | --> | ||
− | |||
[[Category:Window of Authorization]] | [[Category:Window of Authorization]] |
Huidige versie van 23 jun 2016 om 19:15
Inhoud
Informative representation 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>