Identifying application objects as OSLC resources

OSLC resources are implemented by object structures. You define OSLC resources that are based on the associated object structure so that users can create, query, or update the resources in the consumer application.

About this task

You can associate an OSLC resource with an OSLC domain. You can specify an existing domain and namespaces for the resource, but you can also define a new domain and namespaces from the Select Action menu of the OSLC Resources application. If the resource uses an existing domain, the namespaces are already specified by that domain. Every OSLC domain is represented by an OSLC service provider that lists all the query capabilities and creation factories for the OSLC resources that belong to that domain.

Each OSLC resource type has properties that are RDF predicates that might belong to a vocabulary specification that corresponds to the properties namespace. By using the OSLC Resources application, you can map the object structure business objects and their attributes to the properties that are defined in vocabulary specifications such as Dublin Core.

You cannot change the existing common properties and error code mappings, but you can create new properties and mappings from the Select Action menu.

Procedure

  1. In the OSLC Resources application, create a resource and specify the name, object structure, and default namespace URI of the new resource. The object structure must be configured as consumed by OSLC.
  2. In the OSLC Resource Details window, specify a property name, a namespace, and the property value type and namespace for each resource detail. The property name and namespace serve as the predicate for the OSLC resource. The value name and namespace serve as the object name (RDF type) for the value.
  3. In the OSLC Resource Mappings window, create a row for each attribute that you want to map, and specify the details of the attributes. You can map attributes to the OSLC resource directly or you can use related resources from object structures.
  4. Save the OSLC resource.


Feedback