Mercurial > dive4elements > river
view flys-backend/src/main/java/de/intevation/seddb/model/SlotlinksId.java @ 4573:b87073a05f9d
flys-client: Patch to render combobox options as clickable links.
The way of passing data arguments to the links and further to
the Artifact feeding service is somewhat hacked and should be
refactored (later...).
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Tue, 27 Nov 2012 12:50:10 +0100 |
parents | 2ae732e2c65c |
children | 18619c1e7c2a |
line wrap: on
line source
package de.intevation.seddb.model; // Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1 import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.Embeddable; /** * SlotlinksId generated by hbm2java */ @Embeddable public class SlotlinksId implements java.io.Serializable { private long slotrechteid; private long messungid; private BigDecimal uferabst; private BigDecimal tsand; private BigDecimal tschweb; private BigDecimal fv; private BigDecimal vm; private BigDecimal tiefe; private BigDecimal vsohle; private String bemerkung; private BigDecimal uferablinks; private BigDecimal linksabst; public SlotlinksId() { } public SlotlinksId(long slotrechteid, long messungid, BigDecimal uferabst) { this.slotrechteid = slotrechteid; this.messungid = messungid; this.uferabst = uferabst; } public SlotlinksId(long slotrechteid, long messungid, BigDecimal uferabst, BigDecimal tsand, BigDecimal tschweb, BigDecimal fv, BigDecimal vm, BigDecimal tiefe, BigDecimal vsohle, String bemerkung, BigDecimal uferablinks, BigDecimal linksabst) { this.slotrechteid = slotrechteid; this.messungid = messungid; this.uferabst = uferabst; this.tsand = tsand; this.tschweb = tschweb; this.fv = fv; this.vm = vm; this.tiefe = tiefe; this.vsohle = vsohle; this.bemerkung = bemerkung; this.uferablinks = uferablinks; this.linksabst = linksabst; } @Column(name="SLOTRECHTEID", nullable=false, precision=11, scale=0) public long getSlotrechteid() { return this.slotrechteid; } public void setSlotrechteid(long slotrechteid) { this.slotrechteid = slotrechteid; } @Column(name="MESSUNGID", nullable=false, precision=11, scale=0) public long getMessungid() { return this.messungid; } public void setMessungid(long messungid) { this.messungid = messungid; } @Column(name="UFERABST", nullable=false, precision=8, scale=3) public BigDecimal getUferabst() { return this.uferabst; } public void setUferabst(BigDecimal uferabst) { this.uferabst = uferabst; } @Column(name="TSAND", precision=8, scale=3) public BigDecimal getTsand() { return this.tsand; } public void setTsand(BigDecimal tsand) { this.tsand = tsand; } @Column(name="TSCHWEB", precision=8, scale=3) public BigDecimal getTschweb() { return this.tschweb; } public void setTschweb(BigDecimal tschweb) { this.tschweb = tschweb; } @Column(name="FV", precision=6, scale=3) public BigDecimal getFv() { return this.fv; } public void setFv(BigDecimal fv) { this.fv = fv; } @Column(name="VM", precision=6, scale=4) public BigDecimal getVm() { return this.vm; } public void setVm(BigDecimal vm) { this.vm = vm; } @Column(name="TIEFE", precision=8, scale=3) public BigDecimal getTiefe() { return this.tiefe; } public void setTiefe(BigDecimal tiefe) { this.tiefe = tiefe; } @Column(name="VSOHLE", precision=6, scale=4) public BigDecimal getVsohle() { return this.vsohle; } public void setVsohle(BigDecimal vsohle) { this.vsohle = vsohle; } @Column(name="BEMERKUNG", length=240) public String getBemerkung() { return this.bemerkung; } public void setBemerkung(String bemerkung) { this.bemerkung = bemerkung; } @Column(name="UFERABLINKS", precision=8, scale=3) public BigDecimal getUferablinks() { return this.uferablinks; } public void setUferablinks(BigDecimal uferablinks) { this.uferablinks = uferablinks; } @Column(name="LINKSABST", precision=22, scale=0) public BigDecimal getLinksabst() { return this.linksabst; } public void setLinksabst(BigDecimal linksabst) { this.linksabst = linksabst; } public boolean equals(Object other) { if ( (this == other ) ) return true; if ( (other == null ) ) return false; if ( !(other instanceof SlotlinksId) ) return false; SlotlinksId castOther = ( SlotlinksId ) other; return (this.getSlotrechteid()==castOther.getSlotrechteid()) && (this.getMessungid()==castOther.getMessungid()) && ( (this.getUferabst()==castOther.getUferabst()) || ( this.getUferabst()!=null && castOther.getUferabst()!=null && this.getUferabst().equals(castOther.getUferabst()) ) ) && ( (this.getTsand()==castOther.getTsand()) || ( this.getTsand()!=null && castOther.getTsand()!=null && this.getTsand().equals(castOther.getTsand()) ) ) && ( (this.getTschweb()==castOther.getTschweb()) || ( this.getTschweb()!=null && castOther.getTschweb()!=null && this.getTschweb().equals(castOther.getTschweb()) ) ) && ( (this.getFv()==castOther.getFv()) || ( this.getFv()!=null && castOther.getFv()!=null && this.getFv().equals(castOther.getFv()) ) ) && ( (this.getVm()==castOther.getVm()) || ( this.getVm()!=null && castOther.getVm()!=null && this.getVm().equals(castOther.getVm()) ) ) && ( (this.getTiefe()==castOther.getTiefe()) || ( this.getTiefe()!=null && castOther.getTiefe()!=null && this.getTiefe().equals(castOther.getTiefe()) ) ) && ( (this.getVsohle()==castOther.getVsohle()) || ( this.getVsohle()!=null && castOther.getVsohle()!=null && this.getVsohle().equals(castOther.getVsohle()) ) ) && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) ) && ( (this.getUferablinks()==castOther.getUferablinks()) || ( this.getUferablinks()!=null && castOther.getUferablinks()!=null && this.getUferablinks().equals(castOther.getUferablinks()) ) ) && ( (this.getLinksabst()==castOther.getLinksabst()) || ( this.getLinksabst()!=null && castOther.getLinksabst()!=null && this.getLinksabst().equals(castOther.getLinksabst()) ) ); } public int hashCode() { int result = 17; result = 37 * result + (int) this.getSlotrechteid(); result = 37 * result + (int) this.getMessungid(); result = 37 * result + ( getUferabst() == null ? 0 : this.getUferabst().hashCode() ); result = 37 * result + ( getTsand() == null ? 0 : this.getTsand().hashCode() ); result = 37 * result + ( getTschweb() == null ? 0 : this.getTschweb().hashCode() ); result = 37 * result + ( getFv() == null ? 0 : this.getFv().hashCode() ); result = 37 * result + ( getVm() == null ? 0 : this.getVm().hashCode() ); result = 37 * result + ( getTiefe() == null ? 0 : this.getTiefe().hashCode() ); result = 37 * result + ( getVsohle() == null ? 0 : this.getVsohle().hashCode() ); result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() ); result = 37 * result + ( getUferablinks() == null ? 0 : this.getUferablinks().hashCode() ); result = 37 * result + ( getLinksabst() == null ? 0 : this.getLinksabst().hashCode() ); return result; } }