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 "Template vocabulary"

(UML Overview)
(Classes)
Line 12: Line 12:
  
 
==Classes==
 
==Classes==
 +
 +
 +
  
 
===TemplateContext===
 
===TemplateContext===
Line 17: Line 20:
  
 
* subclassOf ctxt:Context (see [[Context vocabulary]])
 
* subclassOf ctxt:Context (see [[Context vocabulary]])
* 0..1 templateRole
 
* 0..1 view-builder:viewRoot (see [[View-builder vocabulary]])
 
* 0..1 app-data:appData (see [[App-data vocabulary]])
 
* 0..1 image
 
* 0..1 imageType
 
* 0..N desired
 
* 0..N required
 
* 0..N provided
 
  
 
==Attributes==
 
==Attributes==

Revision as of 19:40, 14 August 2011

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
Higgins logo 76Wx100H.jpg

Vocabulary to describe a Template Context. Contains information necessary to dynamically instantiate regular contexts. Part of the Persona Data Model 2.0.

Files

UML Overview

Template 2.0.102.png

Classes

TemplateContext

A TemplateContext is an abstract class for a context whose attributes act analogous to a "class" for regular context "instances".

Attributes

desired

Attribute desired by card issuer. Value is an attribute defined by persona.owl or fp.owl

  • domain: TemplateContext
  • value: rdf:Property

image

Background image to use in CardProxies that point to contexts instantiated from this template context.

  • domain: Card
  • value: xsd:base64

imageType

Background image to use in CardProxies that point to contexts instantiated from this template context.

  • domain: Card
  • one of ("JPG", "GIF", "PNG")

provided

Attribute provided by card issuer. Value is an attribute defined by persona.owl or fp.owl

  • domain: TemplateContext
  • value: rdf:Property

required

Attribute required by card issuer. Value is an attribute defined by persona.owl or fp.owl

  • domain: TemplateContext
  • value: rdf:Property

role

Default role played by Person entity in contexts instantiated from this template

  • domain: TemplateContext
  • value: persona:Role

templateRole

The default role that p:Person nodes should inherit when dynamically created with contexts controlled by on this template

  • domain: TemplateContext
  • value: persona:Role

Example

Example of a NYTimes template (image data is truncated):

 :TemplateContext_1
     rdf:type template:TemplateContext ;
     template:desired fp:yearOfBirth ;
     template:image "00ffafdcee224432"^^xsd:base64Binary ;
     template:imageType "PNG"^^xsd:string ;
     template:required fp:email , fp:ageRange , fp:familyName , fp:givenName , fp:postalCode .

Links

Back to the top