|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.universAAL.middleware.rdf.Resource org.universAAL.middleware.rdf.FinalizedResource org.universAAL.middleware.rdf.Property
public abstract class Property
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.
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 |
---|
public static final String PROP_RDFS_DOMAIN
public static final String PROP_RDFS_RANGE
protected boolean isFunctional
protected OntClassInfo info
protected Property.PrivatePropertySetup setup
Constructor Detail |
---|
protected Property(String uri, OntClassInfo info)
ObjectProperty.create(String, OntClassInfo)
or
DatatypeProperty.create(String, OntClassInfo)
.
uri
- URI of this property.info
- The class for which this property is defined.Method Detail |
---|
public boolean isFunctional()
Property.PrivatePropertySetup.setFunctional()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |