public class LiteralOrONodeIDImpl extends Object implements gate.creole.ontology.LiteralOrONodeID
TODO: should we implement comparable and equals/hashcode for this?
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isLiteral |
protected Object |
theObject |
| Constructor and Description |
|---|
LiteralOrONodeIDImpl(gate.creole.ontology.Literal aLiteral) |
LiteralOrONodeIDImpl(gate.creole.ontology.ONodeID aONodeID) |
protected Object theObject
protected boolean isLiteral
public LiteralOrONodeIDImpl(gate.creole.ontology.Literal aLiteral)
public LiteralOrONodeIDImpl(gate.creole.ontology.ONodeID aONodeID)
public boolean isLiteral()
isLiteral in interface gate.creole.ontology.LiteralOrONodeIDpublic boolean isONodeID()
isONodeID in interface gate.creole.ontology.LiteralOrONodeIDpublic gate.creole.ontology.ONodeID getONodeID()
getONodeID in interface gate.creole.ontology.LiteralOrONodeIDpublic gate.creole.ontology.Literal getLiteral()
getLiteral in interface gate.creole.ontology.LiteralOrONodeIDpublic String toString()
public String toTurtle()
toTurtle in interface gate.creole.ontology.LiteralOrONodeIDpublic boolean equals(Object obj)