Class VersionResource
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.domain.config.model.VersionResource
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://open-services.net/ns/config#") @OslcResourceShape(title="VersionResource Resource Shape", describes="http://open-services.net/ns/config#VersionResource") public class VersionResource extends AbstractResource
A referenceable state of a resource.See the OSLC Configuration Management specification for details:
https://tools.oasis-open.org/version-control/browse/wsvn/oslc-core/trunk/specs/config/oslc-config-mgt.html- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description VersionResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIdentifier()
URI
getIsVersionOf()
void
setIdentifier(String identifier)
void
setIsVersionOf(URI isVersionOf)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getIdentifier
@OslcDescription("A unique identifier for a resource. Assigned by the service provider when a resource is created. Not intended for end-user display.") @OslcOccurs(ZeroOrOne) @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcReadOnly(true) @OslcValueType(String) @OslcTitle("Identifier") public String getIdentifier()
-
setIdentifier
public void setIdentifier(String identifier)
-
getIsVersionOf
@OslcDescription("Indicates the resource of which this is a version.") @OslcPropertyDefinition("http://purl.org/dc/terms/isVersionOf") @OslcTitle("Version of Resource") @OslcName("isVersionOf") @OslcOccurs(ExactlyOne) @OslcReadOnly(true) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/config#VersionResource") public URI getIsVersionOf()
-
setIsVersionOf
public void setIsVersionOf(URI isVersionOf)
-
-