author | wneuper |
Wed, 15 Jun 2005 18:31:02 +0200 | |
branch | java_rename_format |
changeset 3922 | fcd5648113ca |
permissions | -rw-r--r-- |
wneuper@3922 | 1 |
/* |
wneuper@3922 | 2 |
* Created on Oct 9, 2003 |
wneuper@3922 | 3 |
* |
wneuper@3922 | 4 |
* To change the template for this generated file go to |
wneuper@3922 | 5 |
* Window>Preferences>Java>Code Generation>Code and Comments |
wneuper@3922 | 6 |
*/ |
wneuper@3922 | 7 |
package isac.util.tactics; |
wneuper@3922 | 8 |
|
wneuper@3922 | 9 |
/** |
wneuper@3922 | 10 |
* @author rgradisc |
wneuper@3922 | 11 |
* |
wneuper@3922 | 12 |
* To change the template for this generated type comment go to |
wneuper@3922 | 13 |
* Window>Preferences>Java>Code Generation>Code and Comments |
wneuper@3922 | 14 |
*/ |
wneuper@3922 | 15 |
public class SimpleTactic extends Tactic { |
wneuper@3922 | 16 |
|
wneuper@3922 | 17 |
private String argument_; // placeholder for MATH-ML |
wneuper@3922 | 18 |
|
wneuper@3922 | 19 |
public SimpleTactic() { |
wneuper@3922 | 20 |
} |
wneuper@3922 | 21 |
|
wneuper@3922 | 22 |
public SimpleTactic(String name) { |
wneuper@3922 | 23 |
this.name_ = name; |
wneuper@3922 | 24 |
} |
wneuper@3922 | 25 |
|
wneuper@3922 | 26 |
public SimpleTactic(String name, String argument) { |
wneuper@3922 | 27 |
this.name_ = name; |
wneuper@3922 | 28 |
this.argument_ = argument; |
wneuper@3922 | 29 |
} |
wneuper@3922 | 30 |
|
wneuper@3922 | 31 |
public void setArgument(String argument) { |
wneuper@3922 | 32 |
this.argument_ = argument; |
wneuper@3922 | 33 |
} |
wneuper@3922 | 34 |
|
wneuper@3922 | 35 |
public String getArgument() { |
wneuper@3922 | 36 |
return ""; |
wneuper@3922 | 37 |
} |
wneuper@3922 | 38 |
|
wneuper@3922 | 39 |
public String toSMLString() { |
wneuper@3922 | 40 |
return name_ + " \"" + argument_ + "\""; |
wneuper@3922 | 41 |
} |
wneuper@3922 | 42 |
} |