Interface IComponent
- All Known Implementing Classes:
Component
@OslcNamespace("http://open-services.net/ns/config#")
@OslcName("Component")
@OslcResourceShape(title="Component Shape",
describes="http://open-services.net/ns/config#Component")
public interface IComponent
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddContributor(Link contributor) voidaddCreator(Link creator) voidaddInstanceShape(Link instanceShape) voidaddModifiedBy(Link modifiedBy) voidaddServiceProvider(Link serviceProvider) voidaddSubject(String subject) getTitle()voidsetConfigurations(Link configurations) voidsetContributor(Set<Link> contributor) voidsetCreated(Date created) voidsetCreator(Set<Link> creator) voidsetDescription(String description) voidsetIdentifier(String identifier) voidsetInstanceShape(Set<Link> instanceShape) voidsetModified(Date modified) voidsetModifiedBy(Set<Link> modifiedBy) voidsetServiceProvider(Set<Link> serviceProvider) voidsetShortId(String shortId) voidsetShortTitle(String shortTitle) voidsetSubject(Set<String> subject) void
-
Method Details
-
addContributor
-
addCreator
-
addSubject
-
addInstanceShape
-
addModifiedBy
-
addServiceProvider
-
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() -
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() -
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() -
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() -
getConfigurations
@OslcName("configurations") @OslcPropertyDefinition("http://open-services.net/ns/config#configurations") @OslcOccurs(ExactlyOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/config#Configuration") @OslcReadOnly(false) Link getConfigurations() -
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() -
setContributor
-
setCreated
-
setCreator
-
setIdentifier
-
setDescription
-
setModified
-
setSubject
-
setTitle
-
setConfigurations
-
setInstanceShape
-
setModifiedBy
-
setServiceProvider
-
setShortId
-
setShortTitle
-