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
Modifier and TypeMethodDescriptionvoid
addCommitter
(Link committer) void
addContributor
(Link contributor) void
addCreator
(Link creator) void
addInstanceShape
(Link instanceShape) void
addModifiedBy
(Link modifiedBy) void
addServiceProvider
(Link serviceProvider) void
addSubject
(String subject) void
addWasDerivedFrom
(Link wasDerivedFrom) void
addWasRevisionOf
(Link wasRevisionOf) getTitle()
void
setArchived
(Boolean archived) void
setCommitted
(Date committed) void
setCommitter
(Set<Link> committer) void
setComponent
(Link component) void
setContributor
(Set<Link> contributor) void
setCreated
(Date created) void
setCreator
(Set<Link> creator) void
setDescription
(String description) void
setIdentifier
(String identifier) void
setInstanceShape
(Set<Link> instanceShape) void
setIsVersionOf
(Link isVersionOf) void
setModified
(Date modified) void
setModifiedBy
(Set<Link> modifiedBy) void
setServiceProvider
(Set<Link> serviceProvider) void
setShortId
(String shortId) void
setShortTitle
(String shortTitle) void
setSubject
(Set<String> subject) void
void
setVersionId
(String versionId) void
setWasDerivedFrom
(Set<Link> wasDerivedFrom) void
setWasRevisionOf
(Set<Link> wasRevisionOf)
-
Method Details
-
addContributor
-
addCreator
-
addSubject
-
addCommitter
-
addInstanceShape
-
addModifiedBy
-
addServiceProvider
-
addWasDerivedFrom
-
addWasRevisionOf
-
getContributor
@OslcName("contributor") @OslcPropertyDefinition("http://purl.org/dc/terms/contributor") @OslcDescription("Contributor or contributors to the resource. The link target is usually a foaf:Person or foaf:Agent, but could be any type.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRange({"http://xmlns.com/foaf/0.1/Person","http://xmlns.com/foaf/0.1/Agent"}) @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. The link target is usually a foaf:Person or foaf:Agent, but could be any type") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRange({"http://xmlns.com/foaf/0.1/Person","http://xmlns.com/foaf/0.1/Agent"}) @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) @OslcRange("http://open-services.net/ns/config#ConceptResource") @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) @OslcRange({"http://xmlns.com/foaf/0.1/Person","http://xmlns.com/foaf/0.1/Agent"}) @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(ZeroOrOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/config#Component") @OslcReadOnly(false) Link 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() -
isArchived
@OslcName("archived") @OslcPropertyDefinition("http://open-services.net/ns/core#archived") @OslcOccurs(ZeroOrOne) @OslcValueType(Boolean) @OslcReadOnly(false) Boolean isArchived() -
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 entity that most recently modified the subject resource. The link target is usually a foaf:Person or foaf:Agent, but could be any type.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRange({"http://xmlns.com/foaf/0.1/Agent","http://xmlns.com/foaf/0.1/Person"}) @OslcReadOnly(false) Set<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() -
getWasDerivedFrom
@OslcName("wasDerivedFrom") @OslcPropertyDefinition("http://www.w3.org/ns/prov#wasDerivedFrom") @OslcDescription("") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/config#ConceptResource") @OslcReadOnly(false) Set<Link> getWasDerivedFrom() -
getWasRevisionOf
@OslcName("wasRevisionOf") @OslcPropertyDefinition("http://www.w3.org/ns/prov#wasRevisionOf") @OslcDescription("") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/config#VersionResource") @OslcReadOnly(false) Set<Link> getWasRevisionOf() -
setContributor
-
setCreated
-
setCreator
-
setDescription
-
setIdentifier
-
setIsVersionOf
-
setModified
-
setSubject
-
setTitle
-
setCommitted
-
setCommitter
-
setComponent
-
setVersionId
-
setArchived
-
setInstanceShape
-
setModifiedBy
-
setServiceProvider
-
setShortId
-
setShortTitle
-
setWasDerivedFrom
-
setWasRevisionOf
-