java/sql-dk/src/info/globalcode/sql/dk/configuration/Configuration.java
author František Kučera <franta-hg@frantovo.cz>
Sat, 21 Dec 2013 20:38:50 +0100
branchv_0
changeset 26 4ec8e5534eb9
parent 20 java/sql-dk/src/info/globalcode/sql/dk/Configuration.java@e225bdcd260e
child 29 d66858b4b563
permissions -rw-r--r--
configuration basics
franta-hg@20
     1
/**
franta-hg@20
     2
 * SQL-DK
franta-hg@20
     3
 * Copyright © 2013 František Kučera (frantovo.cz)
franta-hg@20
     4
 *
franta-hg@20
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@20
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@20
     7
 * the Free Software Foundation, either version 3 of the License, or
franta-hg@20
     8
 * (at your option) any later version.
franta-hg@20
     9
 *
franta-hg@20
    10
 * This program is distributed in the hope that it will be useful,
franta-hg@20
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@20
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@20
    13
 * GNU General Public License for more details.
franta-hg@20
    14
 *
franta-hg@20
    15
 * You should have received a copy of the GNU General Public License
franta-hg@20
    16
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@20
    17
 */
franta-hg@26
    18
package info.globalcode.sql.dk.configuration;
franta-hg@26
    19
franta-hg@26
    20
import java.util.ArrayList;
franta-hg@26
    21
import java.util.List;
franta-hg@26
    22
import javax.xml.bind.annotation.XmlRootElement;
franta-hg@20
    23
franta-hg@20
    24
/**
franta-hg@20
    25
 *
franta-hg@20
    26
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@20
    27
 */
franta-hg@26
    28
@XmlRootElement
franta-hg@20
    29
public class Configuration {
franta-hg@26
    30
franta-hg@26
    31
	private List<DatabaseDefinition> databases = new ArrayList<>();
franta-hg@26
    32
	private List<FormatterDefinition> formatters = new ArrayList<>();
franta-hg@26
    33
franta-hg@26
    34
	public List<DatabaseDefinition> getDatabases() {
franta-hg@26
    35
		return databases;
franta-hg@26
    36
	}
franta-hg@26
    37
franta-hg@26
    38
	public void setDatabases(List<DatabaseDefinition> databases) {
franta-hg@26
    39
		this.databases = databases;
franta-hg@26
    40
	}
franta-hg@26
    41
franta-hg@26
    42
	public List<FormatterDefinition> getFormatters() {
franta-hg@26
    43
		return formatters;
franta-hg@26
    44
	}
franta-hg@26
    45
franta-hg@26
    46
	public void setFormatters(List<FormatterDefinition> formatters) {
franta-hg@26
    47
		this.formatters = formatters;
franta-hg@26
    48
	}
franta-hg@20
    49
}