|
||||||||||
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.RdfsProperty
A Property for a rdfs:class
Field Summary | |
private LinkedList |
domain
Classes that the property is applied |
private LinkedList |
range
Classes that the property can contain |
private LinkedList |
subPropertyOf
Properties from this is extended |
Fields inherited from class ch.hearc.I04_05s08.Ontology.RDFS.RdfsResource |
|
Constructor Summary | |
RdfsProperty(RdfsProperty p)
A new property from another one |
|
RdfsProperty(String name)
Minimal constructor |
|
RdfsProperty(String name,
String label)
Minimal recommended constructor |
|
RdfsProperty(String name,
String label,
String comment)
Full constructor |
Method Summary | |
boolean |
addDomain(RdfsClass d)
Add a domain |
boolean |
addRange(RdfsClass r)
Add a range |
boolean |
addSupProperty(RdfsProperty p)
Add a superProperty |
Object |
clone()
Clone this property |
boolean |
delDomain(RdfsClass d)
Remove a specified domain from the property |
boolean |
delRange(RdfsClass r)
Remove a specified range from the property |
boolean |
delSupProperty(RdfsProperty p)
Dereference a superProperty |
RdfsClass[] |
getDomain()
Return the domain of the Property |
RdfsClass[] |
getRange()
Return the range of the Property |
RdfsProperty[] |
getSupProperties()
Return the subProperty of the Property is |
private void |
init()
Build the object of Property |
String |
toString()
String representation of the property |
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 domain
private LinkedList range
private LinkedList subPropertyOf
Constructor Detail |
public RdfsProperty(String name)
public RdfsProperty(String name, String label)
public RdfsProperty(String name, String label, String comment)
public RdfsProperty(RdfsProperty p)
p
- Property sourceMethod Detail |
public Object clone()
clone
in class RdfsResource
private void init()
public String toString()
toString
in class RdfsResource
public RdfsClass[] getDomain()
public boolean addDomain(RdfsClass d)
d
- new domainpublic boolean delDomain(RdfsClass d)
d
- domain that will be removedpublic RdfsClass[] getRange()
public boolean addRange(RdfsClass r)
r
- new rangepublic boolean delRange(RdfsClass r)
r
- range that will be removedpublic RdfsProperty[] getSupProperties()
public boolean addSupProperty(RdfsProperty p)
p
- new subPropertypublic boolean delSupProperty(RdfsProperty p)
p
- subProperty that will be dereferenced
|
||||||||||
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