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 "Persona Change Events"

(Add)
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}  
 
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}  
  
This document describes a proposed ontology to describe attribute change events.
+
This document describes a proposed ontology to describe attribute change history.
 +
* ontology: https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/ontology/org.eclipse.higgins.ontology/event.owl
 +
* example shown below: https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/ontology/org.eclipse.higgins.ontology.examples/event-example.n3
  
 
=== Classes ===
 
=== Classes ===
  
 
==== <code>Event</code>====
 
==== <code>Event</code>====
* abstract base class
+
* Change event. Abstract superclass. Subclasses describes changes to an attribute <code>attribute</code> of some entity <code>entity</code> that happened at dateTime <code>at</code>
 +
* exactly 1 <code>at</code> attribute value
 +
* exactly 1 <code>attribute</code> attribute value
 +
* exactly 1 <code>entity</code> attribute value
  
 
==== <code>Get</code>====
 
==== <code>Get</code>====
 +
* One or more values of attribute "attribute" of entity "entity" was read at dateTime "at"
 
* subclass of <code>Event</code>
 
* subclass of <code>Event</code>
  
Line 14: Line 20:
 
* New value "value"(s) was/were added to attribute "attribute" of entity "entity" at dateTime "at"
 
* New value "value"(s) was/were added to attribute "attribute" of entity "entity" at dateTime "at"
 
* subclass of <code>Event</code>
 
* subclass of <code>Event</code>
 +
* min of 1 value attribute values
  
 
==== <code>Modify</code>====
 
==== <code>Modify</code>====
 +
* The attribute "attribute" of entity "entity" was modified at datetime "at". The value "oldValue" was replaced with value(s) "newValue"
 
* subclass of <code>Event</code>
 
* subclass of <code>Event</code>
 +
* exactly 1 <code>oldValue</code>
 +
* min of 1 <code>value</code>
  
 
==== <code>Delete</code>====
 
==== <code>Delete</code>====
Line 22: Line 32:
  
 
=== Complex Attributes ===
 
=== Complex Attributes ===
 +
 +
==== attribute ====
 +
* The affected attribute.
 +
 +
==== change ====
 +
* Change event(s) that have happened.
 +
* value: Event
 +
 +
==== entity ====
 +
* The affected entity
 +
 +
=== Simple/Complex Attribute ===
 +
 +
==== oldValue ====
 +
* Old value of an attribute
 +
* used by: Delete, Modify
 +
 +
==== value ====
 +
* New value(s) of an attribute
 +
* used by: Add, Modify
 +
 
=== Simple Attributes ===
 
=== Simple Attributes ===
  
====<code>account</code>====
+
====<code>at</code>====
Account information required for authentication.
+
* When this <code>Event</code> happened.
value: <code>Account</code>  
+
* value: xsd:dateTime
 +
* used by: <code>Event</code>
 +
 
 +
== Examples  ==
 +
 
 +
The following examples show the Event sub-class instances that are created to when two attributes (username and password) are changed on an Account instance.
 +
 
 +
=== Add  ===
 +
 
 +
On Jan 1 2010 we added the value "billClinton" to the attribute "p:username". Not shown is an optional "change" back link from Account_1 to Add_1.
 +
 
 +
[[Image:Add-event.png|center]]
 +
 
 +
On Jan 1 2010 we added the value "password" to the attribute "p:password". Not shown is an optional "change" back link from Account_1 to Add_2.
 +
 
 +
[[Image:Add2-event.png|center]]
 +
 
 +
=== Delete  ===
 +
 
 +
On June 15 2010 we deleted the value "billClinton" of the attribute "p:username". Not shown is an optional "change" back link from Account_1 to Add_1. <br>  
  
 +
[[Image:Delete-event.png|center]]
  
[[Image:Change password event.png|center]]
+
=== Modify  ===
  
and
+
On March 15 2010 we modified the old value "password" of the attribute "p:password" to the new value "batman". Not shown is an optional "change" back link from Account_1 to Modify_1. <br>
  
[[Image:Modify event.png|center]]
+
[[Image:Modify-event.png|center]]
  
 
==See Also==
 
==See Also==
 
* [[Persona Data Model 2.0]]
 
* [[Persona Data Model 2.0]]

Latest revision as of 01:16, 16 June 2010

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}

This document describes a proposed ontology to describe attribute change history.

Classes

Event

  • Change event. Abstract superclass. Subclasses describes changes to an attribute attribute of some entity entity that happened at dateTime at
  • exactly 1 at attribute value
  • exactly 1 attribute attribute value
  • exactly 1 entity attribute value

Get

  • One or more values of attribute "attribute" of entity "entity" was read at dateTime "at"
  • subclass of Event

Add

  • New value "value"(s) was/were added to attribute "attribute" of entity "entity" at dateTime "at"
  • subclass of Event
  • min of 1 value attribute values

Modify

  • The attribute "attribute" of entity "entity" was modified at datetime "at". The value "oldValue" was replaced with value(s) "newValue"
  • subclass of Event
  • exactly 1 oldValue
  • min of 1 value

Delete

  • subclass of Event

Complex Attributes

attribute

  • The affected attribute.

change

  • Change event(s) that have happened.
  • value: Event

entity

  • The affected entity

Simple/Complex Attribute

oldValue

  • Old value of an attribute
  • used by: Delete, Modify

value

  • New value(s) of an attribute
  • used by: Add, Modify

Simple Attributes

at

  • When this Event happened.
  • value: xsd:dateTime
  • used by: Event

Examples

The following examples show the Event sub-class instances that are created to when two attributes (username and password) are changed on an Account instance.

Add

On Jan 1 2010 we added the value "billClinton" to the attribute "p:username". Not shown is an optional "change" back link from Account_1 to Add_1.

Add-event.png

On Jan 1 2010 we added the value "password" to the attribute "p:password". Not shown is an optional "change" back link from Account_1 to Add_2.

Add2-event.png

Delete

On June 15 2010 we deleted the value "billClinton" of the attribute "p:username". Not shown is an optional "change" back link from Account_1 to Add_1.

Delete-event.png

Modify

On March 15 2010 we modified the old value "password" of the attribute "p:password" to the new value "batman". Not shown is an optional "change" back link from Account_1 to Modify_1.

Modify-event.png

See Also

Back to the top