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"

(Attributes)
(Example)
Line 28: Line 28:
 
* value: persona:Role
 
* value: persona:Role
  
==Example==
 
  
Here is a sample RCardTemplateContext. It contains all of the metadata necessary to dynamically create the UDI service endpoint shown in this [http://www.azigo.com/udi/udi-resolution.html#anchor3 sample] XRDS discovery document.
 
 
<http://org.eclipse.higgins.ontology.examples/template-example>
 
      rdf:type owl:Ontology , template:RCardTemplateContext ;
 
      app-data:appData :AppData_1 ;
 
      higgins:vocabulary <http://www.eclipse.org/higgins/ontologies/2010/6/persona> ;
 
      template:authNMaterialsType
 
              "urn:udi:authnmaterials:1.0:usernamePassword"^^xsd:string ;
 
      template:contextType
 
              "$context$xdi"^^xsd:string ;
 
      template:udiMetadata
 
              :UDIMetadata_1 ;
 
      owl:imports <http://www.eclipse.org/higgins/ontologies/2010/6/persona> .
 
 
:AppData_1
 
      rdf:type app-data:AppData ;
 
      app-data:appId "1024"^^xsd:string ;
 
      app-data:description
 
              "A wonderful app"^^xsd:string ;
 
      app-data:serviceType
 
              "kynetx"^^xsd:string ;
 
      app-data:serviceURL "http://kynetx.com/appServer"^^xsd:anyURI ;
 
      app-data:version "2.4"^^xsd:string .
 
 
:UDIMetadata_1
 
      rdf:type template:UDIMetadata ;
 
      :address "ldap://ldap.company.net:389"^^xsd:string ;
 
      :connectionType "LDAP"^^xsd:string .
 
 
:address
 
      rdf:type owl:DatatypeProperty ;
 
      rdfs:domain template:UDIMetadata ;
 
      rdfs:range xsd:string .
 
 
:connectionType
 
      rdf:type owl:DatatypeProperty ;
 
      rdfs:domain template:UDIMetadata ;
 
      rdfs:range xsd:string .
 
 
 
Or visually:
 
[[Image:Revised-template.png|center]]
 
  
 
== Links ==
 
== Links ==

Revision as of 21:30, 18 July 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.104.png

Classes

TemplateContext

May contain a view-builder:viewRoot attribute; may contain a subclass of person:Person (which in turn may have mapping rules). Superclass of RCardTemplateContext

Attributes

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


Links

Back to the top