|
||||||||||
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.InstanceOfProperty
A RDF Resource that represent a property of a Class
Field Summary | |
private InstanceOfClass |
propertyOf
The element that this property is applied |
static String |
type
URI of the RDF#type |
private InstanceOfClass |
value
Value of the property |
Fields inherited from class ch.hearc.I04_05s08.Ontology.RDF.Instance |
|
Constructor Summary | |
InstanceOfProperty(InstanceOfProperty iop)
Make this instance of copy of another |
|
InstanceOfProperty(RdfsProperty prop)
Construct an instance of the prop that belong to propOf |
|
InstanceOfProperty(String prop)
Construct an instance of the prop that belong to an unknowned Property |
Method Summary | |
private boolean |
checkDomain(InstanceOfClass c)
Check the conjunction of domains and the class |
private boolean |
checkRange(InstanceOfClass c)
Check the conjunction of ranges and the class |
Object |
clone()
Build a clone |
InstanceOfClass |
getProperty()
Get the value of the property |
InstanceOfClass |
getPropertyOf()
Get the instance of the class is this property applied |
boolean |
setProperty(InstanceOfClass value)
Set the value of the property |
boolean |
setPropertyOf(InstanceOfClass propertyOf)
Set the value of the property |
String |
toString()
String representation |
Methods inherited from class ch.hearc.I04_05s08.Ontology.RDF.Instance |
getName, getResource, getShortName, getShortValue, getValue, isInstance, setName, setResource, setValue |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private InstanceOfClass propertyOf
private InstanceOfClass value
public static final String type
Constructor Detail |
public InstanceOfProperty(RdfsProperty prop)
prop
- Property instanciedpublic InstanceOfProperty(String prop)
prop
- Property instanciedpublic InstanceOfProperty(InstanceOfProperty iop)
iop
- the instance copiedMethod Detail |
public Object clone()
public String toString()
public boolean setProperty(InstanceOfClass value)
value
- the value that would be applied to Property
public InstanceOfClass getProperty()
public boolean setPropertyOf(InstanceOfClass propertyOf)
propertyOf
- the value that would be applied to Property
public InstanceOfClass getPropertyOf()
private boolean checkDomain(InstanceOfClass c)
c
- the class to be checked
private boolean checkRange(InstanceOfClass c)
c
- the class to be checked
|
||||||||||
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