@OslcNamespace(value="http://open-services.net/ns/auto#")
@OslcName(value="ParameterInstance")
@OslcResourceShape(title="ParameterInstance Resource Shape",
describes="http://open-services.net/ns/auto#ParameterInstance")
public class ParameterInstance
extends org.eclipse.lyo.oslc4j.core.model.AbstractResource
implements IParameterInstance
| Constructor and Description |
|---|
ParameterInstance() |
ParameterInstance(URI about) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInstanceShape(org.eclipse.lyo.oslc4j.core.model.Link instanceShape) |
void |
addServiceProvider(org.eclipse.lyo.oslc4j.core.model.Link serviceProvider) |
void |
addType(org.eclipse.lyo.oslc4j.core.model.Link type) |
static org.eclipse.lyo.oslc4j.core.model.ResourceShape |
createResourceShape() |
String |
getDescription() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getInstanceShape() |
String |
getName() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getServiceProvider() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getType() |
String |
getValue() |
void |
setDescription(String description) |
void |
setInstanceShape(Set<org.eclipse.lyo.oslc4j.core.model.Link> instanceShape) |
void |
setName(String name) |
void |
setServiceProvider(Set<org.eclipse.lyo.oslc4j.core.model.Link> serviceProvider) |
void |
setType(Set<org.eclipse.lyo.oslc4j.core.model.Link> type) |
void |
setValue(String value) |
String |
toString() |
String |
toString(boolean asLocalResource) |
public ParameterInstance()
public ParameterInstance(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.OslcCoreApplicationExceptionURISyntaxExceptionpublic String toString(boolean asLocalResource)
public void addType(org.eclipse.lyo.oslc4j.core.model.Link type)
addType in interface IParameterInstancepublic void addInstanceShape(org.eclipse.lyo.oslc4j.core.model.Link instanceShape)
addInstanceShape in interface IParameterInstancepublic void addServiceProvider(org.eclipse.lyo.oslc4j.core.model.Link serviceProvider)
addServiceProvider in interface IParameterInstance@OslcName(value="name") @OslcPropertyDefinition(value="http://xmlns.com/foaf/0.1/name") @OslcDescription(value="The full name of a person expressed as simple text string.") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=String) @OslcReadOnly(value=false) public String getName()
getName in interface IParameterInstance@OslcName(value="value") @OslcPropertyDefinition(value="http://www.w3.org/1999/02/22-rdf-syntax-ns#value") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=XMLLiteral) @OslcReadOnly(value=false) public String getValue()
getValue in interface IParameterInstance@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 IParameterInstance@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 IParameterInstance@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 IParameterInstance@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 IParameterInstancepublic void setName(String name)
setName in interface IParameterInstancepublic void setValue(String value)
setValue in interface IParameterInstancepublic void setDescription(String description)
setDescription in interface IParameterInstancepublic void setType(Set<org.eclipse.lyo.oslc4j.core.model.Link> type)
setType in interface IParameterInstancepublic void setInstanceShape(Set<org.eclipse.lyo.oslc4j.core.model.Link> instanceShape)
setInstanceShape in interface IParameterInstancepublic void setServiceProvider(Set<org.eclipse.lyo.oslc4j.core.model.Link> serviceProvider)
setServiceProvider in interface IParameterInstanceCopyright © 2020. All rights reserved.