@OslcNamespace(value="http://open-services.net/ns/auto#") @OslcName(value="AutomationRequest") @OslcResourceShape(title="AutomationRequest Resource Shape", describes="http://open-services.net/ns/auto#AutomationRequest") public class AutomationRequest extends org.eclipse.lyo.oslc4j.core.model.AbstractResource implements IAutomationRequest
Constructor and Description |
---|
AutomationRequest() |
AutomationRequest(URI about) |
Modifier and Type | Method and Description |
---|---|
void |
addContributor(org.eclipse.lyo.oslc4j.core.model.Link contributor) |
void |
addCreator(org.eclipse.lyo.oslc4j.core.model.Link creator) |
void |
addInputParameter(org.eclipse.lyo.oslc4j.core.model.Link inputParameter) |
void |
addInstanceShape(org.eclipse.lyo.oslc4j.core.model.Link instanceShape) |
void |
addServiceProvider(org.eclipse.lyo.oslc4j.core.model.Link serviceProvider) |
void |
addState(org.eclipse.lyo.oslc4j.core.model.Link state) |
void |
addType(org.eclipse.lyo.oslc4j.core.model.Link type) |
static org.eclipse.lyo.oslc4j.core.model.ResourceShape |
createResourceShape() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getContributor() |
Date |
getCreated() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getCreator() |
String |
getDescription() |
org.eclipse.lyo.oslc4j.core.model.Link |
getDesiredState() |
org.eclipse.lyo.oslc4j.core.model.Link |
getExecutesAutomationPlan() |
String |
getIdentifier() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getInputParameter() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getInstanceShape() |
Date |
getModified() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getServiceProvider() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getState() |
String |
getTitle() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getType() |
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 |
setDesiredState(org.eclipse.lyo.oslc4j.core.model.Link desiredState) |
void |
setExecutesAutomationPlan(org.eclipse.lyo.oslc4j.core.model.Link executesAutomationPlan) |
void |
setIdentifier(String identifier) |
void |
setInputParameter(Set<org.eclipse.lyo.oslc4j.core.model.Link> inputParameter) |
void |
setInstanceShape(Set<org.eclipse.lyo.oslc4j.core.model.Link> instanceShape) |
void |
setModified(Date modified) |
void |
setServiceProvider(Set<org.eclipse.lyo.oslc4j.core.model.Link> serviceProvider) |
void |
setState(Set<org.eclipse.lyo.oslc4j.core.model.Link> state) |
void |
setTitle(String title) |
void |
setType(Set<org.eclipse.lyo.oslc4j.core.model.Link> type) |
String |
toString() |
String |
toString(boolean asLocalResource) |
public AutomationRequest()
public AutomationRequest(URI about)
public static org.eclipse.lyo.oslc4j.core.model.ResourceShape createResourceShape() throws org.eclipse.lyo.oslc4j.core.exception.OslcCoreApplicationException, URISyntaxException
org.eclipse.lyo.oslc4j.core.exception.OslcCoreApplicationException
URISyntaxException
public String toString(boolean asLocalResource)
public void addContributor(org.eclipse.lyo.oslc4j.core.model.Link contributor)
addContributor
in interface IAutomationRequest
public void addCreator(org.eclipse.lyo.oslc4j.core.model.Link creator)
addCreator
in interface IAutomationRequest
public void addType(org.eclipse.lyo.oslc4j.core.model.Link type)
addType
in interface IAutomationRequest
public void addInstanceShape(org.eclipse.lyo.oslc4j.core.model.Link instanceShape)
addInstanceShape
in interface IAutomationRequest
public void addServiceProvider(org.eclipse.lyo.oslc4j.core.model.Link serviceProvider)
addServiceProvider
in interface IAutomationRequest
public void addState(org.eclipse.lyo.oslc4j.core.model.Link state)
addState
in interface IAutomationRequest
public void addInputParameter(org.eclipse.lyo.oslc4j.core.model.Link inputParameter)
addInputParameter
in interface IAutomationRequest
@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) public Set<org.eclipse.lyo.oslc4j.core.model.Link> getContributor()
getContributor
in interface IAutomationRequest
@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) public Date getCreated()
getCreated
in interface IAutomationRequest
@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) public Set<org.eclipse.lyo.oslc4j.core.model.Link> getCreator()
getCreator
in interface IAutomationRequest
@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) public String getDescription()
getDescription
in interface IAutomationRequest
@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) public String getIdentifier()
getIdentifier
in interface IAutomationRequest
@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) public Date getModified()
getModified
in interface IAutomationRequest
@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) public Set<org.eclipse.lyo.oslc4j.core.model.Link> getType()
getType
in interface IAutomationRequest
@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) public String getTitle()
getTitle
in interface IAutomationRequest
@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) public Set<org.eclipse.lyo.oslc4j.core.model.Link> getInstanceShape()
getInstanceShape
in interface IAutomationRequest
@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) public Set<org.eclipse.lyo.oslc4j.core.model.Link> getServiceProvider()
getServiceProvider
in interface IAutomationRequest
@OslcName(value="state") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#state") @OslcDescription(value="Used to indicate the state of the automation request based on values defined by the service provider. Most often a read-only property. It is expected that this will be a resource reference to a definition of a valid automation request state on the service provider.") @OslcOccurs(value=OneOrMany) @OslcValueType(value=Resource) @OslcReadOnly(value=true) public Set<org.eclipse.lyo.oslc4j.core.model.Link> getState()
getState
in interface IAutomationRequest
@OslcName(value="desiredState") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#desiredState") @OslcDescription(value="Used to indicate the desired state of the Automation Request based on values defined by the service provider. It is expected that this will be a resource reference to a definition of a valid automation request state on the service provider.") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=Resource) @OslcReadOnly(value=false) public org.eclipse.lyo.oslc4j.core.model.Link getDesiredState()
getDesiredState
in interface IAutomationRequest
@OslcName(value="inputParameter") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#inputParameter") @OslcDescription(value="Parameters provided when Automation Requests are created. These include parameters provided by the creator of the Automation Request (whether by delegated UI or HTTP POST) and MAY include additional parameters added by the service provider during Automation Request creation. See the definition of the oslc_auto:parameterDefinition attribute of the Automation Plan for additional guidance on determining which parameters are required. Creators of Automation Requests MAY provide parameters beyond those defined in the Automation Plan without guarantee the service provider will recognize or honor them. It is expected that this attribute is write-able on Automation Request creation and read-only thereafter.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRange(value="http://open-services.net/ns/auto#ParameterInstance") @OslcReadOnly(value=false) public Set<org.eclipse.lyo.oslc4j.core.model.Link> getInputParameter()
getInputParameter
in interface IAutomationRequest
@OslcName(value="executesAutomationPlan") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#executesAutomationPlan") @OslcDescription(value="Automation Plan run by the Automation Request. It is likely that the target resource will be an oslc_auto:AutomationPlan but that is not necessarily the case.") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcRange(value="http://open-services.net/ns/auto#AutomationPlan") @OslcReadOnly(value=false) public org.eclipse.lyo.oslc4j.core.model.Link getExecutesAutomationPlan()
getExecutesAutomationPlan
in interface IAutomationRequest
public void setContributor(Set<org.eclipse.lyo.oslc4j.core.model.Link> contributor)
setContributor
in interface IAutomationRequest
public void setCreated(Date created)
setCreated
in interface IAutomationRequest
public void setCreator(Set<org.eclipse.lyo.oslc4j.core.model.Link> creator)
setCreator
in interface IAutomationRequest
public void setDescription(String description)
setDescription
in interface IAutomationRequest
public void setIdentifier(String identifier)
setIdentifier
in interface IAutomationRequest
public void setModified(Date modified)
setModified
in interface IAutomationRequest
public void setType(Set<org.eclipse.lyo.oslc4j.core.model.Link> type)
setType
in interface IAutomationRequest
public void setTitle(String title)
setTitle
in interface IAutomationRequest
public void setInstanceShape(Set<org.eclipse.lyo.oslc4j.core.model.Link> instanceShape)
setInstanceShape
in interface IAutomationRequest
public void setServiceProvider(Set<org.eclipse.lyo.oslc4j.core.model.Link> serviceProvider)
setServiceProvider
in interface IAutomationRequest
public void setState(Set<org.eclipse.lyo.oslc4j.core.model.Link> state)
setState
in interface IAutomationRequest
public void setDesiredState(org.eclipse.lyo.oslc4j.core.model.Link desiredState)
setDesiredState
in interface IAutomationRequest
public void setInputParameter(Set<org.eclipse.lyo.oslc4j.core.model.Link> inputParameter)
setInputParameter
in interface IAutomationRequest
public void setExecutesAutomationPlan(org.eclipse.lyo.oslc4j.core.model.Link executesAutomationPlan)
setExecutesAutomationPlan
in interface IAutomationRequest
Copyright © 2020. All rights reserved.