package model; import java.io.Serializable; import javax.persistence.*; /** * The primary key class for the tseaist03 database table. * */ @Embeddable public class Tseaist03PK implements Serializable { //default serial version id, required for serializable classes. private static final long serialVersionUID = 1L; @Column(unique=true, nullable=false, length=6) private String statcym; @Column(unique=true, nullable=false, length=4) private String eaibzwkdstcd; @Column(unique=true, nullable=false, length=30) private String eaisvcname; @Column(unique=true, nullable=false, length=2) private String intfacptrncd; @Column(unique=true, nullable=false, length=4) private String chnlmdiadstcd; @Column(unique=true, nullable=false, length=3) private String logprcssserno; @Column(unique=true, nullable=false, length=1) private String stndmsguseyn; public Tseaist03PK() { } public String getStatcym() { return this.statcym; } public void setStatcym(String statcym) { this.statcym = statcym; } public String getEaibzwkdstcd() { return this.eaibzwkdstcd; } public void setEaibzwkdstcd(String eaibzwkdstcd) { this.eaibzwkdstcd = eaibzwkdstcd; } public String getEaisvcname() { return this.eaisvcname; } public void setEaisvcname(String eaisvcname) { this.eaisvcname = eaisvcname; } public String getIntfacptrncd() { return this.intfacptrncd; } public void setIntfacptrncd(String intfacptrncd) { this.intfacptrncd = intfacptrncd; } public String getChnlmdiadstcd() { return this.chnlmdiadstcd; } public void setChnlmdiadstcd(String chnlmdiadstcd) { this.chnlmdiadstcd = chnlmdiadstcd; } public String getLogprcssserno() { return this.logprcssserno; } public void setLogprcssserno(String logprcssserno) { this.logprcssserno = logprcssserno; } public String getStndmsguseyn() { return this.stndmsguseyn; } public void setStndmsguseyn(String stndmsguseyn) { this.stndmsguseyn = stndmsguseyn; } public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof Tseaist03PK)) { return false; } Tseaist03PK castOther = (Tseaist03PK)other; return this.statcym.equals(castOther.statcym) && this.eaibzwkdstcd.equals(castOther.eaibzwkdstcd) && this.eaisvcname.equals(castOther.eaisvcname) && this.intfacptrncd.equals(castOther.intfacptrncd) && this.chnlmdiadstcd.equals(castOther.chnlmdiadstcd) && this.logprcssserno.equals(castOther.logprcssserno) && this.stndmsguseyn.equals(castOther.stndmsguseyn); } public int hashCode() { final int prime = 31; int hash = 17; hash = hash * prime + this.statcym.hashCode(); hash = hash * prime + this.eaibzwkdstcd.hashCode(); hash = hash * prime + this.eaisvcname.hashCode(); hash = hash * prime + this.intfacptrncd.hashCode(); hash = hash * prime + this.chnlmdiadstcd.hashCode(); hash = hash * prime + this.logprcssserno.hashCode(); hash = hash * prime + this.stndmsguseyn.hashCode(); return hash; } }