Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hp.hpl.jena.enhanced.test
Class TestSubjectImpl  view TestSubjectImpl download TestSubjectImpl.java

java.lang.Object
  extended bycom.hp.hpl.jena.enhanced.Polymorphic
      extended bycom.hp.hpl.jena.enhanced.EnhNode
          extended bycom.hp.hpl.jena.enhanced.test.TestCommonImpl
              extended bycom.hp.hpl.jena.enhanced.test.TestSubjectImpl
All Implemented Interfaces:
com.hp.hpl.jena.graph.FrontsNode, TestNode, TestSubject

public class TestSubjectImpl
extends TestCommonImpl
implements TestSubject


Field Summary
static com.hp.hpl.jena.enhanced.Implementation factory
           
 
Fields inherited from class com.hp.hpl.jena.enhanced.EnhNode
enhGraph, node
 
Fields inherited from class com.hp.hpl.jena.enhanced.Polymorphic
 
Constructor Summary
private TestSubjectImpl(com.hp.hpl.jena.graph.Node n, com.hp.hpl.jena.enhanced.EnhGraph eg)
          Creates a new instance of TestAllImpl
 
Method Summary
 TestProperty aProperty()
           
 TestObject asObject()
           
 TestProperty asProperty()
           
 TestSubject asSubject()
           
(package private)  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)
           
(package private)  com.hp.hpl.jena.graph.Triple findObject()
           
(package private)  com.hp.hpl.jena.graph.Triple findPredicate()
           
(package private)  com.hp.hpl.jena.graph.Triple findSubject()
           
(package private)  TestModel getModel()
           
 boolean isSubject()
           
 boolean supports(java.lang.Class t)
          return _true_ iff this polymorphic object supports the specified interface.
 
Methods inherited from class com.hp.hpl.jena.enhanced.EnhNode
as, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isValid, viewAs
 
Methods inherited from class com.hp.hpl.jena.enhanced.Polymorphic
addView, already, asInternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.enhanced.test.TestNode
asObject, asProperty, asSubject
 

Field Detail

factory

public static final com.hp.hpl.jena.enhanced.Implementation factory
Constructor Detail

TestSubjectImpl

private TestSubjectImpl(com.hp.hpl.jena.graph.Node n,
                        com.hp.hpl.jena.enhanced.EnhGraph eg)
Creates a new instance of TestAllImpl

Method Detail

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.


isSubject

public boolean isSubject()
Specified by:
isSubject in interface TestSubject

aProperty

public TestProperty aProperty()
Specified by:
aProperty in interface TestSubject

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