public class Arg extends Object
Request req=new Request(new Lighting(null));
req.put(Path.at(Lighting.PROP_CONTROLS).to(LightSource.PROP_HAS_TYPE), Arg.type(ElectricLight.MY_URI));
req.put(Path.at(Lighting.PROP_CONTROLS), Arg.in(new LightSource(desiredURI)));
req.put(Path.at(Lighting.PROP_CONTROLS).to(LightSource.PROP_SOURCE_BRIGHTNESS), Arg.change(new Integer(0)));
caller.call(req);
Modifier and Type | Method and Description |
---|---|
static Add |
add(Object byValue)
Equivalent to new Add(byValue);.
|
static Add |
add(String byTypeURI)
Equivalent to new Add(byTypeURI);.
|
static Change |
change(Object byValue)
Equivalent to new Change(inputNewValue);.
|
static Change |
change(String byTypeURI)
Equivalent to new Change(byTypeURI);.
|
static Variable |
in(Object byValue)
Equivalent to new Variable(byValue);.
|
static Variable |
in(String byTypeURI)
Equivalent to new Variable(byTypeURI);.
|
static Output |
out(Object byValue)
Equivalent to new Output(byValue);.
|
static Output |
out(String byTypeURIorPLACEHOLDER)
Equivalent to new Output(byTypeURIorPLACEHOLDER);.
|
static Remove |
remove(Object byValue)
Equivalent to new Remove(byValue);.
|
static Remove |
remove(String byTypeURI)
Equivalent to new Remove(byTypeURI);.
|
static Typematch |
type(Object byValue)
Equivalent to new Typematch(byValue);.
|
static Typematch |
type(String byTypeURI)
Equivalent to new Typematch(byTypeURI);.
|
public static Add add(Object byValue)
byValue
- Value to represent.public static Add add(String byTypeURI)
byTypeURI
- Type to represent.public static Change change(Object byValue)
byValue
- Value to represent.public static Change change(String byTypeURI)
byTypeURI
- Type to represent.public static Output out(String byTypeURIorPLACEHOLDER)
byTypeURIorPLACEHOLDER
- Type to represent, or placeholder URI.public static Output out(Object byValue)
byValue
- Value to represent.public static Remove remove(Object byValue)
byValue
- Value to represent.public static Remove remove(String byTypeURI)
byTypeURI
- Type to represent.public static Typematch type(String byTypeURI)
byTypeURI
- Type to represent.public static Typematch type(Object byValue)
byValue
- Value to represent.public static Variable in(Object byValue)
byValue
- Value to represent.Copyright © 2018 universAAL Consortium. All rights reserved.