Class ParameterInstance
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- org.eclipse.lyo.oslc.domains.auto.ParameterInstance
-
- All Implemented Interfaces:
IParameterInstance,IExtendedResource,IResource
@OslcNamespace("http://open-services.net/ns/auto#") @OslcName("ParameterInstance") @OslcResourceShape(title="ParameterInstance Shape", describes="http://open-services.net/ns/auto#ParameterInstance") public class ParameterInstance extends AbstractResource implements IParameterInstance
-
-
Constructor Summary
Constructors Constructor Description ParameterInstance()ParameterInstance(URI about)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInstanceShape(Link instanceShape)voidaddServiceProvider(Link serviceProvider)voidaddType(Link type)static ResourceShapecreateResourceShape()StringgetDescription()Set<Link>getInstanceShape()StringgetName()Set<Link>getServiceProvider()Set<Link>getType()StringgetValue()voidsetDescription(String description)voidsetInstanceShape(Set<Link> instanceShape)voidsetName(String name)voidsetServiceProvider(Set<Link> serviceProvider)voidsetType(Set<Link> type)voidsetValue(String value)StringtoString()StringtoString(boolean asLocalResource)-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Constructor Detail
-
ParameterInstance
public ParameterInstance()
-
ParameterInstance
public ParameterInstance(URI about)
-
-
Method Detail
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException
-
toString
public String toString(boolean asLocalResource)
-
addType
public void addType(Link type)
- Specified by:
addTypein interfaceIParameterInstance
-
addInstanceShape
public void addInstanceShape(Link instanceShape)
- Specified by:
addInstanceShapein interfaceIParameterInstance
-
addServiceProvider
public void addServiceProvider(Link serviceProvider)
- Specified by:
addServiceProviderin interfaceIParameterInstance
-
getName
@OslcName("name") @OslcPropertyDefinition("http://xmlns.com/foaf/0.1/name") @OslcDescription("The full name of a person expressed as simple text string.") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) public String getName()
- Specified by:
getNamein interfaceIParameterInstance
-
getValue
@OslcName("value") @OslcPropertyDefinition("http://www.w3.org/1999/02/22-rdf-syntax-ns#value") @OslcOccurs(ZeroOrOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) public String getValue()
- Specified by:
getValuein interfaceIParameterInstance
-
getDescription
@OslcName("description") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcDescription("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(ZeroOrOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) public String getDescription()
- Specified by:
getDescriptionin interfaceIParameterInstance
-
getType
@OslcName("type") @OslcPropertyDefinition("http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcDescription("The resource type URIs") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcReadOnly(false) public Set<Link> getType()
- Specified by:
getTypein interfaceIParameterInstance
-
getInstanceShape
@OslcName("instanceShape") @OslcPropertyDefinition("http://open-services.net/ns/core#instanceShape") @OslcDescription("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(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getInstanceShape()
- Specified by:
getInstanceShapein interfaceIParameterInstance
-
getServiceProvider
@OslcName("serviceProvider") @OslcPropertyDefinition("http://open-services.net/ns/core#serviceProvider") @OslcDescription("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(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getServiceProvider()
- Specified by:
getServiceProviderin interfaceIParameterInstance
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceIParameterInstance
-
setValue
public void setValue(String value)
- Specified by:
setValuein interfaceIParameterInstance
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceIParameterInstance
-
setType
public void setType(Set<Link> type)
- Specified by:
setTypein interfaceIParameterInstance
-
setInstanceShape
public void setInstanceShape(Set<Link> instanceShape)
- Specified by:
setInstanceShapein interfaceIParameterInstance
-
setServiceProvider
public void setServiceProvider(Set<Link> serviceProvider)
- Specified by:
setServiceProviderin interfaceIParameterInstance
-
-