|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.support.utils.service.Value
org.universAAL.support.utils.service.Output
public class Output
Class representing an Output-type argument in a service request. Arguments are the "leaf" objects at the end of a property path and can be of several types depending on what you want to do with them. An Output-type argument means that you want to get in return the value represented by this argument from the service you intend to call.
Field Summary |
---|
Fields inherited from class org.universAAL.support.utils.service.Value |
---|
isByURI, uri |
Constructor Summary | |
---|---|
Output(Object byValue)
Deprecated. |
|
Output(String byTypeURIorPLACEHOLDER)
Recommended for use by SimpleRequests and SimpleProfiles.SimpleValue used to define the URI (the ID) of an output. |
Method Summary | |
---|---|
String |
getURI()
This is only supposed to be used internally. |
Methods inherited from class org.universAAL.support.utils.service.Value |
---|
byURI, createEmptyInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Output(String byTypeURIorPLACEHOLDER)
byTypeURIorPLACEHOLDER
- In Request: An URI used by ServiceResponse to place
matching outputs. In Profile: The URI of the type that
is handled by the Profile@Deprecated public Output(Object byValue)
DEPRECATED: The use of this constructor is discouraged as it behaves differently to other constructors of SimpleValues that take instance values. This one uses the passed value to extract its type, not to specify it as explicit output.
This is a helper constructor that takes an instance of the type you want and extracts its type. The value of the instance is irrelevant, it's just intended for situations in which you already have an instance which type you want to output.
byValue
- An instance of a ManagedIndividual or native type representing
the value to output in this argument, but only its type is
relevant.Method Detail |
---|
public String getURI()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |