org.universAAL.middleware.ui.rdf
Class ChoiceItem
java.lang.Object
org.universAAL.middleware.rdf.Resource
org.universAAL.middleware.rdf.FinalizedResource
org.universAAL.middleware.ui.rdf.FormElement
org.universAAL.middleware.ui.rdf.Label
org.universAAL.middleware.ui.rdf.ChoiceItem
public class ChoiceItem
- extends Label
A special case of labels
with an associated value suitable for
usage as a leaf entry in a hierarchy of possible choices. Selecting a choice
item in such a hierarchy is equivalent to selecting the value associated with
that item.
- Author:
- mtazari, Carsten Stockloew
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 |
Object |
getValue()
Returns the value associated with this choice item. |
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, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toStringRecursive, toStringRecursive, unliteral |
MY_URI
public static final String MY_URI
- See Also:
- Constant Field Values
PROP_ITEM_VALUE
public static final String PROP_ITEM_VALUE
- Property for accessing the value associated with a choice item.
- See Also:
- Constant Field Values
ChoiceItem
public ChoiceItem()
- For use by de-serializers only.
ChoiceItem
public ChoiceItem(String labelText,
String iconURL,
Object value)
- Constructs a new choice item.
- Parameters:
labelText
- see Label.Label(String, String)
iconURL
- see Label.Label(String, String)
value
- The value to be associated with this choice item.
getValue
public Object getValue()
- Returns the value associated with this choice item.
Copyright © 2014 universAAL Consortium. All Rights Reserved.