// Path: de.hatoka.common/src/main/java/de/hatoka/common/capi/dao/IdentifiableEntity.java
// public interface IdentifiableEntity
// {
//     String getId();
// 
//     void setId(String id);
// }


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlTransient;
import de.hatoka.common.capi.dao.IdentifiableEntity;
package de.hatoka.group.capi.entities;




@Entity
@NamedQueries(value = {
                @NamedQuery(name = "GroupPO.findByName", query = "select a from GroupPO a where a.name = :name"),
                @NamedQuery(name = "GroupPO.findByOwnerRef", query = "select a from GroupPO a where a.ownerRef = :ownerRef")
})
// Path: de.hatoka.common/src/main/java/de/hatoka/common/capi/dao/IdentifiableEntity.java
// public interface IdentifiableEntity
// {
//     String getId();
// 
//     void setId(String id);
// }


// Path: de.hatoka.group/src/main/java/de/hatoka/group/capi/entities/GroupPO.java
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlTransient;
import de.hatoka.common.capi.dao.IdentifiableEntity;

package de.hatoka.group.capi.entities;




@Entity
@NamedQueries(value = {
                @NamedQuery(name = "GroupPO.findByName", query = "select a from GroupPO a where a.name = :name"),
                @NamedQuery(name = "GroupPO.findByOwnerRef", query = "select a from GroupPO a where a.ownerRef = :ownerRef")
})
public class GroupPO implements Serializable, IdentifiableEntity