Interface IVersionResource
-
- All Known Implementing Classes:
VersionResource
@OslcNamespace("http://open-services.net/ns/config#") @OslcName("VersionResource") @OslcResourceShape(title="VersionResource Shape", describes="http://open-services.net/ns/config#VersionResource") public interface IVersionResource
-
-
Method Summary
-
-
-
Method Detail
-
addContributor
void addContributor(Link contributor)
-
addCreator
void addCreator(Link creator)
-
addSubject
void addSubject(String subject)
-
addCommitter
void addCommitter(Link committer)
-
addComponent
void addComponent(String component)
-
addInstanceShape
void addInstanceShape(Link instanceShape)
-
addServiceProvider
void addServiceProvider(Link serviceProvider)
-
addType
void addType(Link type)
-
addWasDerivedFrom
void addWasDerivedFrom(Link wasDerivedFrom)
-
addWasRevisionOf
void addWasRevisionOf(Link wasRevisionOf)
-
getContributor
@OslcName("contributor") @OslcPropertyDefinition("http://purl.org/dc/terms/contributor") @OslcDescription("Contributor or contributors to the resource. It is likely that the target resource will be a foaf:Person but that is not necessarily the case.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcReadOnly(false) Set<Link> getContributor()
-
getCreated
@OslcName("created") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcDescription("Timestamp of resource creation") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) Date getCreated()
-
getCreator
@OslcName("creator") @OslcPropertyDefinition("http://purl.org/dc/terms/creator") @OslcDescription("Creator or creators of the resource. It is likely that the target resource will be a foaf:Person but that is not necessarily the case.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcReadOnly(false) Set<Link> getCreator()
-
getDescription
@OslcName("description") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcDescription("Descriptive text about resource represented as rich text in XHTML content. SHOULD include only content that is valid and suitable inside an XHTML <div> element.") @OslcOccurs(ZeroOrOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) String getDescription()
-
getIdentifier
@OslcName("identifier") @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcDescription("A unique identifier for a resource. Typically read-only and assigned by the service provider when a resource is created. Not typically intended for end-user display.") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) String getIdentifier()
-
getIsVersionOf
@OslcName("isVersionOf") @OslcPropertyDefinition("http://purl.org/dc/terms/isVersionOf") @OslcDescription("The concept resource of which this resource is a version. The subject of this property must be the version resource URI.") @OslcOccurs(ExactlyOne) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) Link getIsVersionOf()
-
getModified
@OslcName("modified") @OslcPropertyDefinition("http://purl.org/dc/terms/modified") @OslcDescription("Timestamp of latest resource modification") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) Date getModified()
-
getSubject
@OslcName("subject") @OslcPropertyDefinition("http://purl.org/dc/terms/subject") @OslcDescription("Tag or keyword for a resource. Each occurrence of a dcterms:subject property denotes an additional tag for the resource.") @OslcOccurs(ZeroOrMany) @OslcValueType(String) @OslcReadOnly(false) @OslcTitle("") Set<String> getSubject()
-
getTitle
@OslcName("title") @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcDescription("Title of the resource represented as rich text in XHTML content. SHOULD include only content that is valid inside an XHTML <span> element.") @OslcOccurs(ExactlyOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) String getTitle()
-
getCommitted
@OslcName("committed") @OslcPropertyDefinition("http://open-services.net/ns/config#committed") @OslcDescription("Date and time this version resource was checked in. Absent for mutable (checked out) versions.") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) Date getCommitted()
-
getCommitter
@OslcName("committer") @OslcPropertyDefinition("http://open-services.net/ns/config#committer") @OslcDescription("The entity that checked in this version.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcReadOnly(true) Set<Link> getCommitter()
-
getComponent
@OslcName("component") @OslcPropertyDefinition("http://open-services.net/ns/config#component") @OslcDescription("The component to which this version belongs. Configuration Management provider should indicate the owning component for each version resource using either this property, or using the membership relationship from the component LDPC.") @OslcOccurs(ZeroOrMany) @OslcValueType(String) @OslcReadOnly(false) Set<String> getComponent()
-
getVersionId
@OslcName("versionId") @OslcPropertyDefinition("http://open-services.net/ns/config#versionId") @OslcDescription("A short human-readable identifier for the version of a resource. All versioned resources should have this property; where the property is present, this identifier must be unique amongst all currently existing versions of the same concept resource. The subject of this property should be the concept resource URI.") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) String getVersionId()
-
getInstanceShape
@OslcName("instanceShape") @OslcPropertyDefinition("http://open-services.net/ns/core#instanceShape") @OslcDescription("The URI of a Resource Shape that describes the possible properties, occurrence, value types, allowed values and labels. This shape information is useful in displaying the subject resource as well as guiding clients in performing modifications. Instance shapes may be specific to the authenticated user associated with the request that retrieved the resource, the current state of the resource and other factors and thus should not be cached.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) Set<Link> getInstanceShape()
-
getModifiedBy
@OslcName("modifiedBy") @OslcPropertyDefinition("http://open-services.net/ns/core#modifiedBy") @OslcDescription("The URI of a resource describing the entity that most recently modified the subject resource. The link target is usually a foaf:Person or foaf:Agent, but could be any type. This is modeled after dcterms:creator, but Dublin Core currently has no equivalent property.") @OslcOccurs(ExactlyOne) @OslcValueType(Resource) @OslcReadOnly(false) Link getModifiedBy()
-
getServiceProvider
@OslcName("serviceProvider") @OslcPropertyDefinition("http://open-services.net/ns/core#serviceProvider") @OslcDescription("A link to the resource\'s OSLC Service Provider. There may be cases when the subject resource is available from a service provider that implements multiple domain specifications, which could result in multiple values for this property.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) Set<Link> getServiceProvider()
-
getShortId
@OslcName("shortId") @OslcPropertyDefinition("http://open-services.net/ns/core#shortId") @OslcDescription("Shorter form of dcterms:identifier for the resource, such as a number.") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) String getShortId()
-
getShortTitle
@OslcName("shortTitle") @OslcPropertyDefinition("http://open-services.net/ns/core#shortTitle") @OslcDescription("Shorter form of dcterms:title for the resource represented as rich text in XHTML content. SHOULD include only content that is valid inside an XHTML <span> element.") @OslcOccurs(ZeroOrOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) String getShortTitle()
-
getType
@OslcName("type") @OslcPropertyDefinition("http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcDescription("The resource type URIs") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcReadOnly(false) Set<Link> getType()
-
getWasDerivedFrom
@OslcName("wasDerivedFrom") @OslcPropertyDefinition("http://www.w3.org/ns/prov#wasDerivedFrom") @OslcDescription("A resource from which this version was derived. This is likely to reference a different concept resource; use of prov:wasRevisionOf is recommended to indicate an earlier version of the same concept resource. The subject of each instance of this property must be the concept resource URI; the object can be a version resource URI, or a concept resource URI (possibly for a non-versioned resource).") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) Set<Link> getWasDerivedFrom()
-
getWasRevisionOf
@OslcName("wasRevisionOf") @OslcPropertyDefinition("http://www.w3.org/ns/prov#wasRevisionOf") @OslcDescription("A resource from which this version was derived. This is likely to reference an earlier version of the same concept resource; use of prov:wasDerivedFrom is recommended to indicate an earlier version of a different concept resource. The subject of each instance of this property must be the concept resource URI; the object is likely to be a version resource URI.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) Set<Link> getWasRevisionOf()
-
setCreated
void setCreated(Date created)
-
setDescription
void setDescription(String description)
-
setIdentifier
void setIdentifier(String identifier)
-
setIsVersionOf
void setIsVersionOf(Link isVersionOf)
-
setModified
void setModified(Date modified)
-
setTitle
void setTitle(String title)
-
setCommitted
void setCommitted(Date committed)
-
setVersionId
void setVersionId(String versionId)
-
setModifiedBy
void setModifiedBy(Link modifiedBy)
-
setShortId
void setShortId(String shortId)
-
setShortTitle
void setShortTitle(String shortTitle)
-
-