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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInstanceShape(Link instanceShape) voidaddServiceProvider(Link serviceProvider) voidstatic ResourceShapegetName()getType()getValue()voidsetDescription(String description) voidsetInstanceShape(Set<Link> instanceShape) voidvoidsetServiceProvider(Set<Link> serviceProvider) voidvoidtoString()toString(boolean asLocalResource) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ParameterInstance
public ParameterInstance() -
ParameterInstance
-
-
Method Details
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException -
toString
-
toString
-
addType
- Specified by:
addTypein interfaceIParameterInstance
-
addInstanceShape
- Specified by:
addInstanceShapein interfaceIParameterInstance
-
addServiceProvider
- 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
- Specified by:
setNamein interfaceIParameterInstance
-
setValue
- Specified by:
setValuein interfaceIParameterInstance
-
setDescription
- Specified by:
setDescriptionin interfaceIParameterInstance
-
setType
- Specified by:
setTypein interfaceIParameterInstance
-
setInstanceShape
- Specified by:
setInstanceShapein interfaceIParameterInstance
-
setServiceProvider
- Specified by:
setServiceProviderin interfaceIParameterInstance
-