org.universAAL.middleware.rdf
Class Property

Package class diagram package Property
java.lang.Object
  extended by org.universAAL.middleware.rdf.Resource
      extended by org.universAAL.middleware.rdf.FinalizedResource
          extended by org.universAAL.middleware.rdf.Property
Direct Known Subclasses:
DatatypeProperty, ObjectProperty

public abstract class Property
extends FinalizedResource

Definition of an RDF property. The creation is separated from the usage; for every Property there is exactly one Property.PrivatePropertySetup where all the characteristics of this property are defined.

Author:
Carsten Stockloew
See Also:
ObjectProperty, ObjectPropertySetup, DatatypeProperty, DatatypePropertySetup, PropertySetup

Nested Class Summary
protected  class Property.PrivatePropertySetup
          Implementation of the setup interface.
 
Field Summary
protected  OntClassInfo info
          The ontology that defines this property.
protected  boolean isFunctional
          Determines whether this property is functional.
static String PROP_RDFS_DOMAIN
          URI of rdfs:domain that is used to state that any resource that has a given property is an instance of one or more classes.
static String PROP_RDFS_RANGE
          URI of rdfs:range that is used to state that the values of a property are instances of one or more classes.
protected  Property.PrivatePropertySetup setup
          The setup interface.
 
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 Property(String uri, OntClassInfo info)
          Protected constructor, to create instances call either ObjectProperty.create(String, OntClassInfo) or DatatypeProperty.create(String, OntClassInfo).
 
Method Summary
 boolean isFunctional()
          Determines whether this property is functional.
 
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

PROP_RDFS_DOMAIN

public static final String PROP_RDFS_DOMAIN
URI of rdfs:domain that is used to state that any resource that has a given property is an instance of one or more classes.

See Also:
Constant Field Values

PROP_RDFS_RANGE

public static final String PROP_RDFS_RANGE
URI of rdfs:range that is used to state that the values of a property are instances of one or more classes.

See Also:
Constant Field Values

isFunctional

protected boolean isFunctional
Determines whether this property is functional.


info

protected OntClassInfo info
The ontology that defines this property.


setup

protected Property.PrivatePropertySetup setup
The setup interface.

Constructor Detail

Property

protected Property(String uri,
                   OntClassInfo info)
Protected constructor, to create instances call either ObjectProperty.create(String, OntClassInfo) or DatatypeProperty.create(String, OntClassInfo).

Parameters:
uri - URI of this property.
info - The class for which this property is defined.
Method Detail

isFunctional

public boolean isFunctional()
Determines whether this property is functional.

See Also:
Property.PrivatePropertySetup.setFunctional()


Copyright © 2014 universAAL Consortium. All Rights Reserved.