/** * */ package oboannotator.util; /** * @author ahmedabdeenhamed * */ public class UserCommand { private String command; private int commandOption; private int intCommand; public UserCommand(){ command = ""; commandOption = 0; intCommand = 0; } public void setCommand(String command) { this.command = command; } public void setCommandOption(int commandOption) { this.commandOption = commandOption; } public void setIntCommand(int intCommand) { this.intCommand = intCommand; } public String getCommand() { return command; } public int getCommandOption() { return commandOption; } public int getIntCommand() { return intCommand; } @Override public String toString() { StringBuilder builder = new StringBuilder(); builder.append("Command: " + this.command); builder.append("\n"); builder.append("CommandOption: " + this.commandOption); builder.append("\n"); builder.append("IntCommand: " + this.intCommand); builder.append("\n---------------------------\n"); return builder.toString(); } /** * @param args */ public static void main(String[] args) { } }