|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.middleware.rdf.RDFClassInfo.PrivateRDFSetup
protected class RDFClassInfo.PrivateRDFSetup
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 |
---|
public RDFClassInfo.PrivateRDFSetup(RDFClassInfo info)
Method Detail |
---|
public void addInstance(Resource instance)
RDFClassInfoSetup
addInstance
in interface RDFClassInfoSetup
instance
- The instance to add.RDFClassInfoSetup.addInstance(Resource)
public void addSuperClass(TypeExpression superClass)
RDFClassInfoSetup
addSuperClass
in interface RDFClassInfoSetup
superClass
- The super class.RDFClassInfoSetup.addSuperClass(TypeExpression)
public void addSuperClass(String namedSuperClass)
RDFClassInfoSetup
superClassURI
. A class can have multiple
super classes. Properties that are defined in the super class are also
available in the sub class.
addSuperClass
in interface RDFClassInfoSetup
namedSuperClass
- URI of the super classRDFClassInfoSetup.addSuperClass(String)
public RDFClassInfo getInfo()
getInfo
in interface RDFClassInfoSetup
public void setResourceComment(String comment)
RDFClassInfoSetup
setResourceComment
in interface RDFClassInfoSetup
comment
- The comment of the resource.RDFClassInfoSetup.setResourceComment(String)
public void setResourceLabel(String label)
RDFClassInfoSetup
setResourceLabel
in interface RDFClassInfoSetup
label
- The label of the resource.RDFClassInfoSetup.setResourceLabel(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |