|
||||||||||
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
A RDF instance that represent a RDFS Resource
Field Summary | |
private String |
name
The instance's name |
private RdfsResource |
resource
The resource |
Constructor Summary | |
Instance(Instance instance)
Build a copy |
|
Instance(RdfsResource resource,
String name)
Build the instance |
|
Instance(String name)
Build the instance |
Method Summary | |
String |
getName()
Get the name of the resource |
RdfsResource |
getResource()
Get the resource that is instanciated |
String |
getShortName()
Get the short name |
String |
getShortValue()
Get the short name |
String |
getValue()
Get the value of the resource |
boolean |
isInstance()
Get information about if the instance has a resource |
boolean |
setName(String name)
Get the name of the resource |
void |
setResource(RdfsResource resource)
Set the resource |
void |
setValue(String value)
Set the value of the resource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private RdfsResource resource
private String name
Constructor Detail |
public Instance(RdfsResource resource, String name)
resource
- a RDFS Resourcename
- the namepublic Instance(String name)
name
- the namepublic Instance(Instance instance)
instance
- the origin instanceMethod Detail |
public RdfsResource getResource()
public void setResource(RdfsResource resource)
resource
- the resourcepublic String getName()
public String getShortName()
public boolean setName(String name)
name
- the name of the resourcepublic String getValue()
public String getShortValue()
public void setValue(String value)
value
- the valuepublic boolean isInstance()
|
||||||||||
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