public class Output extends Value
|Constructor and Description|
Recommended for use by SimpleRequests and SimpleProfiles.SimpleValue used to define the URI (the ID) of an output.
|Modifier and Type||Method and Description|
This is only supposed to be used internally.
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.
public String getURI()
Copyright © 2015 universAAL Consortium. All Rights Reserved.