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"

(Examples)
Line 60: Line 60:
 
== Examples  ==
 
== Examples  ==
  
=== Add ===
+
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 "billClinton" to the attribute "p:username". Not shown is an optional "change" back link from Account_1 to Add_1.  
Line 72: Line 74:
 
=== Delete  ===
 
=== 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>
+
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:Delete-event.png|center]]  
Line 78: Line 80:
 
=== Modify  ===
 
=== 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. <br>
+
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]]

Revision as of 01:02, 16 June 2010

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

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

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