public class Variable extends Value
Constructor and Description |
---|
Variable(Object byValue)
Recommended for use by SimpleRequests.
|
Variable(String byTypeURI)
Recommended for use by SimpleProfiles.
|
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
This is only supposed to be used internally.
|
String |
getURI()
This is only supposed to be used internally.
|
byURI, createEmptyInstance
public Variable(Object byValue)
byValue
- An instance of a ManagedIndividual or native type representing
the value that must be passed as variable input to the servicepublic Variable(String byTypeURI)
byTypeURI
- A type URI of a ManagedIndividual or native type representing
the type of value that must be passed as variable input to the
service. However if the parameter is not a valid URI, it will
be understood as an instance of a String, as if it used the
"byValue" constructor instead.Copyright © 2018 universAAL Consortium. All rights reserved.