|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.hearc.I04_05s08.Ontology.RDF.Instance
ch.hearc.I04_05s08.Ontology.RDF.InstanceOfClass
A RDF Resource that represent a property of a Class
Field Summary | |
static String |
literal
URI of the XMLS#String |
private String |
value
The literal value |
Fields inherited from class ch.hearc.I04_05s08.Ontology.RDF.Instance |
|
Constructor Summary | |
InstanceOfClass()
Construct a literal class |
|
InstanceOfClass(InstanceOfClass ioc)
Construct a copy |
|
InstanceOfClass(RdfsClass c,
String name)
Construct the instance of the class |
|
InstanceOfClass(String classname)
Construct the instance of an unexisting class |
Method Summary | |
Object |
clone()
Build a clone |
String |
getValue()
Get the value of the class |
boolean |
isA(RdfsClass[] tuple)
Verify is the class is another classes (multiple heritance) |
boolean |
isLiteral()
Verify if the property is literal |
boolean |
setClass(RdfsClass c)
Apply the known class to instance |
void |
setValue(String value)
Set the value of the class |
String |
toString()
String representation |
Methods inherited from class ch.hearc.I04_05s08.Ontology.RDF.Instance |
getName, getResource, getShortName, getShortValue, isInstance, setName, setResource |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String literal
private String value
Constructor Detail |
public InstanceOfClass(RdfsClass c, String name)
c
- that class that is be instanciatedpublic InstanceOfClass(String classname)
classname
- the name of the classpublic InstanceOfClass()
public InstanceOfClass(InstanceOfClass ioc)
Method Detail |
public Object clone()
public String toString()
public boolean setClass(RdfsClass c)
c
- the class
public boolean isA(RdfsClass[] tuple)
tuple
- parent classes
public boolean isLiteral()
public void setValue(String value)
setValue
in class Instance
value
- the value that would be applied to Property
public String getValue()
getValue
in class Instance
|
||||||||||
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