@OslcNamespace(value="http://open-services.net/ns/auto#") @OslcName(value="AutomationPlan") @OslcResourceShape(title="AutomationPlan Resource Shape", describes="http://open-services.net/ns/auto#AutomationPlan") public class AutomationPlan extends AbstractResource implements IAutomationPlan
| Constructor and Description |
|---|
AutomationPlan() |
AutomationPlan(URI about) |
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypespublic AutomationPlan()
public AutomationPlan(URI about)
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException
public String toString(boolean asLocalResource)
public void addContributor(Link contributor)
addContributor in interface IAutomationPlanpublic void addCreator(Link creator)
addCreator in interface IAutomationPlanpublic void addType(Link type)
addType in interface IAutomationPlanpublic void addSubject(String subject)
addSubject in interface IAutomationPlanpublic void addInstanceShape(Link instanceShape)
addInstanceShape in interface IAutomationPlanpublic void addServiceProvider(Link serviceProvider)
addServiceProvider in interface IAutomationPlanpublic void addParameterDefinition(Link parameterDefinition)
addParameterDefinition in interface IAutomationPlanpublic void addUsesExecutionEnvironment(Link usesExecutionEnvironment)
addUsesExecutionEnvironment in interface IAutomationPlanpublic void addFutureAction(Link futureAction)
addFutureAction in interface IAutomationPlan@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<Link> getContributor()
getContributor in interface IAutomationPlan@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 IAutomationPlan@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<Link> getCreator()
getCreator in interface IAutomationPlan@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 IAutomationPlan@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 IAutomationPlan@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 IAutomationPlan@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<Link> getType()
getType in interface IAutomationPlan@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="") public Set<String> getSubject()
getSubject in interface IAutomationPlan@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 IAutomationPlan@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<Link> getInstanceShape()
getInstanceShape in interface IAutomationPlan@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<Link> getServiceProvider()
getServiceProvider in interface IAutomationPlan@OslcName(value="parameterDefinition") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#parameterDefinition") @OslcDescription(value="The definition of a parameter for this Automation Plan. parameterDefinitions are either a local (inline) or referenced resource and use the attributes (the range) of the oslc:Property resource with one exception. When used in the context of an oslc_auto:parameterDefinition, the cardinality of oslc:propertyDefinition becomes zero-or-one instead of exactly-one. Automation consumers creating Automation Requests MUST use the oslc:occurs attribute of the parameterDefinition, if present, to determine if a given parameter is required when creating the Automation Request. If the oslc:occurs attribute indicates the parameter is required (exactly-one or one-or-more), the service provider must guarantee the named parameter will be present in the Automation Result either as an oslc_auto:inputParmeter when unmodified during execution, or as an oslc_auto:outputParameter when modified during execution.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcReadOnly(value=false) public Set<Link> getParameterDefinition()
getParameterDefinition in interface IAutomationPlan@OslcName(value="usesExecutionEnvironment") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#usesExecutionEnvironment") @OslcDescription(value="A resource representing the environment(s) which this Automation Plan can be executed in. The execution environment resource could represent a grouping of environmental details such as operating system, database, browser, compiler, etc. See also the execution environments section.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcReadOnly(value=false) public Set<Link> getUsesExecutionEnvironment()
getUsesExecutionEnvironment in interface IAutomationPlan@OslcName(value="futureAction") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#futureAction") @OslcDescription(value="A resource representing actions that will become available on Automation Results that result from execution of this Plan. The resource is likely to be of type oslc:Action, but it can be of any type. Automation defines oslc_auto:TeardownAction as one kind of future action.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcReadOnly(value=false) public Set<Link> getFutureAction()
getFutureAction in interface IAutomationPlanpublic void setContributor(Set<Link> contributor)
setContributor in interface IAutomationPlanpublic void setCreated(Date created)
setCreated in interface IAutomationPlanpublic void setCreator(Set<Link> creator)
setCreator in interface IAutomationPlanpublic void setDescription(String description)
setDescription in interface IAutomationPlanpublic void setIdentifier(String identifier)
setIdentifier in interface IAutomationPlanpublic void setModified(Date modified)
setModified in interface IAutomationPlanpublic void setType(Set<Link> type)
setType in interface IAutomationPlanpublic void setSubject(Set<String> subject)
setSubject in interface IAutomationPlanpublic void setTitle(String title)
setTitle in interface IAutomationPlanpublic void setInstanceShape(Set<Link> instanceShape)
setInstanceShape in interface IAutomationPlanpublic void setServiceProvider(Set<Link> serviceProvider)
setServiceProvider in interface IAutomationPlanpublic void setParameterDefinition(Set<Link> parameterDefinition)
setParameterDefinition in interface IAutomationPlanpublic void setUsesExecutionEnvironment(Set<Link> usesExecutionEnvironment)
setUsesExecutionEnvironment in interface IAutomationPlanpublic void setFutureAction(Set<Link> futureAction)
setFutureAction in interface IAutomationPlanCopyright © 2021. All rights reserved.