package nxm.sys.test;

/** Simple class that holds two strings. This is used by test_set to test calling of methods.
    @author  J. Czechowski IV
    @since   NeXtMidas 2.5.0
 */
public class test_set {
  private String a = "";
  private String b = "";

  /** default constructor */
  public test_set () {}

  /** Get first string
   *  @return first string
   */
  public String getA () { return a; }

  /** Get second string
   *  @return second string
   */
  public String getB () { return b; }

  /** Set first string
   *  @param a new value for the first string
   */
  public void setA (String a) {
    this.a = a;
  }

  /** Set second string
   *  @param b new value for the second string
   */
  public void setB (String b) {
    this.b = b;
  }

  /** Set both string values
   *  @param a new value for the first string
   *  @param b new value for the second string
   */
  public void setAB (String a, String b) {
    setA(a);
    setB(b);
  }

  public String toString() {
    return "TestObject: {A=\""+a+"\",B=\""+b+"\"}";
  }
}