view src/main/java/de/intevation/lada/model/land/MessprogrammMmt.java @ 984:a51b320a5316

Remove API that should not be used since rev 9121d99a471e. These timestamps are set in the database.
author Tom Gottfried <tom@intevation.de>
date Tue, 28 Jun 2016 10:31:24 +0200
parents d0a591b3eade
children 1c41c7b8f7c2
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU GPL (v>=3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out
 * the documentation coming with IMIS-Labordaten-Application for details.
 */
package de.intevation.lada.model.land;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Type;
import org.hibernate.annotations.TypeDef;
import org.hibernate.annotations.TypeDefs;

import de.intevation.lada.util.data.IntegerArrayType;


/**
 * The persistent class for the messprogramm_mmt database table.
 */
@Entity
@Table(name="messprogramm_mmt")
@TypeDefs({@TypeDef(name="IntegerArray", typeClass=IntegerArrayType.class)})
public class MessprogrammMmt implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name="id", unique=true, nullable=false)
    private Integer id;

    @Column(name="letzte_aenderung")
    private Timestamp letzteAenderung;

    @Type(type="IntegerArray")
    private Integer[] messgroessen;

    @Column(name="mmt_id")
    private String mmtId;

    @Column(name="messprogramm_id")
    private Integer messprogrammId;

    public MessprogrammMmt() {
    }

    public Integer getId() {
        return this.id;
    }

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

    public Timestamp getLetzteAenderung() {
        return this.letzteAenderung;
    }

    public Integer[] getMessgroessen() {
        return this.messgroessen;
    }

    public void setMessgroessen(Integer[] messgroessen) {
        this.messgroessen = messgroessen;
    }

    public String getMmtId() {
        return this.mmtId;
    }

    public void setMmtId(String mmtId) {
        this.mmtId = mmtId;
    }

    public Integer getMessprogrammId() {
        return this.messprogrammId;
    }

    public void setMessprogramm(Integer messprogrammId) {
        this.messprogrammId = messprogrammId;
    }
}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)