java/sql-dk/src/main/java/info/globalcode/sql/dk/configuration/TunnelDefinition.java
author František Kučera <franta-hg@frantovo.cz>
Thu, 24 Oct 2019 21:43:08 +0200
branchv_0
changeset 250 aae5009bd0af
parent 238 4a1864c3e867
permissions -rw-r--r--
fix license version: GNU GPLv3
franta-hg@203
     1
/**
franta-hg@203
     2
 * SQL-DK
franta-hg@203
     3
 * Copyright © 2015 František Kučera (frantovo.cz)
franta-hg@203
     4
 *
franta-hg@203
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@203
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@250
     7
 * the Free Software Foundation, version 3 of the License.
franta-hg@203
     8
 *
franta-hg@203
     9
 * This program is distributed in the hope that it will be useful,
franta-hg@203
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@203
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@203
    12
 * GNU General Public License for more details.
franta-hg@203
    13
 *
franta-hg@203
    14
 * You should have received a copy of the GNU General Public License
franta-hg@203
    15
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@203
    16
 */
franta-hg@203
    17
package info.globalcode.sql.dk.configuration;
franta-hg@203
    18
franta-hg@203
    19
import static info.globalcode.sql.dk.Xmlns.CONFIGURATION;
franta-hg@203
    20
import java.util.List;
franta-hg@203
    21
import javax.xml.bind.annotation.XmlElement;
franta-hg@203
    22
franta-hg@203
    23
/**
franta-hg@203
    24
 *
franta-hg@203
    25
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@203
    26
 */
franta-hg@203
    27
public class TunnelDefinition {
franta-hg@203
    28
franta-hg@203
    29
	private String command;
franta-hg@203
    30
	private List<CommandArgument> arguments;
franta-hg@203
    31
franta-hg@203
    32
	@XmlElement(name = "command", namespace = CONFIGURATION)
franta-hg@203
    33
	public String getCommand() {
franta-hg@203
    34
		return command;
franta-hg@203
    35
	}
franta-hg@203
    36
franta-hg@203
    37
	public void setCommand(String command) {
franta-hg@203
    38
		this.command = command;
franta-hg@203
    39
	}
franta-hg@203
    40
franta-hg@203
    41
	@XmlElement(name = "argument", namespace = CONFIGURATION)
franta-hg@203
    42
	public List<CommandArgument> getArguments() {
franta-hg@203
    43
		return arguments;
franta-hg@203
    44
	}
franta-hg@203
    45
franta-hg@203
    46
	public void setArguments(List<CommandArgument> arguments) {
franta-hg@203
    47
		this.arguments = arguments;
franta-hg@203
    48
	}
franta-hg@203
    49
franta-hg@203
    50
}