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 TypeMethodDescriptionvoid
addInstanceShape
(Link instanceShape) void
addServiceProvider
(Link serviceProvider) void
static ResourceShape
getName()
getType()
getValue()
void
setDescription
(String description) void
setInstanceShape
(Set<Link> instanceShape) void
void
setServiceProvider
(Set<Link> serviceProvider) void
void
toString()
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:
addType
in interfaceIParameterInstance
-
addInstanceShape
- Specified by:
addInstanceShape
in interfaceIParameterInstance
-
addServiceProvider
- Specified by:
addServiceProvider
in 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:
getName
in 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:
getValue
in 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:
getDescription
in 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:
getType
in 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:
getInstanceShape
in 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:
getServiceProvider
in interfaceIParameterInstance
-
setName
- Specified by:
setName
in interfaceIParameterInstance
-
setValue
- Specified by:
setValue
in interfaceIParameterInstance
-
setDescription
- Specified by:
setDescription
in interfaceIParameterInstance
-
setType
- Specified by:
setType
in interfaceIParameterInstance
-
setInstanceShape
- Specified by:
setInstanceShape
in interfaceIParameterInstance
-
setServiceProvider
- Specified by:
setServiceProvider
in interfaceIParameterInstance
-