// 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.HashSet;
import java.util.Set;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import de.hatoka.common.capi.dao.IdentifiableEntity;

    @NotNull
    @XmlID
    @XmlAttribute(name="id")
    private String externalRef;

    @NotNull
    private String accountRef;

    @NotNull
    @XmlAttribute
    private String name;

    @XmlAttribute
    private String eMail;

    @Override
    public int hashCode()
    {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((accountRef == null) ? 0 : accountRef.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj)
    {
        if (this == obj)
// 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.tournament/src/main/java/de/hatoka/tournament/capi/entities/PlayerPO.java
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import de.hatoka.common.capi.dao.IdentifiableEntity;


    @NotNull
    @XmlID
    @XmlAttribute(name="id")
    private String externalRef;

    @NotNull
    private String accountRef;

    @NotNull
    @XmlAttribute
    private String name;

    @XmlAttribute
    private String eMail;

    @Override
    public int hashCode()
    {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((accountRef == null) ? 0 : accountRef.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj)
    {
        if (this == obj)
            return true;