|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.hearc.I04_05s08.Ontology.RDFS.RdfsResource
ch.hearc.I04_05s08.Ontology.RDFS.RdfsClass
A representation of a rdfs:Class
Field Summary | |
private LinkedList |
subClassOf
Classes from this is extended |
Fields inherited from class ch.hearc.I04_05s08.Ontology.RDFS.RdfsResource |
|
Constructor Summary | |
RdfsClass(RdfsClass c)
A new class from another one |
|
RdfsClass(String name)
Minimal constructor |
|
RdfsClass(String name,
String label)
Minimal recommended constructor |
|
RdfsClass(String name,
String label,
String comment)
Full constructor |
Method Summary | |
boolean |
addSupClass(RdfsClass c)
Add a superClass |
Object |
clone()
Duplicate the current Class |
boolean |
delSupClass(RdfsClass c)
Dereference a superClass |
RdfsClass[] |
getSupClasses()
Return the subClass of the Class is |
private void |
init()
Build the objects of Class |
boolean |
isA(RdfsClass[] tuple)
Verify is the class is another classes (multiple heritance) |
String |
toString()
String representation of the class |
Methods inherited from class ch.hearc.I04_05s08.Ontology.RDFS.RdfsResource |
copyList, equals, getComment, getLabel, getName, getShortName, setComment, setLabel, setName |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private LinkedList subClassOf
Constructor Detail |
public RdfsClass(String name)
public RdfsClass(String name, String label)
public RdfsClass(String name, String label, String comment)
public RdfsClass(RdfsClass c)
c
- Classe sourceMethod Detail |
private void init()
public String toString()
toString
in class RdfsResource
public Object clone()
clone
in class RdfsResource
public RdfsClass[] getSupClasses()
public boolean addSupClass(RdfsClass c)
c
- new subClasspublic boolean delSupClass(RdfsClass c)
c
- subClass that will be dereferencedpublic boolean isA(RdfsClass[] tuple)
tuple
- parent classes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A project by Blanc, Yoan – supervised by Dr. Ghorbel, Hatem.
2004 © Blanc, Yoan - HE-ARC