@OslcNamespace(value="http://open-services.net/ns/config#")
@OslcName(value="VersionResource")
@OslcResourceShape(title="VersionResource Resource Shape",
describes="http://open-services.net/ns/config#VersionResource")
public interface IVersionResource
Modifier and Type | Method and Description |
---|---|
void |
addCommitter(org.eclipse.lyo.oslc4j.core.model.Link committer) |
void |
addComponent(String component) |
void |
addContributor(org.eclipse.lyo.oslc4j.core.model.Link contributor) |
void |
addCreator(org.eclipse.lyo.oslc4j.core.model.Link creator) |
void |
addInstanceShape(org.eclipse.lyo.oslc4j.core.model.Link instanceShape) |
void |
addServiceProvider(org.eclipse.lyo.oslc4j.core.model.Link serviceProvider) |
void |
addSubject(String subject) |
void |
addType(org.eclipse.lyo.oslc4j.core.model.Link type) |
void |
addWasDerivedFrom(org.eclipse.lyo.oslc4j.core.model.Link wasDerivedFrom) |
void |
addWasRevisionOf(org.eclipse.lyo.oslc4j.core.model.Link wasRevisionOf) |
Date |
getCommitted() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getCommitter() |
Set<String> |
getComponent() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getContributor() |
Date |
getCreated() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getCreator() |
String |
getDescription() |
String |
getIdentifier() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getInstanceShape() |
org.eclipse.lyo.oslc4j.core.model.Link |
getIsVersionOf() |
Date |
getModified() |
org.eclipse.lyo.oslc4j.core.model.Link |
getModifiedBy() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getServiceProvider() |
String |
getShortId() |
String |
getShortTitle() |
Set<String> |
getSubject() |
String |
getTitle() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getType() |
String |
getVersionId() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getWasDerivedFrom() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getWasRevisionOf() |
void |
setCommitted(Date committed) |
void |
setCommitter(Set<org.eclipse.lyo.oslc4j.core.model.Link> committer) |
void |
setComponent(Set<String> component) |
void |
setContributor(Set<org.eclipse.lyo.oslc4j.core.model.Link> contributor) |
void |
setCreated(Date created) |
void |
setCreator(Set<org.eclipse.lyo.oslc4j.core.model.Link> creator) |
void |
setDescription(String description) |
void |
setIdentifier(String identifier) |
void |
setInstanceShape(Set<org.eclipse.lyo.oslc4j.core.model.Link> instanceShape) |
void |
setIsVersionOf(org.eclipse.lyo.oslc4j.core.model.Link isVersionOf) |
void |
setModified(Date modified) |
void |
setModifiedBy(org.eclipse.lyo.oslc4j.core.model.Link modifiedBy) |
void |
setServiceProvider(Set<org.eclipse.lyo.oslc4j.core.model.Link> serviceProvider) |
void |
setShortId(String shortId) |
void |
setShortTitle(String shortTitle) |
void |
setSubject(Set<String> subject) |
void |
setTitle(String title) |
void |
setType(Set<org.eclipse.lyo.oslc4j.core.model.Link> type) |
void |
setVersionId(String versionId) |
void |
setWasDerivedFrom(Set<org.eclipse.lyo.oslc4j.core.model.Link> wasDerivedFrom) |
void |
setWasRevisionOf(Set<org.eclipse.lyo.oslc4j.core.model.Link> wasRevisionOf) |
void addContributor(org.eclipse.lyo.oslc4j.core.model.Link contributor)
void addCreator(org.eclipse.lyo.oslc4j.core.model.Link creator)
void addSubject(String subject)
void addCommitter(org.eclipse.lyo.oslc4j.core.model.Link committer)
void addComponent(String component)
void addInstanceShape(org.eclipse.lyo.oslc4j.core.model.Link instanceShape)
void addServiceProvider(org.eclipse.lyo.oslc4j.core.model.Link serviceProvider)
void addType(org.eclipse.lyo.oslc4j.core.model.Link type)
void addWasDerivedFrom(org.eclipse.lyo.oslc4j.core.model.Link wasDerivedFrom)
void addWasRevisionOf(org.eclipse.lyo.oslc4j.core.model.Link wasRevisionOf)
@OslcName(value="contributor") @OslcPropertyDefinition(value="http://purl.org/dc/terms/contributor") @OslcDescription(value="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(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRange(value="http://xmlns.com/foaf/0.1/Person") @OslcReadOnly(value=false) Set<org.eclipse.lyo.oslc4j.core.model.Link> getContributor()
@OslcName(value="created") @OslcPropertyDefinition(value="http://purl.org/dc/terms/created") @OslcDescription(value="Timestamp of resource creation") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=DateTime) @OslcReadOnly(value=false) Date getCreated()
@OslcName(value="creator") @OslcPropertyDefinition(value="http://purl.org/dc/terms/creator") @OslcDescription(value="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(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRange(value="http://xmlns.com/foaf/0.1/Person") @OslcReadOnly(value=false) Set<org.eclipse.lyo.oslc4j.core.model.Link> getCreator()
@OslcName(value="description") @OslcPropertyDefinition(value="http://purl.org/dc/terms/description") @OslcDescription(value="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(value=ZeroOrOne) @OslcValueType(value=XMLLiteral) @OslcReadOnly(value=false) String getDescription()
@OslcName(value="identifier") @OslcPropertyDefinition(value="http://purl.org/dc/terms/identifier") @OslcDescription(value="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(value=ExactlyOne) @OslcValueType(value=String) @OslcReadOnly(value=false) String getIdentifier()
@OslcName(value="isVersionOf") @OslcPropertyDefinition(value="http://purl.org/dc/terms/isVersionOf") @OslcDescription(value="The concept resource of which this resource is a version. The subject of this property must be the version resource URI.") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcReadOnly(value=false) org.eclipse.lyo.oslc4j.core.model.Link getIsVersionOf()
@OslcName(value="modified") @OslcPropertyDefinition(value="http://purl.org/dc/terms/modified") @OslcDescription(value="Timestamp of latest resource modification") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=DateTime) @OslcReadOnly(value=false) Date getModified()
@OslcName(value="subject") @OslcPropertyDefinition(value="http://purl.org/dc/terms/subject") @OslcDescription(value="Tag or keyword for a resource. Each occurrence of a dcterms:subject property denotes an additional tag for the resource.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=String) @OslcReadOnly(value=false) @OslcTitle(value="") Set<String> getSubject()
@OslcName(value="title") @OslcPropertyDefinition(value="http://purl.org/dc/terms/title") @OslcDescription(value="Title of the resource represented as rich text in XHTML content. SHOULD include only content that is valid inside an XHTML <span> element.") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=XMLLiteral) @OslcReadOnly(value=false) String getTitle()
@OslcName(value="committed") @OslcPropertyDefinition(value="http://open-services.net/ns/config#committed") @OslcDescription(value="Date and time this version resource was checked in. Absent for mutable (checked out) versions.") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=DateTime) @OslcReadOnly(value=false) Date getCommitted()
@OslcName(value="committer") @OslcPropertyDefinition(value="http://open-services.net/ns/config#committer") @OslcDescription(value="The entity that checked in this version.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcReadOnly(value=true) Set<org.eclipse.lyo.oslc4j.core.model.Link> getCommitter()
@OslcName(value="component") @OslcPropertyDefinition(value="http://open-services.net/ns/config#component") @OslcDescription(value="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(value=ZeroOrMany) @OslcValueType(value=String) @OslcReadOnly(value=false) Set<String> getComponent()
@OslcName(value="versionId") @OslcPropertyDefinition(value="http://open-services.net/ns/config#versionId") @OslcDescription(value="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(value=ExactlyOne) @OslcValueType(value=String) @OslcReadOnly(value=false) String getVersionId()
@OslcName(value="instanceShape") @OslcPropertyDefinition(value="http://open-services.net/ns/core#instanceShape") @OslcDescription(value="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(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcReadOnly(value=false) Set<org.eclipse.lyo.oslc4j.core.model.Link> getInstanceShape()
@OslcName(value="modifiedBy") @OslcPropertyDefinition(value="http://open-services.net/ns/core#modifiedBy") @OslcDescription(value="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(value=ExactlyOne) @OslcValueType(value=Resource) @OslcReadOnly(value=false) org.eclipse.lyo.oslc4j.core.model.Link getModifiedBy()
@OslcName(value="serviceProvider") @OslcPropertyDefinition(value="http://open-services.net/ns/core#serviceProvider") @OslcDescription(value="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(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcReadOnly(value=false) Set<org.eclipse.lyo.oslc4j.core.model.Link> getServiceProvider()
@OslcName(value="shortId") @OslcPropertyDefinition(value="http://open-services.net/ns/core#shortId") @OslcDescription(value="Shorter form of dcterms:identifier for the resource, such as a number.") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=String) @OslcReadOnly(value=false) String getShortId()
@OslcName(value="shortTitle") @OslcPropertyDefinition(value="http://open-services.net/ns/core#shortTitle") @OslcDescription(value="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(value=ZeroOrOne) @OslcValueType(value=XMLLiteral) @OslcReadOnly(value=false) String getShortTitle()
@OslcName(value="type") @OslcPropertyDefinition(value="http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcDescription(value="The resource type URIs") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcReadOnly(value=false) Set<org.eclipse.lyo.oslc4j.core.model.Link> getType()
@OslcName(value="wasDerivedFrom") @OslcPropertyDefinition(value="http://www.w3.org/ns/prov#wasDerivedFrom") @OslcDescription(value="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(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcReadOnly(value=false) Set<org.eclipse.lyo.oslc4j.core.model.Link> getWasDerivedFrom()
@OslcName(value="wasRevisionOf") @OslcPropertyDefinition(value="http://www.w3.org/ns/prov#wasRevisionOf") @OslcDescription(value="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(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcReadOnly(value=false) Set<org.eclipse.lyo.oslc4j.core.model.Link> getWasRevisionOf()
void setContributor(Set<org.eclipse.lyo.oslc4j.core.model.Link> contributor)
void setCreated(Date created)
void setCreator(Set<org.eclipse.lyo.oslc4j.core.model.Link> creator)
void setDescription(String description)
void setIdentifier(String identifier)
void setIsVersionOf(org.eclipse.lyo.oslc4j.core.model.Link isVersionOf)
void setModified(Date modified)
void setTitle(String title)
void setCommitted(Date committed)
void setCommitter(Set<org.eclipse.lyo.oslc4j.core.model.Link> committer)
void setVersionId(String versionId)
void setInstanceShape(Set<org.eclipse.lyo.oslc4j.core.model.Link> instanceShape)
void setModifiedBy(org.eclipse.lyo.oslc4j.core.model.Link modifiedBy)
void setServiceProvider(Set<org.eclipse.lyo.oslc4j.core.model.Link> serviceProvider)
void setShortId(String shortId)
void setShortTitle(String shortTitle)
void setType(Set<org.eclipse.lyo.oslc4j.core.model.Link> type)
void setWasDerivedFrom(Set<org.eclipse.lyo.oslc4j.core.model.Link> wasDerivedFrom)
void setWasRevisionOf(Set<org.eclipse.lyo.oslc4j.core.model.Link> wasRevisionOf)
Copyright © 2020. All rights reserved.