public abstract class Variable extends FinalizedResource
Modifier and Type | Class and Description |
---|---|
static interface |
Variable.VariableHandler
Subclasses must implement and register this interface.
|
Modifier and Type | Field and Description |
---|---|
static String |
VAR_ACCESSING_BUS_MEMBER
The URI of a standard variable managed by the universAAL middleware indicating
the software component currently accessing the middleware.
|
static String |
VAR_ACCESSING_HUMAN_USER
The URI of a standard variable managed by the universAAL middleware indicating
the current human user as claimed by
VAR_ACCESSING_BUS_MEMBER . |
static String |
VAR_CURRENT_DATETIME
The URI of a standard variable managed by the universAAL middleware indicating
the current time.
|
static String |
VAR_SERVICE_TO_SELECT
The URI of a standard variable managed by the universAAL middleware indicating
the profile of a service that is estimated to be appropriate for
responding the current service request.
|
ANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, NAMESPACE_PREFIX, ns_delim_index, PROP_INVOLVED_HUMAN_USER, PROP_RDF_FIRST, PROP_RDF_REST, PROP_RDF_TYPE, PROP_RDFS_COMMENT, PROP_RDFS_LABEL, PROP_SERIALIZATION_FULL, PROP_SERIALIZATION_OPTIONAL, PROP_SERIALIZATION_REDUCED, PROP_SERIALIZATION_UNDEFINED, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, SERVICE_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uri, VOCABULARY_NAMESPACE
Modifier | Constructor and Description |
---|---|
protected |
Variable(String uri)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
checkDeserialization(Object o)
Determines if a specified object can be de-serialized to a subclass of
Variable . |
abstract Object |
getDefaultValue() |
abstract int |
getMinCardinality() |
abstract String |
getParameterType() |
static boolean |
isVarRef(Object o)
Determines if the specified object is a
Resource and is of type
owls:ValueOf. |
protected static void |
register(Variable.VariableHandler h)
Registration: subclasses must register to this class.
|
static Object |
resolveVarRef(Object o,
HashMap context) |
addType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfProperties
addMultiLangProp, asList, asList, asRDFList, changeProperty, copy, deepCopy, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getOrConstructLabel, getPropSerializationType, getResource, getResourceComment, getResourceLabel, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, isWellFormed, literal, representsQualifiedURI, serializesAsXMLLiteral, setProperty, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteral
public static final String VAR_CURRENT_DATETIME
public static final String VAR_ACCESSING_BUS_MEMBER
public static final String VAR_ACCESSING_HUMAN_USER
VAR_ACCESSING_BUS_MEMBER
.public static final String VAR_SERVICE_TO_SELECT
protected Variable(String uri)
public static boolean checkDeserialization(Object o)
Variable
. Must be implemented by subclasses.o
- The object to be investigated, must be a subclass of
Resource
.public static boolean isVarRef(Object o)
Resource
and is of type
owls:ValueOf.protected static void register(Variable.VariableHandler h)
public abstract int getMinCardinality()
public abstract Object getDefaultValue()
public abstract String getParameterType()
Copyright © 2018 universAAL Consortium. All rights reserved.