@OslcResourceShape(title="Automation Request Resource Shape",
describes="http://open-services.net/ns/auto#AutomationRequest")
@OslcNamespace(value="http://open-services.net/ns/auto#")
public final class AutomationRequest
extends org.eclipse.lyo.oslc4j.core.model.AbstractResource
Constructor and Description |
---|
AutomationRequest() |
AutomationRequest(URI about) |
public AutomationRequest()
public AutomationRequest(URI about)
protected URI getRdfType()
public void addContributor(URI contributor)
public void addCreator(URI creator)
public void addRdfType(URI rdfType)
public void addSubject(String subject)
public void addState(URI state)
public void addInputParameter(ParameterInstance parameter)
@OslcDescription(value="The person(s) who are responsible for the work needed to complete the automation request.") @OslcName(value="contributor") @OslcPropertyDefinition(value="http://purl.org/dc/terms/contributor") @OslcRange(value="http://xmlns.com/foaf/0.1/Person") @OslcTitle(value="Contributors") public URI[] getContributors()
@OslcDescription(value="Timestamp of resource creation.") @OslcPropertyDefinition(value="http://purl.org/dc/terms/created") @OslcReadOnly @OslcTitle(value="Created") public Date getCreated()
@OslcDescription(value="Creator or creators of resource.") @OslcName(value="creator") @OslcPropertyDefinition(value="http://purl.org/dc/terms/creator") @OslcRange(value="http://xmlns.com/foaf/0.1/Person") @OslcTitle(value="Creators") public URI[] getCreators()
@OslcDescription(value="Descriptive text (reference: Dublin Core) about resource represented as rich text in XHTML content.") @OslcPropertyDefinition(value="http://purl.org/dc/terms/description") @OslcTitle(value="Description") @OslcValueType(value=XMLLiteral) public String getDescription()
@OslcDescription(value="A unique identifier for a resource. Assigned by the service provider when a resource is created. Not intended for end-user display.") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://purl.org/dc/terms/identifier") @OslcReadOnly @OslcTitle(value="Identifier") public String getIdentifier()
@OslcDescription(value="Resource Shape that provides hints as to resource property value-types and allowed values. ") @OslcPropertyDefinition(value="http://open-services.net/ns/core#instanceShape") @OslcRange(value="http://open-services.net/ns/core#ResourceShape") @OslcTitle(value="Instance Shape") public URI getInstanceShape()
@OslcDescription(value="Timestamp last latest resource modification.") @OslcPropertyDefinition(value="http://purl.org/dc/terms/modified") @OslcReadOnly @OslcTitle(value="Modified") public Date getModified()
@OslcDescription(value="The resource type URIs.") @OslcName(value="type") @OslcPropertyDefinition(value="http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcTitle(value="Types") public URI[] getRdfTypes()
@OslcDescription(value="The scope of a resource is a URI for the resource\'s OSLC Service Provider.") @OslcPropertyDefinition(value="http://open-services.net/ns/core#serviceProvider") @OslcTitle(value="Service Provider") public URI getServiceProvider()
@OslcDescription(value="Used to indicate the desired state of the Automation Request based on values defined by the service provider.") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#desiredState") @OslcName(value="desiredState") @OslcOccurs(value=ZeroOrOne) @OslcTitle(value="Desired State") @OslcAllowedValue(value={"http://open-services.net/ns/auto#http://open-services.net/ns/auto#new","http://open-services.net/ns/auto#http://open-services.net/ns/auto#inProgress","http://open-services.net/ns/auto#http://open-services.net/ns/auto#queued","http://open-services.net/ns/auto#http://open-services.net/ns/auto#canceling","http://open-services.net/ns/auto#http://open-services.net/ns/auto#canceled","http://open-services.net/ns/auto#http://open-services.net/ns/auto#complete"}) public URI getDesiredState()
@OslcDescription(value="Automation Plan run by the Automation Request.") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#executesAutomationPlan") @OslcName(value="executesAutomationPlan") @OslcOccurs(value=ExactlyOne) @OslcTitle(value="Executes Automation Plan") public org.eclipse.lyo.oslc4j.core.model.Link getExecutesAutomationPlan()
@OslcDescription(value="Tag or keyword for a resource. Each occurrence of a dcterms:subject property denotes an additional tag for the resource.") @OslcName(value="subject") @OslcPropertyDefinition(value="http://purl.org/dc/terms/subject") @OslcReadOnly(value=false) @OslcTitle(value="Subjects") public String[] getSubjects()
@OslcDescription(value="Title (reference: Dublin Core) or often a single line summary of the resource represented as rich text in XHTML content.") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://purl.org/dc/terms/title") @OslcTitle(value="Title") @OslcValueType(value=XMLLiteral) public String getTitle()
@OslcDescription(value="Used to indicate the state of the automation request based on values defined by the service provider.") @OslcOccurs(value=OneOrMany) @OslcReadOnly(value=true) @OslcName(value="state") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#state") @OslcTitle(value="States") @OslcAllowedValue(value={"http://open-services.net/ns/auto#http://open-services.net/ns/auto#new","http://open-services.net/ns/auto#http://open-services.net/ns/auto#inProgress","http://open-services.net/ns/auto#http://open-services.net/ns/auto#queued","http://open-services.net/ns/auto#http://open-services.net/ns/auto#canceling","http://open-services.net/ns/auto#http://open-services.net/ns/auto#canceled","http://open-services.net/ns/auto#http://open-services.net/ns/auto#complete"}) public URI[] getStates()
@OslcDescription(value="Parameters provided when Automation Requests are created.") @OslcOccurs(value=ZeroOrMany) @OslcName(value="inputParameter") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#inputParameter") @OslcReadOnly(value=false) @OslcTitle(value="Input Parameter") public ParameterInstance[] getInputParameters()
public void setContributors(URI[] contributors)
public void setCreated(Date created)
public void setCreators(URI[] creators)
public void setDescription(String description)
public void setIdentifier(String identifier)
public void setInstanceShape(URI instanceShape)
public void setModified(Date modified)
public void setRdfTypes(URI[] rdfTypes)
public void setServiceProvider(URI serviceProvider)
public void setDesiredState(URI desiredState)
public void setExecutesAutomationPlan(org.eclipse.lyo.oslc4j.core.model.Link executesAutomationPlan)
public void setSubjects(String[] subjects)
public void setTitle(String title)
public void setStates(URI[] states)
public void setInputParameters(ParameterInstance[] parameters)
Copyright © 2020. All rights reserved.