org.universAAL.middleware.rdf
Class Variable

Package class diagram package Variable
java.lang.Object
  extended by org.universAAL.middleware.rdf.Resource
      extended by org.universAAL.middleware.rdf.FinalizedResource
          extended by org.universAAL.middleware.rdf.Variable
Direct Known Subclasses:
ProcessParameter

public abstract class Variable
extends FinalizedResource

Super class for OWL-S Support of Process Parameters.

Author:
mtazari - Saied Tazari, Carsten Stockloew

Field Summary
static String VAR_uAAL_ACCESSING_BUS_MEMBER
          The URI of a standard variable managed by the uAAL middleware indicating the software component currently accessing the middleware.
static String VAR_uAAL_ACCESSING_HUMAN_USER
          The URI of a standard variable managed by the uAAL middleware indicating the current human user as claimed by VAR_uAAL_ACCESSING_BUS_MEMBER.
static String VAR_uAAL_CURRENT_DATETIME
          The URI of a standard variable managed by the uAAL middleware indicating the current time.
static String VAR_uAAL_SERVICE_TO_SELECT
          The URI of a standard variable managed by the uAAL middleware indicating the profile of a service that is estimated to be appropriate for responding the current service request.
 
Fields inherited from class org.universAAL.middleware.rdf.Resource
ANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, ns_delim_index, 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, PROP_uAAL_INVOLVED_HUMAN_USER, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uAAL_NAMESPACE_PREFIX, uAAL_SERVICE_NAMESPACE, uAAL_VOCABULARY_NAMESPACE, uri
 
Constructor Summary
protected Variable(String uri)
          The constructor.
 
Method Summary
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(Class clz)
          Registration: subclasses must register to this class.
static Object resolveVarRef(Object o, HashMap context)
           
 
Methods inherited from class org.universAAL.middleware.rdf.FinalizedResource
addType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfProperties
 
Methods inherited from class org.universAAL.middleware.rdf.Resource
addMultiLangProp, asList, asList, asRDFList, changeProperty, copy, deepCopy, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getPropSerializationType, getResource, getResourceComment, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, isWellFormed, literal, representsQualifiedURI, serializesAsXMLLiteral, setProperty, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteral
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

VAR_uAAL_CURRENT_DATETIME

public static final String VAR_uAAL_CURRENT_DATETIME
The URI of a standard variable managed by the uAAL middleware indicating the current time.

See Also:
Constant Field Values

VAR_uAAL_ACCESSING_BUS_MEMBER

public static final String VAR_uAAL_ACCESSING_BUS_MEMBER
The URI of a standard variable managed by the uAAL middleware indicating the software component currently accessing the middleware.

See Also:
Constant Field Values

VAR_uAAL_ACCESSING_HUMAN_USER

public static final String VAR_uAAL_ACCESSING_HUMAN_USER
The URI of a standard variable managed by the uAAL middleware indicating the current human user as claimed by VAR_uAAL_ACCESSING_BUS_MEMBER.

See Also:
Constant Field Values

VAR_uAAL_SERVICE_TO_SELECT

public static final String VAR_uAAL_SERVICE_TO_SELECT
The URI of a standard variable managed by the uAAL middleware indicating the profile of a service that is estimated to be appropriate for responding the current service request.

See Also:
Constant Field Values
Constructor Detail

Variable

protected Variable(String uri)
The constructor.

Method Detail

checkDeserialization

public static boolean checkDeserialization(Object o)
Determines if a specified object can be de-serialized to a subclass of Variable. Must be implemented by subclasses.

Parameters:
o - The object to be investigated, must be a subclass of Resource.

isVarRef

public static boolean isVarRef(Object o)
Determines if the specified object is a Resource and is of type owls:ValueOf.


register

protected static void register(Class clz)
Registration: subclasses must register to this class.


resolveVarRef

public static Object resolveVarRef(Object o,
                                   HashMap context)

getMinCardinality

public abstract int getMinCardinality()

getDefaultValue

public abstract Object getDefaultValue()

getParameterType

public abstract String getParameterType()


Copyright © 2014 universAAL Consortium. All Rights Reserved.