Class AutomationRequest

java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.client.oslc.resources.AutomationRequest
All Implemented Interfaces:
IExtendedResource, IResource

@Deprecated @OslcResourceShape(title="Automation Request Resource Shape", describes="http://open-services.net/ns/auto#AutomationRequest") @OslcNamespace("http://open-services.net/ns/auto#") public class AutomationRequest extends AbstractResource
Deprecated.
See Also:
  • Constructor Details

    • AutomationRequest

      public AutomationRequest()
      Deprecated.
    • AutomationRequest

      public AutomationRequest(URI about)
      Deprecated.
  • Method Details

    • getRdfType

      protected URI getRdfType()
      Deprecated.
    • addContributor

      public void addContributor(URI contributor)
      Deprecated.
    • addCreator

      public void addCreator(URI creator)
      Deprecated.
    • addRdfType

      public void addRdfType(URI rdfType)
      Deprecated.
    • addSubject

      public void addSubject(String subject)
      Deprecated.
    • addState

      public void addState(URI state)
      Deprecated.
    • addInputParameter

      public void addInputParameter(ParameterInstance parameter)
      Deprecated.
    • getContributors

      @OslcDescription("The person(s) who are responsible for the work needed to complete the automation request.") @OslcName("contributor") @OslcPropertyDefinition("http://purl.org/dc/terms/contributor") @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcTitle("Contributors") public URI[] getContributors()
      Deprecated.
    • getCreated

      @OslcDescription("Timestamp of resource creation.") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcReadOnly @OslcTitle("Created") public Date getCreated()
      Deprecated.
    • getCreators

      @OslcDescription("Creator or creators of resource.") @OslcName("creator") @OslcPropertyDefinition("http://purl.org/dc/terms/creator") @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcTitle("Creators") public URI[] getCreators()
      Deprecated.
    • getDescription

      @OslcDescription("Descriptive text (reference: Dublin Core) about resource represented as rich text in XHTML content.") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcTitle("Description") @OslcValueType(XMLLiteral) public String getDescription()
      Deprecated.
    • getIdentifier

      @OslcDescription("A unique identifier for a resource. Assigned by the service provider when a resource is created. Not intended for end-user display.") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcReadOnly @OslcTitle("Identifier") public String getIdentifier()
      Deprecated.
    • getInstanceShape

      @OslcDescription("Resource Shape that provides hints as to resource property value-types and allowed values. ") @OslcPropertyDefinition("http://open-services.net/ns/core#instanceShape") @OslcRange("http://open-services.net/ns/core#ResourceShape") @OslcTitle("Instance Shape") public URI getInstanceShape()
      Deprecated.
    • getModified

      @OslcDescription("Timestamp last latest resource modification.") @OslcPropertyDefinition("http://purl.org/dc/terms/modified") @OslcReadOnly @OslcTitle("Modified") public Date getModified()
      Deprecated.
    • getRdfTypes

      @OslcDescription("The resource type URIs.") @OslcName("type") @OslcPropertyDefinition("http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcTitle("Types") public URI[] getRdfTypes()
      Deprecated.
    • getServiceProvider

      @OslcDescription("The scope of a resource is a URI for the resource\'s OSLC Service Provider.") @OslcPropertyDefinition("http://open-services.net/ns/core#serviceProvider") @OslcTitle("Service Provider") public URI getServiceProvider()
      Deprecated.
    • getDesiredState

      @OslcDescription("Used to indicate the desired state of the Automation Request based on values defined by the service provider.") @OslcPropertyDefinition("http://open-services.net/ns/auto#desiredState") @OslcName("desiredState") @OslcOccurs(ZeroOrOne) @OslcTitle("Desired State") @OslcAllowedValue({"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()
      Deprecated.
    • getExecutesAutomationPlan

      @OslcDescription("Automation Plan run by the Automation Request.") @OslcPropertyDefinition("http://open-services.net/ns/auto#executesAutomationPlan") @OslcName("executesAutomationPlan") @OslcOccurs(ExactlyOne) @OslcTitle("Executes Automation Plan") public Link getExecutesAutomationPlan()
      Deprecated.
    • getSubjects

      @OslcDescription("Tag or keyword for a resource. Each occurrence of a dcterms:subject property denotes an additional tag for the resource.") @OslcName("subject") @OslcPropertyDefinition("http://purl.org/dc/terms/subject") @OslcReadOnly(false) @OslcTitle("Subjects") public String[] getSubjects()
      Deprecated.
    • getTitle

      @OslcDescription("Title (reference: Dublin Core) or often a single line summary of the resource represented as rich text in XHTML content.") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcTitle("Title") @OslcValueType(XMLLiteral) public String getTitle()
      Deprecated.
    • getStates

      @OslcDescription("Used to indicate the state of the automation request based on values defined by the service provider.") @OslcOccurs(OneOrMany) @OslcReadOnly(true) @OslcName("state") @OslcPropertyDefinition("http://open-services.net/ns/auto#state") @OslcTitle("States") @OslcAllowedValue({"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()
      Deprecated.
    • getInputParameters

      @OslcDescription("Parameters provided when Automation Requests are created.") @OslcOccurs(ZeroOrMany) @OslcName("inputParameter") @OslcPropertyDefinition("http://open-services.net/ns/auto#inputParameter") @OslcReadOnly(false) @OslcTitle("Input Parameter") public ParameterInstance[] getInputParameters()
      Deprecated.
    • setContributors

      public void setContributors(URI[] contributors)
      Deprecated.
    • setCreated

      public void setCreated(Date created)
      Deprecated.
    • setCreators

      public void setCreators(URI[] creators)
      Deprecated.
    • setDescription

      public void setDescription(String description)
      Deprecated.
    • setIdentifier

      public void setIdentifier(String identifier)
      Deprecated.
    • setInstanceShape

      public void setInstanceShape(URI instanceShape)
      Deprecated.
    • setModified

      public void setModified(Date modified)
      Deprecated.
    • setRdfTypes

      public void setRdfTypes(URI[] rdfTypes)
      Deprecated.
    • setServiceProvider

      public void setServiceProvider(URI serviceProvider)
      Deprecated.
    • setDesiredState

      public void setDesiredState(URI desiredState)
      Deprecated.
    • setExecutesAutomationPlan

      public void setExecutesAutomationPlan(Link executesAutomationPlan)
      Deprecated.
    • setSubjects

      public void setSubjects(String[] subjects)
      Deprecated.
    • setTitle

      public void setTitle(String title)
      Deprecated.
    • setStates

      public void setStates(URI[] states)
      Deprecated.
    • setInputParameters

      public void setInputParameters(ParameterInstance[] parameters)
      Deprecated.