query = "select et from EtudeType et where et.brief = :brief"
)
})
-public class EtudeType extends DomainObject {
+public class EtudeType extends DomainObject<EtudeType> {
public static final String FIND_ALL = "EtudeType.findAll";
public static final String FIND_BY_ID = "EtudeType.findById";
public static final String FIND_BY_BRIEF = "EtudeType.findByBrief";
- public static final String BRIEF_PROPERTY = "brief";
+ public static final String BRIEF_PARAMETER = "brief";
@Id
@Column(
return target;
}
+ @Override
+ public Long getId() {
+ return id;
+ }
+
}