Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Persona Change Events"
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 | + | This document describes a proposed ontology to describe attribute change history. |
=== Classes === | === Classes === |
Revision as of 01:03, 16 June 2010
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
This document describes a proposed ontology to describe attribute change history.
Contents
Classes
Event
- Change event. Abstract superclass. Subclasses describes changes to an attribute
attribute
of some entityentity
that happened at dateTimeat
- 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.
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.
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.
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.