Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Attribute"

(Definition)
(Definition)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
==Definition==
 
==Definition==
An Attribute is a sub-object of an [[Entity]] or a [[Context]]. Every Attribute has a URI-valued type.
+
* An Attribute is a sub-object of an [[Entity]] or a [[Context]].  
 +
* An Attribute has a URI-valued type.
 +
* An Attribute has one or more values
 +
* Each individual value may be simple (a literal) or complex (a structured value)
  
 
===Examples===
 
===Examples===
Line 7: Line 10:
 
The physical person Bob Smith might be represented as an [[Entity]] in the [[Context]] of his employer, the Port Control Authority. This [[Entity]] might have the following types of [[Identity Attribute]]s (and associated values) in this context:
 
The physical person Bob Smith might be represented as an [[Entity]] in the [[Context]] of his employer, the Port Control Authority. This [[Entity]] might have the following types of [[Identity Attribute]]s (and associated values) in this context:
 
* email-address = bob@portcontrol.gov
 
* email-address = bob@portcontrol.gov
* phone number = 617-555-1234
+
* phone number = {617-555-1234, 617-333-4321}
 
* passport information = ...etc.
 
* passport information = ...etc.
 
* fingerprint data = ...etc.
 
* fingerprint data = ...etc.
  
 
This same physical person Bob Smith is also represented as a [[Entity]] in a "customer-to-Clothes-R-Us" [[Context]] (this customer's relationship with the Clothes-R-Us merchant. In this [[Context]] Bob has these [[Identity Attribute]]s:
 
This same physical person Bob Smith is also represented as a [[Entity]] in a "customer-to-Clothes-R-Us" [[Context]] (this customer's relationship with the Clothes-R-Us merchant. In this [[Context]] Bob has these [[Identity Attribute]]s:
* platinumCustomer
+
* platinumCustomer = True
 
* preferredColor = "blue"
 
* preferredColor = "blue"
  

Revision as of 16:07, 31 January 2008

Definition

  • An Attribute is a sub-object of an Entity or a Context.
  • An Attribute has a URI-valued type.
  • An Attribute has one or more values
  • Each individual value may be simple (a literal) or complex (a structured value)

Examples

The physical person Bob Smith might be represented as an Entity in the Context of his employer, the Port Control Authority. This Entity might have the following types of Identity Attributes (and associated values) in this context:

  • email-address = bob@portcontrol.gov
  • phone number = {617-555-1234, 617-333-4321}
  • passport information = ...etc.
  • fingerprint data = ...etc.

This same physical person Bob Smith is also represented as a Entity in a "customer-to-Clothes-R-Us" Context (this customer's relationship with the Clothes-R-Us merchant. In this Context Bob has these Identity Attributes:

  • platinumCustomer = True
  • preferredColor = "blue"

HOWL


In Higgins

Types

In Higgins a Identity Attribute is identified by a URI that defines its type. The URI http://openschemas.org/2006/person/surname might indicate an Identity Attribute that represented a person's last name. The schema associated with the containing Context provides metadata about this URI.

Values

  • An Identity Attribute may have one or more values
  • The values may be literal types (defined by the XML Schema literal types) or complex (structured) values
  • A special kind of Identity Attribute is called a Subject Relation whose value is a reference to another Digital Subject in the same or a different Context
  • Some Identity Attributes are defined by the containing Context's schema to allow multiple unique values. For example the attribute preferredBreakfast might have the values {spam, eggs}, but it could not have the values {spam, spam, spam, eggs, spam}.

See Also

Back to the top