java/sql-dk/src/info/globalcode/sql/dk/formatting/ColumnDescriptor.java
author František Kučera <franta-hg@frantovo.cz>
Fri, 20 Dec 2013 22:19:10 +0100
branchv_0
changeset 23 d8faf91519a5
child 37 9e6f8e5d5f98
permissions -rw-r--r--
formatter: ColumnDescriptor
franta-hg@23
     1
/**
franta-hg@23
     2
 * SQL-DK
franta-hg@23
     3
 * Copyright © 2013 František Kučera (frantovo.cz)
franta-hg@23
     4
 *
franta-hg@23
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@23
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@23
     7
 * the Free Software Foundation, either version 3 of the License, or
franta-hg@23
     8
 * (at your option) any later version.
franta-hg@23
     9
 *
franta-hg@23
    10
 * This program is distributed in the hope that it will be useful,
franta-hg@23
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@23
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@23
    13
 * GNU General Public License for more details.
franta-hg@23
    14
 *
franta-hg@23
    15
 * You should have received a copy of the GNU General Public License
franta-hg@23
    16
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@23
    17
 */
franta-hg@23
    18
package info.globalcode.sql.dk.formatting;
franta-hg@23
    19
franta-hg@23
    20
/**
franta-hg@23
    21
 *
franta-hg@23
    22
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@23
    23
 */
franta-hg@23
    24
public class ColumnDescriptor {
franta-hg@23
    25
franta-hg@23
    26
	private String name;
franta-hg@23
    27
	private String label;
franta-hg@23
    28
	private int type;
franta-hg@23
    29
	private String typeName;
franta-hg@23
    30
franta-hg@23
    31
	public String getName() {
franta-hg@23
    32
		return name;
franta-hg@23
    33
	}
franta-hg@23
    34
franta-hg@23
    35
	public void setName(String name) {
franta-hg@23
    36
		this.name = name;
franta-hg@23
    37
	}
franta-hg@23
    38
franta-hg@23
    39
	public String getLabel() {
franta-hg@23
    40
		return label;
franta-hg@23
    41
	}
franta-hg@23
    42
franta-hg@23
    43
	public void setLabel(String label) {
franta-hg@23
    44
		this.label = label;
franta-hg@23
    45
	}
franta-hg@23
    46
franta-hg@23
    47
	public int getType() {
franta-hg@23
    48
		return type;
franta-hg@23
    49
	}
franta-hg@23
    50
franta-hg@23
    51
	public void setType(int type) {
franta-hg@23
    52
		this.type = type;
franta-hg@23
    53
	}
franta-hg@23
    54
franta-hg@23
    55
	public String getTypeName() {
franta-hg@23
    56
		return typeName;
franta-hg@23
    57
	}
franta-hg@23
    58
franta-hg@23
    59
	public void setTypeName(String typeName) {
franta-hg@23
    60
		this.typeName = typeName;
franta-hg@23
    61
	}
franta-hg@23
    62
}