org.universAAL.context.space.serv
Class SCalleeProvidedService
java.lang.Object
org.universAAL.middleware.rdf.Resource
org.universAAL.middleware.rdf.FinalizedResource
org.universAAL.middleware.owl.ManagedIndividual
org.universAAL.middleware.service.owl.Service
org.universAAL.ontology.profile.service.ProfilingService
org.universAAL.context.space.serv.SCalleeProvidedService
public class SCalleeProvidedService
- extends ProfilingService
The class where all service profiles are built.
- Author:
- alfiva
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 |
Methods inherited from class org.universAAL.middleware.service.owl.Service |
addFilteringInput, addFilteringType, addInputWithAddEffect, addInputWithChangeEffect, addInputWithRemoveEffect, addInstanceLevelRestriction, addOutput, addRestriction, createInput, getInstanceLevelFixedValueOnProp, getInstanceLevelRestrictionOnProp, getNumberOfValueRestrictions, getProfile, getRestrictedPropsOnInstanceLevel, getRestrictionOnPropPath, setProperty |
Methods inherited from class org.universAAL.middleware.owl.ManagedIndividual |
checkCompatibility, checkMembership, copy, deepCopy, getClassRestrictionsOnProperty, getInstance, getNonAbstractSuperClasses, getNonabstractSuperClasses, getOntClassInfo, getTypeURI, isRegisteredClassURI, setPropertyPathFromOffset, toManagedIndividual |
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, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getResource, getResourceComment, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, literal, representsQualifiedURI, serializesAsXMLLiteral, setPropertyPath, setPropertyPath, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteral |
NAMESPACE
public static final String NAMESPACE
- Default namespace root. Must be the same as in SCallee.
- See Also:
- Constant Field Values
MY_URI
public static final String MY_URI
- Ontological URI of the class (because it extends and ontology class>
ProfilingService)
- See Also:
- Constant Field Values
SRV_GET_SERVS
protected static final String SRV_GET_SERVS
- See Also:
- Constant Field Values
OUT_GET_SERVS
protected static final String OUT_GET_SERVS
- See Also:
- Constant Field Values
SRV_GET_SPACES
protected static final String SRV_GET_SPACES
- See Also:
- Constant Field Values
OUT_GET_SPACES
protected static final String OUT_GET_SPACES
- See Also:
- Constant Field Values
SRV_GET_SERVS_OF_SPACE
protected static final String SRV_GET_SERVS_OF_SPACE
- See Also:
- Constant Field Values
INP_GET_SERVS_OF_SPACE
protected static final String INP_GET_SERVS_OF_SPACE
- See Also:
- Constant Field Values
OUT_GET_SERVS_OF_SPACE
protected static final String OUT_GET_SERVS_OF_SPACE
- See Also:
- Constant Field Values
SRV_GET_DEVS_OF_SPACE
protected static final String SRV_GET_DEVS_OF_SPACE
- See Also:
- Constant Field Values
INP_GET_DEVS_OF_SPACE
protected static final String INP_GET_DEVS_OF_SPACE
- See Also:
- Constant Field Values
OUT_GET_DEVS_OF_SPACE
protected static final String OUT_GET_DEVS_OF_SPACE
- See Also:
- Constant Field Values
SRV_GET_ONTS_OF_SPACE
protected static final String SRV_GET_ONTS_OF_SPACE
- See Also:
- Constant Field Values
INP_GET_ONTS_OF_SPACE
protected static final String INP_GET_ONTS_OF_SPACE
- See Also:
- Constant Field Values
OUT_GET_ONTS_OF_SPACE
protected static final String OUT_GET_ONTS_OF_SPACE
- See Also:
- Constant Field Values
SRV_GET_HR_OF_SERV
protected static final String SRV_GET_HR_OF_SERV
- See Also:
- Constant Field Values
INP_GET_HR_OF_SERV
protected static final String INP_GET_HR_OF_SERV
- See Also:
- Constant Field Values
OUT_GET_HR_OF_SERV
protected static final String OUT_GET_HR_OF_SERV
- See Also:
- Constant Field Values
SRV_GET_HW_OF_SERV
protected static final String SRV_GET_HW_OF_SERV
- See Also:
- Constant Field Values
INP_GET_HW_OF_SERV
protected static final String INP_GET_HW_OF_SERV
- See Also:
- Constant Field Values
OUT_GET_HW_OF_SERV
protected static final String OUT_GET_HW_OF_SERV
- See Also:
- Constant Field Values
SRV_GET_APP_OF_SERV
protected static final String SRV_GET_APP_OF_SERV
- See Also:
- Constant Field Values
INP_GET_APP_OF_SERV
protected static final String INP_GET_APP_OF_SERV
- See Also:
- Constant Field Values
OUT_GET_APP_OF_SERV
protected static final String OUT_GET_APP_OF_SERV
- See Also:
- Constant Field Values
SRV_ADD_SERV_TO_SPACE
protected static final String SRV_ADD_SERV_TO_SPACE
- See Also:
- Constant Field Values
INP_ADD_SERV_TO_SPACE_WHERE
protected static final String INP_ADD_SERV_TO_SPACE_WHERE
- See Also:
- Constant Field Values
INP_ADD_SERV_TO_SPACE_WHAT
protected static final String INP_ADD_SERV_TO_SPACE_WHAT
- See Also:
- Constant Field Values
SRV_ADD_DEV_TO_SPACE
protected static final String SRV_ADD_DEV_TO_SPACE
- See Also:
- Constant Field Values
INP_ADD_DEV_TO_SPACE_WHERE
protected static final String INP_ADD_DEV_TO_SPACE_WHERE
- See Also:
- Constant Field Values
INP_ADD_DEV_TO_SPACE_WHAT
protected static final String INP_ADD_DEV_TO_SPACE_WHAT
- See Also:
- Constant Field Values
SRV_ADD_ONT_TO_SPACE
protected static final String SRV_ADD_ONT_TO_SPACE
- See Also:
- Constant Field Values
INP_ADD_ONT_TO_SPACE_WHERE
protected static final String INP_ADD_ONT_TO_SPACE_WHERE
- See Also:
- Constant Field Values
INP_ADD_ONT_TO_SPACE_WHAT
protected static final String INP_ADD_ONT_TO_SPACE_WHAT
- See Also:
- Constant Field Values
SRV_ADD_PROF_TO_SPACE
protected static final String SRV_ADD_PROF_TO_SPACE
- See Also:
- Constant Field Values
INP_ADD_PROF_TO_SPACE_WHERE
protected static final String INP_ADD_PROF_TO_SPACE_WHERE
- See Also:
- Constant Field Values
INP_ADD_PROF_TO_SPACE_WHAT
protected static final String INP_ADD_PROF_TO_SPACE_WHAT
- See Also:
- Constant Field Values
SRV_ADD_PROF_TO_SERV
protected static final String SRV_ADD_PROF_TO_SERV
- See Also:
- Constant Field Values
INP_ADD_PROF_TO_SERV_WHERE
protected static final String INP_ADD_PROF_TO_SERV_WHERE
- See Also:
- Constant Field Values
INP_ADD_PROF_TO_SERV_WHAT
protected static final String INP_ADD_PROF_TO_SERV_WHAT
- See Also:
- Constant Field Values
SRV_GET_OWNERS_OF_SPACE
protected static final String SRV_GET_OWNERS_OF_SPACE
- See Also:
- Constant Field Values
INP_GET_OWNERS_OF_SPACE
protected static final String INP_GET_OWNERS_OF_SPACE
- See Also:
- Constant Field Values
OUT_GET_OWNERS_OF_SPACE
protected static final String OUT_GET_OWNERS_OF_SPACE
- See Also:
- Constant Field Values
SRV_GET_OWNERS_OF_SERV
protected static final String SRV_GET_OWNERS_OF_SERV
- See Also:
- Constant Field Values
INP_GET_OWNERS_OF_SERV
protected static final String INP_GET_OWNERS_OF_SERV
- See Also:
- Constant Field Values
OUT_GET_OWNERS_OF_SERV
protected static final String OUT_GET_OWNERS_OF_SERV
- See Also:
- Constant Field Values
SRV_ADD_OWNER_TO_SPACE
protected static final String SRV_ADD_OWNER_TO_SPACE
- See Also:
- Constant Field Values
INP_ADD_OWNER_TO_SPACE_WHERE
protected static final String INP_ADD_OWNER_TO_SPACE_WHERE
- See Also:
- Constant Field Values
INP_ADD_OWNER_TO_SPACE_WHAT
protected static final String INP_ADD_OWNER_TO_SPACE_WHAT
- See Also:
- Constant Field Values
SRV_ADD_OWNER_TO_SERV
protected static final String SRV_ADD_OWNER_TO_SERV
- See Also:
- Constant Field Values
INP_ADD_OWNER_TO_SERV_WHERE
protected static final String INP_ADD_OWNER_TO_SERV_WHERE
- See Also:
- Constant Field Values
INP_ADD_OWNER_TO_SERV_WHAT
protected static final String INP_ADD_OWNER_TO_SERV_WHAT
- See Also:
- Constant Field Values
SRV_GET_PROF_OF_SPACE
protected static final String SRV_GET_PROF_OF_SPACE
- See Also:
- Constant Field Values
INP_GET_PROF_OF_SPACE
protected static final String INP_GET_PROF_OF_SPACE
- See Also:
- Constant Field Values
OUT_GET_PROF_OF_SPACE
protected static final String OUT_GET_PROF_OF_SPACE
- See Also:
- Constant Field Values
SRV_GET_PROF_OF_SERV
protected static final String SRV_GET_PROF_OF_SERV
- See Also:
- Constant Field Values
INP_GET_PROF_OF_SERV
protected static final String INP_GET_PROF_OF_SERV
- See Also:
- Constant Field Values
OUT_GET_PROF_OF_SERV
protected static final String OUT_GET_PROF_OF_SERV
- See Also:
- Constant Field Values
SRV_GET_X
public static final String SRV_GET_X
- See Also:
- Constant Field Values
INP_GET_X
public static final String INP_GET_X
- See Also:
- Constant Field Values
OUT_GET_X
public static final String OUT_GET_X
- See Also:
- Constant Field Values
SRV_ADD_X
public static final String SRV_ADD_X
- See Also:
- Constant Field Values
INP_ADD_X
public static final String INP_ADD_X
- See Also:
- Constant Field Values
SRV_CHN_X
public static final String SRV_CHN_X
- See Also:
- Constant Field Values
INP_CHN_X
public static final String INP_CHN_X
- See Also:
- Constant Field Values
SRV_REM_X
public static final String SRV_REM_X
- See Also:
- Constant Field Values
INP_REM_X
public static final String INP_REM_X
- See Also:
- Constant Field Values
profiles
protected static ServiceProfile[] profiles
- Where the service profiles are stored. Only the non-typical ones. The
typical get/add/change/remove are extracted from method
getServiceProfiles.
SCalleeProvidedService
public SCalleeProvidedService(String uri)
- Default constructor.
- Parameters:
uri
- Instance URI
getServiceProfiles
public static ServiceProfile[] getServiceProfiles(String namespace,
String ontologyURI,
String[] path,
String editedURI)
- Gives you the 4 typical service profiles of an editor service: Get, Add,
Change and Remove. When handling requests in you Callee, you can use the
references to services and arguments URIs prepending
namespace
to SimpleEditor constants.
- Parameters:
namespace
- The namespace of your server, ending with the character #. You
can optionally add some prefix after the # if you use
SimpleEditor more than once in the same Callee.ontologyURI
- The MY_URI of the class of Service ontology you are going to
implementpath
- The property path from the root of the Service ontology
concept to the exact concept you want to manageeditedURI
- The MY_URI of the class of the concept ontology that you want
to manage, which is at the end of the property path
- Returns:
- An array with the 4 typical service profiles
getClassURI
public String getClassURI()
- Description copied from class:
ManagedIndividual
- Get the class URI for this ManagedIndividual. All non-abstract subclasses
MUST overwrite this method!
- Overrides:
getClassURI
in class ProfilingService
- Returns:
- The class URI.
Copyright © 2014 universAAL Consortium. All Rights Reserved.