/* * ALMA - Atacama Large Millimeter Array * (c) European Southern Observatory, 2002 * (c) Associated Universities Inc., 2002 * Copyright by ESO (in the framework of the ALMA collaboration), * Copyright by AUI (in the framework of the ALMA collaboration), * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY, without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA * File Component.java */ package alma.TMCDB.baci; @SuppressWarnings("serial") public class Plong extends TypelessProperty { static private final String newline = System.getProperty("line.separator"); private int min_delta_trig = 1; // TMCDB default is 1, BACI is 0 private int default_value = 0; private int graph_min = Integer.MIN_VALUE; private int graph_max = Integer.MAX_VALUE; private int min_step = 1; // TMCDB default is 1, BACI is 0 private int archive_delta = 0; /** * Default Constructor for Component. Setter methods must be used to insert data. */ public Plong () { super(); setFormat("%d"); } public String toString() { String s = "Plong:" + newline; s += super.toString() + newline; s += "\tmin_delta_trig: " + min_delta_trig + newline; s += "\tdefault_value: " + default_value + newline; s += "\tgraph_min: " + graph_min + newline; s += "\tgraph_max: " + graph_max + newline; s += "\tmin_step: " + min_step + newline; s += "\tarchive_delta: " + archive_delta + newline; return s; } /** * @return the archive_delta */ public int getArchive_delta() { return archive_delta; } /** * @param archive_delta the archive_delta to set */ public void setArchive_delta(int archive_delta) { this.archive_delta = archive_delta; } /** * @return the default_value */ public int getDefault_value() { return default_value; } /** * @param default_value the default_value to set */ public void setDefault_value(int default_value) { this.default_value = default_value; } /** * @return the graph_max */ public int getGraph_max() { return graph_max; } /** * @param graph_max the graph_max to set */ public void setGraph_max(int graph_max) { this.graph_max = graph_max; } /** * @return the graph_min */ public int getGraph_min() { return graph_min; } /** * @param graph_min the graph_min to set */ public void setGraph_min(int graph_min) { this.graph_min = graph_min; } /** * @return the min_delta_trig */ public int getMin_delta_trig() { return min_delta_trig; } /** * @param min_delta_trig the min_delta_trig to set */ public void setMin_delta_trig(int min_delta_trig) { this.min_delta_trig = min_delta_trig; } /** * @return the min_step */ public int getMin_step() { return min_step; } /** * @param min_step the min_step to set */ public void setMin_step(int min_step) { this.min_step = min_step; } }