org.jboss.test.cmp2.idxandusersql.ejb
Class DBIndexTestBean

java.lang.Object
  extended byorg.jboss.test.cmp2.idxandusersql.ejb.DBIndexTestBean
All Implemented Interfaces:
EnterpriseBean (src) , EntityBean (src) , java.io.Serializable

public abstract class DBIndexTestBean
extends java.lang.Object
implements EntityBean (src)

Test the dbindex feature

See Also:
Serialized Form

Constructor Summary
DBIndexTestBean()
           
 
Method Summary
 java.lang.String ejbCreate()
          We don't call them, just have them here to satisfy the cmp-engine
 void ejbPostCreate()
           
abstract  java.lang.String getBar()
          This field gets an index via the setting in jbosscmp-jdbc.xml file
abstract  java.lang.String getBaz()
          This field is not indexed
abstract  java.util.Collection getCmr1s()
           
abstract  java.util.Collection getCmr2s()
           
abstract  java.lang.String getFoo()
          This field gets a that we want to look up in the database to see if the index was really created on the file.
abstract  java.lang.String getPKey()
           
abstract  void setCmr1s(java.util.Collection cmr1s)
           
abstract  void setCmr2s(java.util.Collection cmr2s)
           
abstract  void setPKey(java.lang.String pKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ejb.EntityBean (src)
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, unsetEntityContext
 

Constructor Detail

DBIndexTestBean

public DBIndexTestBean()
Method Detail

ejbCreate

public java.lang.String ejbCreate()
                           throws CreateException (src) 
We don't call them, just have them here to satisfy the cmp-engine

Throws:
CreateException (src)

ejbPostCreate

public void ejbPostCreate()

setPKey

public abstract void setPKey(java.lang.String pKey)
Parameters:
pKey -

getPKey

public abstract java.lang.String getPKey()

getFoo

public abstract java.lang.String getFoo()
This field gets a that we want to look up in the database to see if the index was really created on the file.


getBar

public abstract java.lang.String getBar()
This field gets an index via the setting in jbosscmp-jdbc.xml file


getBaz

public abstract java.lang.String getBaz()
This field is not indexed


getCmr1s

public abstract java.util.Collection getCmr1s()

setCmr1s

public abstract void setCmr1s(java.util.Collection cmr1s)

getCmr2s

public abstract java.util.Collection getCmr2s()

setCmr2s

public abstract void setCmr2s(java.util.Collection cmr2s)