view flys-backend/src/main/java/de/intevation/seddb/model/Ssiebungsieb.java @ 4255:670e98f5a441

Fixed leak while merging facets. The ThemeList that is used by OutputHelper to sort the Facets for an Output now uses a list to store the ManagedFacets. The correct order is made up by sorting the List using Collections.sort() function of the Java JDK. Therfore, the ManagedFacet class implements the Comparable interface. The return value of its compareTo(other) method depends on the value of the 'position' field.
author Ingo Weinzierl <weinzierl.ingo@googlemail.com>
date Thu, 25 Oct 2012 14:01:46 +0200
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 javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Ssiebungsieb generated by hbm2java
 */
@Entity
@Table(name="SSIEBUNGSIEB"
    ,schema="SEDDB"
)
public class Ssiebungsieb  implements java.io.Serializable {


     private SsiebungsiebId id;

    public Ssiebungsieb() {
    }

    public Ssiebungsieb(SsiebungsiebId id) {
       this.id = id;
    }

     @EmbeddedId


    @AttributeOverrides( {
        @AttributeOverride(name="siebanalyseid", column=@Column(name="SIEBANALYSEID", nullable=false, precision=11, scale=0) ),
        @AttributeOverride(name="gsiebsatzid", column=@Column(name="GSIEBSATZID", nullable=false, precision=11, scale=0) ),
        @AttributeOverride(name="gmasse", column=@Column(name="GMASSE", precision=9, scale=3) ),
        @AttributeOverride(name="masche01", column=@Column(name="MASCHE01", precision=7, scale=4) ),
        @AttributeOverride(name="rueck01", column=@Column(name="RUECK01", precision=9, scale=3) ),
        @AttributeOverride(name="masche02", column=@Column(name="MASCHE02", precision=7, scale=4) ),
        @AttributeOverride(name="rueck02", column=@Column(name="RUECK02", precision=9, scale=3) ),
        @AttributeOverride(name="masche03", column=@Column(name="MASCHE03", precision=7, scale=4) ),
        @AttributeOverride(name="rueck03", column=@Column(name="RUECK03", precision=9, scale=3) ),
        @AttributeOverride(name="masche04", column=@Column(name="MASCHE04", precision=7, scale=4) ),
        @AttributeOverride(name="rueck04", column=@Column(name="RUECK04", precision=9, scale=3) ),
        @AttributeOverride(name="masche05", column=@Column(name="MASCHE05", precision=7, scale=4) ),
        @AttributeOverride(name="rueck05", column=@Column(name="RUECK05", precision=9, scale=3) ),
        @AttributeOverride(name="masche06", column=@Column(name="MASCHE06", precision=7, scale=4) ),
        @AttributeOverride(name="rueck06", column=@Column(name="RUECK06", precision=9, scale=3) ),
        @AttributeOverride(name="masche07", column=@Column(name="MASCHE07", precision=7, scale=4) ),
        @AttributeOverride(name="rueck07", column=@Column(name="RUECK07", precision=9, scale=3) ),
        @AttributeOverride(name="masche08", column=@Column(name="MASCHE08", precision=7, scale=4) ),
        @AttributeOverride(name="rueck08", column=@Column(name="RUECK08", precision=9, scale=3) ),
        @AttributeOverride(name="masche09", column=@Column(name="MASCHE09", precision=7, scale=4) ),
        @AttributeOverride(name="rueck09", column=@Column(name="RUECK09", precision=9, scale=3) ),
        @AttributeOverride(name="masche10", column=@Column(name="MASCHE10", precision=7, scale=4) ),
        @AttributeOverride(name="rueck10", column=@Column(name="RUECK10", precision=9, scale=3) ),
        @AttributeOverride(name="masche11", column=@Column(name="MASCHE11", precision=7, scale=4) ),
        @AttributeOverride(name="rueck11", column=@Column(name="RUECK11", precision=9, scale=3) ),
        @AttributeOverride(name="masche12", column=@Column(name="MASCHE12", precision=7, scale=4) ),
        @AttributeOverride(name="rueck12", column=@Column(name="RUECK12", precision=9, scale=3) ),
        @AttributeOverride(name="masche13", column=@Column(name="MASCHE13", precision=7, scale=4) ),
        @AttributeOverride(name="rueck13", column=@Column(name="RUECK13", precision=9, scale=3) ),
        @AttributeOverride(name="masche14", column=@Column(name="MASCHE14", precision=7, scale=4) ),
        @AttributeOverride(name="rueck14", column=@Column(name="RUECK14", precision=9, scale=3) ),
        @AttributeOverride(name="masche15", column=@Column(name="MASCHE15", precision=7, scale=4) ),
        @AttributeOverride(name="rueck15", column=@Column(name="RUECK15", precision=9, scale=3) ),
        @AttributeOverride(name="masche16", column=@Column(name="MASCHE16", precision=7, scale=4) ),
        @AttributeOverride(name="rueck16", column=@Column(name="RUECK16", precision=9, scale=3) ),
        @AttributeOverride(name="masche17", column=@Column(name="MASCHE17", precision=7, scale=4) ),
        @AttributeOverride(name="rueck17", column=@Column(name="RUECK17", precision=9, scale=3) ),
        @AttributeOverride(name="masche18", column=@Column(name="MASCHE18", precision=7, scale=4) ),
        @AttributeOverride(name="rueck18", column=@Column(name="RUECK18", precision=9, scale=3) ),
        @AttributeOverride(name="masche19", column=@Column(name="MASCHE19", precision=7, scale=4) ),
        @AttributeOverride(name="rueck19", column=@Column(name="RUECK19", precision=9, scale=3) ),
        @AttributeOverride(name="masche20", column=@Column(name="MASCHE20", precision=7, scale=4) ),
        @AttributeOverride(name="rueck20", column=@Column(name="RUECK20", precision=9, scale=3) ),
        @AttributeOverride(name="masche21", column=@Column(name="MASCHE21", precision=7, scale=4) ),
        @AttributeOverride(name="rueck21", column=@Column(name="RUECK21", precision=9, scale=3) ),
        @AttributeOverride(name="rest", column=@Column(name="REST", precision=9, scale=3) ) } )
    public SsiebungsiebId getId() {
        return this.id;
    }

    public void setId(SsiebungsiebId id) {
        this.id = id;
    }
}

http://dive4elements.wald.intevation.org