public class Typematch extends Value
Constructor and Description |
---|
Typematch(Object byValue)
Deprecated.
|
Typematch(String byTypeURI)
Recommended for use by SimpleRequests and SimpleProfiles.
|
Modifier and Type | Method and Description |
---|---|
String |
getURI()
This is only supposed to be used internally.
|
byURI, createEmptyInstance
public Typematch(String byTypeURI)
byTypeURI
- The URI of the type that you want to match (you can get it
with NameOfClass.MY_URI)@Deprecated public Typematch(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 instance.
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 match.
byValue
- An instance of which type you want to match.public String getURI()
Copyright © 2015 universAAL Consortium. All Rights Reserved.