org.universAAL.middleware.rdf
Class RDFClassInfo.PrivateRDFSetup

Package class diagram package RDFClassInfo.PrivateRDFSetup
java.lang.Object
  extended by org.universAAL.middleware.rdf.RDFClassInfo.PrivateRDFSetup
All Implemented Interfaces:
RDFClassInfoSetup
Enclosing class:
RDFClassInfo

protected class RDFClassInfo.PrivateRDFSetup
extends Object
implements RDFClassInfoSetup

Implementation of the setup interface. For security reasons, this is realized as a protected nested class so that only the creator of an Ontology has access to it and can make changes.


Constructor Summary
RDFClassInfo.PrivateRDFSetup(RDFClassInfo info)
           
 
Method Summary
 void addInstance(Resource instance)
          Add an instance of this class.
 void addSuperClass(String namedSuperClass)
          Add a super class.
 void addSuperClass(TypeExpression superClass)
          Add a super class.
 RDFClassInfo getInfo()
          Get the info object which is the instance of the class this class is nested in.
 void setResourceComment(String comment)
          Set the resource comment which may be used to provide a human-readable description of a resource to clarify the meaning of this class.
 void setResourceLabel(String label)
          Set the resource label which may be used to provide a human-readable version of a resource's name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFClassInfo.PrivateRDFSetup

public RDFClassInfo.PrivateRDFSetup(RDFClassInfo info)
Method Detail

addInstance

public void addInstance(Resource instance)
Description copied from interface: RDFClassInfoSetup
Add an instance of this class.

Specified by:
addInstance in interface RDFClassInfoSetup
Parameters:
instance - The instance to add.
See Also:
RDFClassInfoSetup.addInstance(Resource)

addSuperClass

public void addSuperClass(TypeExpression superClass)
Description copied from interface: RDFClassInfoSetup
Add a super class. Roughly speaking, this states that this class is more specific than the given class expression.

Specified by:
addSuperClass in interface RDFClassInfoSetup
Parameters:
superClass - The super class.
See Also:
RDFClassInfoSetup.addSuperClass(TypeExpression)

addSuperClass

public void addSuperClass(String namedSuperClass)
Description copied from interface: RDFClassInfoSetup
Add a super class. Instances of this class are also instances of the class specified by superClassURI. A class can have multiple super classes. Properties that are defined in the super class are also available in the sub class.

Specified by:
addSuperClass in interface RDFClassInfoSetup
Parameters:
namedSuperClass - URI of the super class
See Also:
RDFClassInfoSetup.addSuperClass(String)

getInfo

public RDFClassInfo getInfo()
Get the info object which is the instance of the class this class is nested in.

Specified by:
getInfo in interface RDFClassInfoSetup

setResourceComment

public void setResourceComment(String comment)
Description copied from interface: RDFClassInfoSetup
Set the resource comment which may be used to provide a human-readable description of a resource to clarify the meaning of this class.

Specified by:
setResourceComment in interface RDFClassInfoSetup
Parameters:
comment - The comment of the resource.
See Also:
RDFClassInfoSetup.setResourceComment(String)

setResourceLabel

public void setResourceLabel(String label)
Description copied from interface: RDFClassInfoSetup
Set the resource label which may be used to provide a human-readable version of a resource's name.

Specified by:
setResourceLabel in interface RDFClassInfoSetup
Parameters:
label - The label of the resource.
See Also:
RDFClassInfoSetup.setResourceLabel(String)


Copyright © 2014 universAAL Consortium. All Rights Reserved.