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

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

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

See Also:
Serialized Form

Constructor Summary
QueryBean()
           
 
Method Summary
 void ejbActivate()
           
 java.util.Collection ejbHomeSelectCollectionBooleanField()
          Select a collection boolean field
 java.util.Collection ejbHomeSelectCollectionByteField()
          Select a collection byte field
 java.util.Collection ejbHomeSelectCollectionCharField()
          Select a collection char field
 java.util.Collection ejbHomeSelectCollectionDoubleField()
          Select a collection double field
 java.util.Collection ejbHomeSelectCollectionFloatField()
          Select a collection float field
 java.util.Collection ejbHomeSelectCollectionIntField()
          Select a collection int field
 java.util.Collection ejbHomeSelectCollectionLocalEjb()
          Select a collection local ejb
 java.util.Collection ejbHomeSelectCollectionLongField()
          Select a collection long field
 java.util.Collection ejbHomeSelectCollectionRemoteEjb()
          Select a collection remote ejb
 java.util.Collection ejbHomeSelectCollectionShortField()
          Select a collection short field
 java.util.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
 java.lang.Object ejbHomeSelectSingleLocalEjb(int value)
          Select a single local ejb
 long ejbHomeSelectSingleLongField(long value)
          Select a single long field
 java.lang.Object ejbHomeSelectSingleRemoteEjb(int value)
          Select a single remote ejb
 short ejbHomeSelectSingleShortField(short value)
          Select a single short field
 java.lang.String ejbHomeSelectSingleStringField(java.lang.String value)
          Select a single string field
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbRemove()
           
abstract  java.util.Collection ejbSelectCollectionBooleanField()
           
abstract  java.util.Collection ejbSelectCollectionByteField()
           
abstract  java.util.Collection ejbSelectCollectionCharField()
           
abstract  java.util.Collection ejbSelectCollectionDoubleField()
           
abstract  java.util.Collection ejbSelectCollectionFloatField()
           
abstract  java.util.Collection ejbSelectCollectionIntField()
           
abstract  java.util.Collection ejbSelectCollectionLocalEjb()
           
abstract  java.util.Collection ejbSelectCollectionLongField()
           
abstract  java.util.Collection ejbSelectCollectionRemoteEjb()
           
abstract  java.util.Collection ejbSelectCollectionShortField()
           
abstract  java.util.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  java.lang.Object ejbSelectSingleLocalEjb(int value)
           
abstract  long ejbSelectSingleLongField(long value)
           
abstract  java.lang.Object ejbSelectSingleRemoteEjb(int value)
           
abstract  short ejbSelectSingleShortField(short value)
           
abstract  java.lang.String ejbSelectSingleStringField(java.lang.String value)
           
 void ejbStore()
           
abstract  java.lang.Integer getId()
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
abstract  void setId(java.lang.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 java.lang.Integer getId()

setId

public abstract void setId(java.lang.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 java.lang.String ejbHomeSelectSingleStringField(java.lang.String value)
                                                throws javax.ejb.FinderException
Select a single string field

Throws:
javax.ejb.FinderException

ejbSelectSingleStringField

public abstract java.lang.String ejbSelectSingleStringField(java.lang.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 java.util.Collection ejbHomeSelectCollectionStringField()
                                                        throws javax.ejb.FinderException
Select a collection string field

Throws:
javax.ejb.FinderException

ejbSelectCollectionStringField

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

ejbHomeSelectCollectionBooleanField

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

Throws:
javax.ejb.FinderException

ejbSelectCollectionBooleanField

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

ejbHomeSelectCollectionCharField

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

Throws:
javax.ejb.FinderException

ejbSelectCollectionCharField

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

ejbHomeSelectCollectionByteField

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

Throws:
javax.ejb.FinderException

ejbSelectCollectionByteField

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

ejbHomeSelectCollectionShortField

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

Throws:
javax.ejb.FinderException

ejbSelectCollectionShortField

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

ejbHomeSelectCollectionIntField

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

Throws:
javax.ejb.FinderException

ejbSelectCollectionIntField

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

ejbHomeSelectCollectionLongField

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

Throws:
javax.ejb.FinderException

ejbSelectCollectionLongField

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

ejbHomeSelectCollectionFloatField

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

Throws:
javax.ejb.FinderException

ejbSelectCollectionFloatField

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

ejbHomeSelectCollectionDoubleField

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

Throws:
javax.ejb.FinderException

ejbSelectCollectionDoubleField

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

ejbHomeSelectSingleLocalEjb

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

Throws:
javax.ejb.FinderException

ejbSelectSingleLocalEjb

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

ejbHomeSelectSingleRemoteEjb

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

Throws:
javax.ejb.FinderException

ejbSelectSingleRemoteEjb

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

ejbHomeSelectCollectionLocalEjb

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

Throws:
javax.ejb.FinderException

ejbSelectCollectionLocalEjb

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

ejbHomeSelectCollectionRemoteEjb

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

Throws:
javax.ejb.FinderException

ejbSelectCollectionRemoteEjb

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


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