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

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

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

Test the dbindex feature

See Also:
Serialized Form

Constructor Summary
CMR2Bean()
           
 
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 getBar2()
          This one is not indexed
abstract  java.lang.String getFoo2()
          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.util.Collection getIdxs()
           
abstract  java.lang.String getPKey2()
           
abstract  void setIdxs(java.util.Collection Idxs)
           
abstract  void setPKey2(java.lang.String pKey2)
           
 
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

CMR2Bean

public CMR2Bean()
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()

setPKey2

public abstract void setPKey2(java.lang.String pKey2)
Parameters:
pKey2 -

getPKey2

public abstract java.lang.String getPKey2()

getFoo2

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


getBar2

public abstract java.lang.String getBar2()
This one is not indexed


getIdxs

public abstract java.util.Collection getIdxs()

setIdxs

public abstract void setIdxs(java.util.Collection Idxs)