org.universAAL.middleware.service.owls.profile
Class MultiLocationParameter
java.lang.Object
org.universAAL.middleware.rdf.Resource
org.universAAL.middleware.rdf.FinalizedResource
org.universAAL.middleware.service.owls.profile.ProfileParameter
org.universAAL.middleware.service.owls.profile.MultiLocationParameter
public class MultiLocationParameter
- extends ProfileParameter
The superclass for profile parameters that deal with locations in relation to
services, hence the restriction for the property 'valueData' is not supported
by this class but 'sParameter' will be mandatory accepting an array of
AbsLocation
s. For the sake of well-formedness, serialization type of
properties and setting property values, it relies on the default
implementations provided by the super classes.
- Author:
- mtazari - Saied
Tazari
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 |
Method Summary |
List |
getAbsLocations()
This method returns a list of abstract locations that are relevant for
the parameters. |
boolean |
setProperty(String propURI,
Object value)
Sets the property for a specified URI to a value. |
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, getResource, getResourceComment, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, literal, representsQualifiedURI, serializesAsXMLLiteral, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteral |
MY_URI
public static final String MY_URI
- See Also:
- Constant Field Values
MultiLocationParameter
public MultiLocationParameter(AbsLocation[] value)
MultiLocationParameter
public MultiLocationParameter(String uri,
AbsLocation[] value)
getAbsLocations
public List getAbsLocations()
- This method returns a list of abstract locations that are relevant for
the parameters.
- Returns:
- abstract locations in form of a list
setProperty
public boolean setProperty(String propURI,
Object value)
- Sets the property for a specified URI to a value.
- Overrides:
setProperty
in class ProfileParameter
- Parameters:
propURI
- property URIvalue
- value of the property
- Returns:
- true if the property changed as a result of the call
- See Also:
Resource.setProperty(String, Object)
Copyright © 2014 universAAL Consortium. All Rights Reserved.