@@ -0,0 +1,782 @@
+/**%0A * %0A */%0Apackage be.shoktan.BeeBreedingManager.model;%0A%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.Inheritance;%0Aimport javax.persistence.InheritanceType;%0A%0A/**%0A * Basic class to hold common methods for all the Entity possessing a name%0A * @author Wisthy%0A *%0A */%0A@Entity @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)%0Apublic abstract class ANamedEntity extends ABaseEntity %7B%0A%09@Column(unique = true)%0A%09private String name;%0A%0A%0A%0A%09// ********** getters & setters ********** //%0A%0A%09/**%0A%09 * @return the name%0A%09 */%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09/**%0A%09 * @param name the name to set%0A%09 */%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09// ********** Abstract ********** //%0A%0A%09// ********** others ********** //%0A%7D%0A

Create ANamedEntity.java