|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.enhanced.Polymorphic
Abstract base class for all polymorphic RDF objects, especially enhanced node and enhanced graph.
Method Summary | |
void |
addView(Polymorphic other)
add another view for this object. |
abstract boolean |
equals(java.lang.Object o)
subclasses must override equals. |
abstract boolean |
isValid()
answer true iff this enhanced node is still underpinned in the graph by triples appropriate to its type. |
boolean |
supports(java.lang.Class t)
return _true_ iff this polymorphic object supports the specified interface. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean supports(java.lang.Class t)
public abstract boolean isValid()
public abstract boolean equals(java.lang.Object o)
public void addView(Polymorphic other)
other
must be freshly constructed.
To be called by subclasses when they have constructed a new view
for this object.
This method is public ONLY so that it can be tested.
TODO find a better way to make it testable.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |