org.apache.openejb.test.entity.ejbql
Class QueryBean

java.lang.Object
  extended by org.apache.openejb.test.entity.ejbql.QueryBean
All Implemented Interfaces:
Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean

public abstract class QueryBean
extends Object
implements javax.ejb.EntityBean

See Also:
Serialized Form

Constructor Summary
QueryBean()
           
 
Method Summary
 void ejbActivate()
           
 Collection ejbHomeSelectCollectionBooleanField()
          Select a collection boolean field
 Collection ejbHomeSelectCollectionByteField()
          Select a collection byte field
 Collection ejbHomeSelectCollectionCharField()
          Select a collection char field
 Collection ejbHomeSelectCollectionDoubleField()
          Select a collection double field
 Collection ejbHomeSelectCollectionFloatField()
          Select a collection float field
 Collection ejbHomeSelectCollectionIntField()
          Select a collection int field
 Collection ejbHomeSelectCollectionLocalEjb()
          Select a collection local ejb
 Collection ejbHomeSelectCollectionLongField()
          Select a collection long field
 Collection ejbHomeSelectCollectionRemoteEjb()
          Select a collection remote ejb
 Collection ejbHomeSelectCollectionShortField()
          Select a collection short field
 Collection ejbHomeSelectCollectionStringField()
          Select a collection string field
 boolean ejbHomeSelectSingleBooleanField(boolean value)
          Select a single boolean field
 byte ejbHomeSelectSingleByteField(byte value)
          Select a single byte field
 char ejbHomeSelectSingleCharField(char value)
          Select a single char field
 double ejbHomeSelectSingleDoubleField(double value)
          Select a single double field
 float ejbHomeSelectSingleFloatField(float value)
          Select a single float field
 int ejbHomeSelectSingleIntField(int value)
          Select a single int field
 Object ejbHomeSelectSingleLocalEjb(int value)
          Select a single local ejb
 long ejbHomeSelectSingleLongField(long value)
          Select a single long field
 Object ejbHomeSelectSingleRemoteEjb(int value)
          Select a single remote ejb
 short ejbHomeSelectSingleShortField(short value)
          Select a single short field
 String ejbHomeSelectSingleStringField(String value)
          Select a single string field
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbRemove()
           
abstract  Collection ejbSelectCollectionBooleanField()
           
abstract  Collection ejbSelectCollectionByteField()
           
abstract  Collection ejbSelectCollectionCharField()
           
abstract  Collection ejbSelectCollectionDoubleField()
           
abstract  Collection ejbSelectCollectionFloatField()
           
abstract  Collection ejbSelectCollectionIntField()
           
abstract  Collection ejbSelectCollectionLocalEjb()
           
abstract  Collection ejbSelectCollectionLongField()
           
abstract  Collection ejbSelectCollectionRemoteEjb()
           
abstract  Collection ejbSelectCollectionShortField()
           
abstract  Collection ejbSelectCollectionStringField()
           
abstract  boolean ejbSelectSingleBooleanField(boolean value)
           
abstract  byte ejbSelectSingleByteField(byte value)
           
abstract  char ejbSelectSingleCharField(char value)
           
abstract  double ejbSelectSingleDoubleField(double value)
           
abstract  float ejbSelectSingleFloatField(float value)
           
abstract  int ejbSelectSingleIntField(int value)
           
abstract  Object ejbSelectSingleLocalEjb(int value)
           
abstract  long ejbSelectSingleLongField(long value)
           
abstract  Object ejbSelectSingleRemoteEjb(int value)
           
abstract  short ejbSelectSingleShortField(short value)
           
abstract  String ejbSelectSingleStringField(String value)
           
 void ejbStore()
           
abstract  Integer getId()
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
abstract  void setId(Integer id)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryBean

public QueryBean()
Method Detail

getId

public abstract Integer getId()

setId

public abstract void setId(Integer id)

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
Specified by:
setEntityContext in interface javax.ejb.EntityBean

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.EntityBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.EntityBean

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface javax.ejb.EntityBean

ejbStore

public void ejbStore()
Specified by:
ejbStore in interface javax.ejb.EntityBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.EntityBean

ejbHomeSelectSingleStringField

public String ejbHomeSelectSingleStringField(String value)
                                      throws javax.ejb.FinderException
Select a single string field

Throws:
javax.ejb.FinderException

ejbSelectSingleStringField

public abstract String ejbSelectSingleStringField(String value)
                                           throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectSingleBooleanField

public boolean ejbHomeSelectSingleBooleanField(boolean value)
                                        throws javax.ejb.FinderException
Select a single boolean field

Throws:
javax.ejb.FinderException

ejbSelectSingleBooleanField

public abstract boolean ejbSelectSingleBooleanField(boolean value)
                                             throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectSingleCharField

public char ejbHomeSelectSingleCharField(char value)
                                  throws javax.ejb.FinderException
Select a single char field

Throws:
javax.ejb.FinderException

ejbSelectSingleCharField

public abstract char ejbSelectSingleCharField(char value)
                                       throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectSingleByteField

public byte ejbHomeSelectSingleByteField(byte value)
                                  throws javax.ejb.FinderException
Select a single byte field

Throws:
javax.ejb.FinderException

ejbSelectSingleByteField

public abstract byte ejbSelectSingleByteField(byte value)
                                       throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectSingleShortField

public short ejbHomeSelectSingleShortField(short value)
                                    throws javax.ejb.FinderException
Select a single short field

Throws:
javax.ejb.FinderException

ejbSelectSingleShortField

public abstract short ejbSelectSingleShortField(short value)
                                         throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectSingleIntField

public int ejbHomeSelectSingleIntField(int value)
                                throws javax.ejb.FinderException
Select a single int field

Throws:
javax.ejb.FinderException

ejbSelectSingleIntField

public abstract int ejbSelectSingleIntField(int value)
                                     throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectSingleLongField

public long ejbHomeSelectSingleLongField(long value)
                                  throws javax.ejb.FinderException
Select a single long field

Throws:
javax.ejb.FinderException

ejbSelectSingleLongField

public abstract long ejbSelectSingleLongField(long value)
                                       throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectSingleFloatField

public float ejbHomeSelectSingleFloatField(float value)
                                    throws javax.ejb.FinderException
Select a single float field

Throws:
javax.ejb.FinderException

ejbSelectSingleFloatField

public abstract float ejbSelectSingleFloatField(float value)
                                         throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectSingleDoubleField

public double ejbHomeSelectSingleDoubleField(double value)
                                      throws javax.ejb.FinderException
Select a single double field

Throws:
javax.ejb.FinderException

ejbSelectSingleDoubleField

public abstract double ejbSelectSingleDoubleField(double value)
                                           throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionStringField

public Collection ejbHomeSelectCollectionStringField()
                                              throws javax.ejb.FinderException
Select a collection string field

Throws:
javax.ejb.FinderException

ejbSelectCollectionStringField

public abstract Collection ejbSelectCollectionStringField()
                                                   throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionBooleanField

public Collection ejbHomeSelectCollectionBooleanField()
                                               throws javax.ejb.FinderException
Select a collection boolean field

Throws:
javax.ejb.FinderException

ejbSelectCollectionBooleanField

public abstract Collection ejbSelectCollectionBooleanField()
                                                    throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionCharField

public Collection ejbHomeSelectCollectionCharField()
                                            throws javax.ejb.FinderException
Select a collection char field

Throws:
javax.ejb.FinderException

ejbSelectCollectionCharField

public abstract Collection ejbSelectCollectionCharField()
                                                 throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionByteField

public Collection ejbHomeSelectCollectionByteField()
                                            throws javax.ejb.FinderException
Select a collection byte field

Throws:
javax.ejb.FinderException

ejbSelectCollectionByteField

public abstract Collection ejbSelectCollectionByteField()
                                                 throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionShortField

public Collection ejbHomeSelectCollectionShortField()
                                             throws javax.ejb.FinderException
Select a collection short field

Throws:
javax.ejb.FinderException

ejbSelectCollectionShortField

public abstract Collection ejbSelectCollectionShortField()
                                                  throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionIntField

public Collection ejbHomeSelectCollectionIntField()
                                           throws javax.ejb.FinderException
Select a collection int field

Throws:
javax.ejb.FinderException

ejbSelectCollectionIntField

public abstract Collection ejbSelectCollectionIntField()
                                                throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionLongField

public Collection ejbHomeSelectCollectionLongField()
                                            throws javax.ejb.FinderException
Select a collection long field

Throws:
javax.ejb.FinderException

ejbSelectCollectionLongField

public abstract Collection ejbSelectCollectionLongField()
                                                 throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionFloatField

public Collection ejbHomeSelectCollectionFloatField()
                                             throws javax.ejb.FinderException
Select a collection float field

Throws:
javax.ejb.FinderException

ejbSelectCollectionFloatField

public abstract Collection ejbSelectCollectionFloatField()
                                                  throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionDoubleField

public Collection ejbHomeSelectCollectionDoubleField()
                                              throws javax.ejb.FinderException
Select a collection double field

Throws:
javax.ejb.FinderException

ejbSelectCollectionDoubleField

public abstract Collection ejbSelectCollectionDoubleField()
                                                   throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectSingleLocalEjb

public Object ejbHomeSelectSingleLocalEjb(int value)
                                   throws javax.ejb.FinderException
Select a single local ejb

Throws:
javax.ejb.FinderException

ejbSelectSingleLocalEjb

public abstract Object ejbSelectSingleLocalEjb(int value)
                                        throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectSingleRemoteEjb

public Object ejbHomeSelectSingleRemoteEjb(int value)
                                    throws javax.ejb.FinderException
Select a single remote ejb

Throws:
javax.ejb.FinderException

ejbSelectSingleRemoteEjb

public abstract Object ejbSelectSingleRemoteEjb(int value)
                                         throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionLocalEjb

public Collection ejbHomeSelectCollectionLocalEjb()
                                           throws javax.ejb.FinderException
Select a collection local ejb

Throws:
javax.ejb.FinderException

ejbSelectCollectionLocalEjb

public abstract Collection ejbSelectCollectionLocalEjb()
                                                throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeSelectCollectionRemoteEjb

public Collection ejbHomeSelectCollectionRemoteEjb()
                                            throws javax.ejb.FinderException
Select a collection remote ejb

Throws:
javax.ejb.FinderException

ejbSelectCollectionRemoteEjb

public abstract Collection ejbSelectCollectionRemoteEjb()
                                                 throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.