1 16 package scriptella.configuration; 17 18 import java.io.Serializable ; 19 20 21 28 public class Location implements Serializable { 29 private static final long serialVersionUID = 1; 30 private int row; 31 private int column; 32 private String xpath; 33 34 35 public Location(int row, int column) { 36 this.row = row; 37 this.column = column; 38 } 39 40 public Location(String xpath) { 41 this.xpath = xpath; 42 } 43 44 public int getRow() { 45 return row; 46 } 47 48 void setRow(final int row) { 49 this.row = row; 50 } 51 52 public int getColumn() { 53 return column; 54 } 55 56 void setColumn(final int column) { 57 this.column = column; 58 } 59 60 public String getXPath() { 61 return xpath; 62 } 63 64 public String toString() { 65 return getXPath(); 66 } 67 } 68 | Popular Tags |