1 4 package test.ejb; 5 6 13 public abstract class AllTypesEntityCMP 14 extends test.ejb.AllTypesEntityBean 15 implements javax.ejb.EntityBean 16 { 17 18 public test.interfaces.AllTypesEntityData getData() 19 { 20 test.interfaces.AllTypesEntityData dataHolder = null; 21 try 22 { 23 dataHolder = new test.interfaces.AllTypesEntityData(); 24 25 dataHolder.setIVOwnerHdl( getIVOwnerHdl() ); 26 dataHolder.setId( getId() ); 27 dataHolder.setABoolean( getABoolean() ); 28 dataHolder.setAByte( getAByte() ); 29 dataHolder.setAShort( getAShort() ); 30 dataHolder.setAChar( getAChar() ); 31 dataHolder.setAnInt( getAnInt() ); 32 dataHolder.setALong( getALong() ); 33 dataHolder.setAFloat( getAFloat() ); 34 dataHolder.setADouble( getADouble() ); 35 dataHolder.setAnObject( getAnObject() ); 36 dataHolder.setAnObjectArray( getAnObjectArray() ); 37 dataHolder.setABooleanArray( getABooleanArray() ); 38 dataHolder.setAByteArray( getAByteArray() ); 39 dataHolder.setACharArray( getACharArray() ); 40 dataHolder.setAShortArray( getAShortArray() ); 41 dataHolder.setAnIntArray( getAnIntArray() ); 42 dataHolder.setALongArray( getALongArray() ); 43 dataHolder.setAFloatArray( getAFloatArray() ); 44 dataHolder.setADoubleArray( getADoubleArray() ); 45 dataHolder.setCreationDate( getCreationDate() ); 46 47 } 48 catch (RuntimeException e) 49 { 50 throw new javax.ejb.EJBException (e); 51 } 52 53 return dataHolder; 54 } 55 56 public void ejbLoad() throws javax.ejb.EJBException 57 { 58 super.ejbLoad(); 59 } 60 61 public void ejbStore() throws javax.ejb.EJBException 62 { 63 super.ejbStore(); 64 } 65 66 public void ejbActivate() throws javax.ejb.EJBException 67 { 68 super.ejbActivate(); 69 } 70 71 public void ejbPassivate() throws javax.ejb.EJBException 72 { 73 super.ejbPassivate(); 74 75 } 76 77 public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException 78 { 79 super.setEntityContext(ctx); 80 } 81 82 public void unsetEntityContext() throws javax.ejb.EJBException 83 { 84 super.unsetEntityContext(); 85 } 86 87 public void ejbRemove() throws javax.ejb.EJBException , javax.ejb.RemoveException 88 { 89 super.ejbRemove(); 90 91 } 92 93 94 95 96 97 public abstract int[] getIVOwnerHdl() ; 98 99 public abstract void setIVOwnerHdl( int[] IVOwnerHdl ) ; 100 101 public abstract java.lang.String getId() ; 102 103 public abstract void setId( java.lang.String id ) ; 104 105 public abstract boolean getABoolean() ; 106 107 public abstract void setABoolean( boolean ABoolean ) ; 108 109 public abstract byte getAByte() ; 110 111 public abstract void setAByte( byte AByte ) ; 112 113 public abstract short getAShort() ; 114 115 public abstract void setAShort( short AShort ) ; 116 117 public abstract char getAChar() ; 118 119 public abstract void setAChar( char AChar ) ; 120 121 public abstract int getAnInt() ; 122 123 public abstract void setAnInt( int anInt ) ; 124 125 public abstract long getALong() ; 126 127 public abstract void setALong( long ALong ) ; 128 129 public abstract float getAFloat() ; 130 131 public abstract void setAFloat( float AFloat ) ; 132 133 public abstract double getADouble() ; 134 135 public abstract void setADouble( double ADouble ) ; 136 137 public abstract java.lang.Object getAnObject() ; 138 139 public abstract void setAnObject( java.lang.Object anObject ) ; 140 141 public abstract java.lang.Object [] getAnObjectArray() ; 142 143 public abstract void setAnObjectArray( java.lang.Object [] anObjectArray ) ; 144 145 public abstract boolean[] getABooleanArray() ; 146 147 public abstract void setABooleanArray( boolean[] ABooleanArray ) ; 148 149 public abstract byte[] getAByteArray() ; 150 151 public abstract void setAByteArray( byte[] AByteArray ) ; 152 153 public abstract char[] getACharArray() ; 154 155 public abstract void setACharArray( char[] ACharArray ) ; 156 157 public abstract short[] getAShortArray() ; 158 159 public abstract void setAShortArray( short[] AShortArray ) ; 160 161 public abstract int[] getAnIntArray() ; 162 163 public abstract void setAnIntArray( int[] anIntArray ) ; 164 165 public abstract long[] getALongArray() ; 166 167 public abstract void setALongArray( long[] ALongArray ) ; 168 169 public abstract float[] getAFloatArray() ; 170 171 public abstract void setAFloatArray( float[] AFloatArray ) ; 172 173 public abstract double[] getADoubleArray() ; 174 175 public abstract void setADoubleArray( double[] ADoubleArray ) ; 176 177 public abstract java.util.Date getCreationDate() ; 178 179 public abstract void setCreationDate( java.util.Date creationDate ) ; 180 181 } 182 | Popular Tags |