1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
| /**
* Entity Bean CMP for Pile_Face (with xdoclet tags).
*
* @author Personne d'autre que moi meme
* @version 1.0
*
* @ejb.bean name="Pile_Face"
* display-name="Name for Pile_Face"
* type="CMP"
* cmp-version="2.x"
* reentrant="false"
*
* view-type="local"
* local-jndi-name="ejb/Pile_Face"
*
* schema="Pile_FaceSchema"
*
* @ejb.pk generate="true"
* @jboss.entity-command name="default" class="org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand"
*
* @ejb.persistence table-name = "t_Pile_Face"
*
* @ejb.transaction type="Required"
*
* @ejb.finder
* signature="Collection findByPile(java.lang.Integer pile)"
* query="SELECT OBJECT(pile_face) FROM Pile_FaceSchema pile_face WHERE pile_face.pile = ?1"
* unchecked="true"
* result-type-mapping="Local"
*
* @ejb.finder
* signature="Collection findByFace(java.lang.Integer face)"
* query="SELECT OBJECT(pile_face) FROM Pile_FaceSchema pile_face WHERE pile_face.face = ?1"
* unchecked="true"
* result-type-mapping="Local"
*
* @ejb.finder
* signature="java.util.Collection findAll()"
* query="SELECT OBJECT(pile_face) FROM Pile_FaceSchema pile_face"
* unchecked="true"
* result-type-mapping="Local"
*
* @ejb:util generate="physical"
*
*/
public abstract class Pile_FaceBean implements EntityBean {
/** The entity context */
private EntityContext context = null;
/**
* Creation method comment : composite primary key
*
* @ejb.create-method view-type="local"
*
* @param pile
* @param face
* @param time
* @return Primary Key
* @throws CreateException
*/
public Pile_FacePK ejbCreate(Integer pile, Integer face, Date time) throws CreateException {
setPile(pile);
setFace(face);
setTime(time);
return null;
}
public void ejbPostCreate(Integer pile, Integer face, Date time) throws CreateException {
}
/**
* @ejb.interface-method view-type="local"
*/
public abstract Pile_FacePK getPK();
/**
* @ejb.interface-method view-type="local"
* @ejb.pk-field
* @ejb.persistence column-name="k_Pile"
*
* @return Pile ID
*/
public abstract Integer getPile();
/**
* @ejb.interface-method view-type="local"
*
* @param pile Pile ID
*/
public abstract void setPile(Integer pile);
//... |
Partager