Resource Shape

Resource Shape specifies a Requirement's metadata; that is, the set of standard OSLC properties and custom Enterprise Architect properties. Resource Shape can be accessed using the URL:

http://<server>/<model_name>/oslc/rs/
 

The properties of both types specified in the Resource Shape map to specific fields in the Requirement's Properties dialog in Enterprise Architect. For each property, the Resource Shape can also specify constraints.

OSLC Properties

(These are as defined in the Dublin Core Metadata Element Set.)

Property Name

Requirement element Properties dialog field

title

Short Description

 

description

Notes

 

subject

Key Words

 

creator

Author

 

created

Created

 

modified

Last Updated

 

Custom Enterprise Architect properties

Property Name

Requirement element Properties dialog field

alias

Alias

 

status

Status

 

difficulty

Difficulty

 

priority

Priority

 

type

Type

 

phase

Phase

 

version

Version

 

Constraints

Constraint

Meaning

name

The name of the property.

 

valueType

The type of value the property can have, such as string, dateTime or integer.

 

occurs

The cardinality of the property; that is, whether the property is optional or required.

 

maxSize

The maximum number of characters for a string valueType.

 

allowedValue

The list of values that can be assigned for the property.

 

readOnly

Determines whether a value for the property can be set by the client.

 

Notes

The property identifier refers to a Requirement's unique Enterprise Architect GUID
The property packageID refers to the ID of the Package under which the Requirement exists in the model
 

Learn more

Dublin Core 1.1  (Online Resource)