org.universAAL.middleware.service.owls.process
Class ProcessOutput

Package class diagram package ProcessOutput
java.lang.Object
  extended by org.universAAL.middleware.rdf.Resource
      extended by org.universAAL.middleware.rdf.FinalizedResource
          extended by org.universAAL.middleware.rdf.Variable
              extended by org.universAAL.middleware.service.owls.process.ProcessParameter
                  extended by org.universAAL.middleware.service.owls.process.ProcessOutput

public class ProcessOutput
extends ProcessParameter

Author:
mtazari - Saied Tazari

Field Summary
static String MY_URI
           
 
Fields inherited from class org.universAAL.middleware.service.owls.process.ProcessParameter
OWLS_PROCESS_NAMESPACE, PROP_OWLS_PROCESS_PARAMETER_TYPE, PROP_OWLS_PROCESS_PARAMETER_VALUE, PROP_OWLS_VALUE_FROM_PROCESS, PROP_OWLS_VALUE_OF_THE_VAR, PROP_PARAMETER_CARDINALITY, PROP_PARAMETER_DEFAULT_VALUE, PROP_PARAMETER_MAX_CARDINALITY, PROP_PARAMETER_MIN_CARDINALITY, TYPE_OWLS_VALUE_OF
 
Fields inherited from class org.universAAL.middleware.rdf.Variable
VAR_uAAL_ACCESSING_BUS_MEMBER, VAR_uAAL_ACCESSING_HUMAN_USER, VAR_uAAL_CURRENT_DATETIME, VAR_uAAL_SERVICE_TO_SELECT
 
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
ProcessOutput(String uri)
          The constructor - from the uri of a process output
ProcessOutput(String uri, Object value)
          The constructor - from the uri of a process output and the output value
 
Method Summary
static List checkParameterList(Object value)
          Convert a single ProcessOutput or a List of resources representing ProcessInputs into a List of ProcessInput instances
static ProcessOutput toOutput(Resource r)
          Convert the resource passed as a parameter to a ProcessOutput instance
 
Methods inherited from class org.universAAL.middleware.service.owls.process.ProcessParameter
asVariableReference, checkDeserialization, getDefaultValue, getMaxCardinality, getMinCardinality, getParameterType, getParameterValue, isVarRef, isWellFormed, resolveVarRef, setCardinality, setDefaultValue, setParameterType, setParameterValue, setProperty
 
Methods inherited from class org.universAAL.middleware.rdf.Variable
register
 
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, literal, representsQualifiedURI, serializesAsXMLLiteral, 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

MY_URI

public static final String MY_URI
See Also:
Constant Field Values
Constructor Detail

ProcessOutput

public ProcessOutput(String uri)
The constructor - from the uri of a process output

Parameters:
uri -

ProcessOutput

public ProcessOutput(String uri,
                     Object value)
The constructor - from the uri of a process output and the output value

Parameters:
uri -
value -
Method Detail

toOutput

public static ProcessOutput toOutput(Resource r)
Convert the resource passed as a parameter to a ProcessOutput instance

Parameters:
r - - the resource to convert
Returns:
- the converted well-formed ProcessOutput, or null if the resource passed as the parameter does not represent well-formed process output

checkParameterList

public static List checkParameterList(Object value)
Convert a single ProcessOutput or a List of resources representing ProcessInputs into a List of ProcessInput instances

Parameters:
value - - an object which is either a single ProcessOutput or a List of resources representing ProcessOutputs
Returns:
- a List of ProcessOutput instances


Copyright © 2014 universAAL Consortium. All Rights Reserved.