Package com.sodius.oslc.app.dng.requests
Class GetAttributeType
java.lang.Object
com.sodius.oslc.client.requests.AbstractResourceRequest<ResourceResponse<AttributeType>>
com.sodius.oslc.app.dng.requests.GetAttributeType
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<AttributeType>>,Callable<ResourceResponse<AttributeType>>
Reads the content of a DOORS Next attribute type.
Each requirement is described by a resource shape. The resource shape provides a collection of properties, to define the attributes and links available for the requirement. A property may provide a range, which may reference a custom attribute type defined by the project administrator in DOORS Next. This request is notably useful to determine the literals defined for an enumeration type, for example to later update a requirement with a proper literal URI.
- Since:
- 1.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionGetAttributeType(OslcClient client, URI uri) Creates a request to read the content of a DOORS Next attribute type. -
Method Summary
Modifier and TypeMethodDescriptionprotected ClientResponsecall(OslcResource resource) protected ResourceResponse<AttributeType> createResponse(OslcResource resource, ClientResponse response) Methods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
Constructor Details
-
GetAttributeType
Creates a request to read the content of a DOORS Next attribute type.- Parameters:
client- the OSLC client to connect to the application.uri- the URI of a DOORS Next attribute type. A oslc_config.context parameter can be added to this URI for using a specific configuration.
-
-
Method Details
-
call
- Specified by:
callin classAbstractResourceRequest<ResourceResponse<AttributeType>>
-
createResponse
protected ResourceResponse<AttributeType> createResponse(OslcResource resource, ClientResponse response) - Specified by:
createResponsein classAbstractResourceRequest<ResourceResponse<AttributeType>>
-