java.lang.Object
com.hp.hpl.jena.enhanced.Polymorphic
com.hp.hpl.jena.enhanced.EnhNode
com.hp.hpl.jena.enhanced.test.TestCommonImpl
com.hp.hpl.jena.enhanced.test.TestAllImpl
- All Implemented Interfaces:
- com.hp.hpl.jena.graph.FrontsNode, TestNode, TestObject, TestProperty, TestSubject
- public class TestAllImpl
- extends TestCommonImpl
- implements TestSubject, TestProperty, TestObject
| Fields inherited from class com.hp.hpl.jena.enhanced.Polymorphic |
|
| Methods inherited from class com.hp.hpl.jena.enhanced.EnhNode |
as, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isValid, viewAs |
factory
public static final com.hp.hpl.jena.enhanced.Implementation factory
TestAllImpl
private TestAllImpl(com.hp.hpl.jena.graph.Node n,
com.hp.hpl.jena.enhanced.EnhGraph eg)
- Creates a new instance of TestAllImpl
supports
public boolean supports(java.lang.Class t)
- Description copied from class:
com.hp.hpl.jena.enhanced.Polymorphic
- return _true_ iff this polymorphic object supports the specified interface.
Synonymous with "does the argument class have this as an instance".
Actually it shouldn't be. Review.
isObject
public boolean isObject()
- Description copied from interface:
TestObject
- Checks whether this node is right now the object of some
triple in the graph.
- Specified by:
isObject in interface TestObject
isProperty
public boolean isProperty()
- Specified by:
isProperty in interface TestProperty
isSubject
public boolean isSubject()
- Specified by:
isSubject in interface TestSubject
anObject
public TestObject anObject()
- Specified by:
anObject in interface TestProperty
aProperty
public TestProperty aProperty()
- Specified by:
aProperty in interface TestSubject
aSubject
public TestSubject aSubject()
- Description copied from interface:
TestObject
- The subject of a triple of which I am object.
- Specified by:
aSubject in interface TestObject
getModel
TestModel getModel()
findSubject
com.hp.hpl.jena.graph.Triple findSubject()
findPredicate
com.hp.hpl.jena.graph.Triple findPredicate()
findObject
com.hp.hpl.jena.graph.Triple findObject()
findNode
com.hp.hpl.jena.graph.Triple findNode(com.hp.hpl.jena.graph.Node s,
com.hp.hpl.jena.graph.Node p,
com.hp.hpl.jena.graph.Node o)
asSubject
public TestSubject asSubject()
- Specified by:
asSubject in interface TestNode
asObject
public TestObject asObject()
- Specified by:
asObject in interface TestNode
asProperty
public TestProperty asProperty()
- Specified by:
asProperty in interface TestNode