public class OValueImpl extends Object implements gate.creole.ontology.OValue
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isLiteral |
protected Object |
theObject |
| Constructor and Description |
|---|
OValueImpl(gate.creole.ontology.Literal aLiteral) |
OValueImpl(gate.creole.ontology.OResource aResource) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
gate.creole.ontology.Literal |
getLiteral() |
gate.creole.ontology.OResource |
getOResource() |
int |
hashCode() |
boolean |
isLiteral() |
boolean |
isOResource() |
String |
toString() |
String |
toTurtle() |
protected Object theObject
protected boolean isLiteral
public OValueImpl(gate.creole.ontology.Literal aLiteral)
public OValueImpl(gate.creole.ontology.OResource aResource)
public boolean isLiteral()
isLiteral in interface gate.creole.ontology.OValuepublic boolean isOResource()
isOResource in interface gate.creole.ontology.OValuepublic gate.creole.ontology.OResource getOResource()
getOResource in interface gate.creole.ontology.OValuepublic gate.creole.ontology.Literal getLiteral()
getLiteral in interface gate.creole.ontology.OValuepublic String toString()
public String toTurtle()
toTurtle in interface gate.creole.ontology.OValuepublic int hashCode()