protected class RDFClassInfo.PrivateRDFSetup extends Object implements RDFClassInfoSetup
Ontology
has access to it and can make changes.Constructor and Description |
---|
PrivateRDFSetup(RDFClassInfo info) |
Modifier and Type | Method and Description |
---|---|
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
RDFClassInfo for this setup. |
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.
|
public PrivateRDFSetup(RDFClassInfo info)
public final void addInstance(Resource instance)
addInstance
in interface RDFClassInfoSetup
instance
- The instance to add.public final void addSuperClass(TypeExpression superClass)
addSuperClass
in interface RDFClassInfoSetup
superClass
- The super class.public final void addSuperClass(String namedSuperClass)
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 classpublic final RDFClassInfo getInfo()
RDFClassInfo
for this setup.getInfo
in interface RDFClassInfoSetup
public final void setResourceComment(String comment)
setResourceComment
in interface RDFClassInfoSetup
comment
- The comment of the resource.public final void setResourceLabel(String label)
setResourceLabel
in interface RDFClassInfoSetup
label
- The label of the resource.Copyright © 2018 universAAL Consortium. All rights reserved.