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 "View-builder vocabulary"
(→Example) |
(→Example) |
||
Line 57: | Line 57: | ||
Here is a visual representation of the demographics group: | Here is a visual representation of the demographics group: | ||
− | [[Image:Demographics 2.0. | + | [[Image:Demographics 2.0.102b.png|center]] |
The demographics group shown above has slots whose attributes, fp:gender, fp:ageRange, fp:postalCode, are all from the [[Flat Persona vocabulary]]. | The demographics group shown above has slots whose attributes, fp:gender, fp:ageRange, fp:postalCode, are all from the [[Flat Persona vocabulary]]. | ||
Line 63: | Line 63: | ||
Here is a visual representation of the interests group: | Here is a visual representation of the interests group: | ||
− | [[Image:Interests 2.0. | + | [[Image:Interests 2.0.102b.png|center]] |
The interests group shown above has a frame whose attribute is the complex valued attribute, online-behavior:interest. The frame in turn has a slot whose attribute is rdf:class. In other words the presentation logic should render the name of class of the instance (e.g. "Humor > Satire" or "World Destinations > Africa > East Africa > Nigeria"). | The interests group shown above has a frame whose attribute is the complex valued attribute, online-behavior:interest. The frame in turn has a slot whose attribute is rdf:class. In other words the presentation logic should render the name of class of the instance (e.g. "Humor > Satire" or "World Destinations > Africa > East Africa > Nigeria"). |
Revision as of 23:37, 27 February 2011
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}Vocabulary to describe a "view" of a context. A view is a tree structure of groups of attributes to be displayed/edited.
Contents
Files
UML Overview
Classes
Frame
Group
A logical group of Fields and/or sub-Groups
- 1..1 displayOrder
- 0..N field
- 1..1 skos:prefLable
- 0..N subgroup
Slot
Metadata about how an attribute in the Persona vocabulary should be presented
- 1..1 attribute
- 1..1 displayOrder
Attributes
attribute
The attribute that should be displayed in this field. The attribute may be in the Flat Persona vocabulary or in the Persona vocabulary (or one of its imported sub-vocabularies).
- domain: Field
- value: rdf:Property
field
A field of a Group
- domain: Group
- value: Field
subgroup
A child of a Group
- domain: Group
- value: Group
displayOrder
A number that indicates the relative position with respect to the displayOrder of sibling objects with this same attribute. Lower numbers indicate precedence.
- domain: Field or Group
- value: xsd:Integer
Example
Here is an example of a view:
Here is a visual representation of the demographics group:
The demographics group shown above has slots whose attributes, fp:gender, fp:ageRange, fp:postalCode, are all from the Flat Persona vocabulary.
Here is a visual representation of the interests group:
The interests group shown above has a frame whose attribute is the complex valued attribute, online-behavior:interest. The frame in turn has a slot whose attribute is rdf:class. In other words the presentation logic should render the name of class of the instance (e.g. "Humor > Satire" or "World Destinations > Africa > East Africa > Nigeria").