Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Context vocabulary"

(New page: {{#eclipseproject:technology.higgins|eclipse_custom_style.css}} right A vocabulary to describe events that happen at a specific date and time and that ...)
 
Line 1: Line 1:
 
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}} [[Image:Higgins logo 76Wx100H.jpg|right]]  
 
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}} [[Image:Higgins logo 76Wx100H.jpg|right]]  
A vocabulary to describe events that happen at a specific date and time and that affect either a specific attribute of an entity or all attributes of that entity. Event types include CRUD operations, verification events and disclosure events. Imported by [[Persona vocabulary]].
+
A vocabulary to describe contexts. Imported by [[Persona vocabulary]].
  
 
=== Files ===
 
=== Files ===
* Most recently [http://www.eclipse.org/higgins/ontologies/2010/6/event published].
+
* SVN source: [https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/H2/org.eclipse.higgins.ontology/context.owl context.owl]
* SVN source: [https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/H2/org.eclipse.higgins.ontology/event.owl event.owl]
+
  
 
==UML Overview==
 
==UML Overview==
Line 10: Line 9:
  
 
==Classes==
 
==Classes==
=== <code>Event</code> ===
+
===<code>Context</code>===
Change event. Abstract superclass. Subclasses describes changes to an attribute "attribute" of some entity "entity" that happened at dateTime "at"
+
A context as used in the Persona data model
* 1..1 at
+
* subClassOf: h:Context
* 1..N entity
+
* 0..1 h:control
 +
* 0..1 template
 +
* 0..1 settings
 +
* 1..1 skos:prefLabel
  
=== <code>AttPolicy</code>===
+
===<code>CardContext</code>===
An association of an attribute of some entity with a disclosure policy
+
A special kind of context that acts as a visual link to a p:Person entity (via the resource attribute). It inherits from p:Context and h:Context a set of attributes. The values of these inherited attributes are duplicated from and thus identical to the values of these inherited attributes of the regular, data context that contains the target of the resource attribute of this context.
* 1..1 policy
+
* subClassOf: Context
* 1..1 attribute
+
* 1..1 resource
* 1..1 entity
+
* 1..1 backgroundColor
 
+
* 0..1 image
=== <code>AttributeChanged</code> ===
+
* 0..1 imageType
A class of events wherein a single attribute is changed
+
* subClassOf Event
+
* 1..1 attribute
+
* 1..1 entity
+
 
+
=== <code>Add</code> ===
+
New value "value"(s) was/were added to attribute "attribute" of entity "entity" at dateTime "at"
+
* subClassOf AttributeChanged
+
* 1..N value - "new" value(s)
+
 
+
=== <code>Delete</code> ===
+
One, more or all values of attribute "attribute" of entity "entity" was deleted at dateTime "at". Values to be deleted are specified by one or more "oldValue"(s). If all values of attribute "attribute" are to be deleted then the oldValue (attribute) is omitted.
+
* subClassOf AttributeChanged
+
* 1..N oldValue
+
 
+
=== <code>Get</code> ===
+
One or more values of attribute "attribute" of entity "entity" was read at dateTime "at"
+
* subClassOf AttributeChanged
+
 
+
=== <code>Modify</code> ===
+
The attribute "attribute" of entity "entity" was modified at datetime "at". The value "oldValue" was replaced with value(s) "newValue"
+
* subClassOf AttributeChanged
+
* 1..1 oldValue
+
* 1..N value
+
 
+
=== <code>Disclosure</code> ===
+
A disclosure of attributes to an external party (e.g. an RP website). Each "entity" points to a context object (h:Context instance)
+
* subClassOf Event
+
* 1..1 relyingParty
+
* 1..N disclosed
+
 
+
=== <code>Verification</code> ===
+
Verification event performed by the p:issuer of this context. If event:attribute is not present then event:entity(ies) in their entirety have been verified. Else if event:attribute is present then just the attribute mentioned has been verified.
+
* subClassOf Event
+
* 1..1 entity
+
* 0..1 verificationResult
+
  
 
==Attributes==
 
==Attributes==
  
=== <code>at</code>  ===
 
When this event happened
 
* domain: Event
 
* value: dateTime
 
 
=== <code>attribute</code>  ===
 
* value: an attribute
 
 
=== <code>disclosed</code>  ===
 
The attribute that has been disclosed/blocked
 
* domain: Disclosure
 
* value: AttPolicy
 
 
=== <code>entity</code>  ===
 
The entity that has been verified
 
* domain: Event
 
* value: an entity
 
 
=== <code>event</code> ===
 
An event that happened. Used to associate event(s) with some object to which it relates (often an h:Context)
 
* value: Event
 
 
=== <code>oldValue</code>  ===
 
Old value of an attribute
 
* domain: Delete, Modify
 
* value: entity or literal
 
 
=== <code>policy</code>  ===
 
* domain: AttPolicy
 
* value: string value one of {"allow", "block"}
 
 
=== <code>relyingParty</code>  ===
 
* domain: Disclosure
 
* value: xsd:anyURI
 
 
=== <code>value</code>  ===
 
New value(s)
 
* domain: Add, Modify
 
* value: entity or literal
 
 
=== <code>verificationResult</code>  ===
 
Result of verification
 
New value(s)
 
* domain: Verification
 
* value: one of {"false" , "indeterminate" , "true"}
 
  
 
== Links ==
 
== Links ==

Revision as of 12:33, 22 June 2011

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
Higgins logo 76Wx100H.jpg

A vocabulary to describe contexts. Imported by Persona vocabulary.

Files

UML Overview

Event 2.0.107.png

Classes

Context

A context as used in the Persona data model

  • subClassOf: h:Context
  • 0..1 h:control
  • 0..1 template
  • 0..1 settings
  • 1..1 skos:prefLabel

CardContext

A special kind of context that acts as a visual link to a p:Person entity (via the resource attribute). It inherits from p:Context and h:Context a set of attributes. The values of these inherited attributes are duplicated from and thus identical to the values of these inherited attributes of the regular, data context that contains the target of the resource attribute of this context.

  • subClassOf: Context
  • 1..1 resource
  • 1..1 backgroundColor
  • 0..1 image
  • 0..1 imageType

Attributes

Links

Back to the top