View Javadoc

1   package fit;
2   
3   
4   public class Argument
5   {
6   
7     private Parse cell;
8     
9     private boolean exception;
10    
11    private boolean wrong;
12    
13    private boolean right;
14    
15    public boolean isRight()
16    {
17      return right;
18    }
19  
20    public void setRight(boolean right)
21    {
22      this.right = right;
23    }
24  
25    public Argument(Parse cell)
26    {
27      this.cell = cell;
28    }
29    
30    public boolean isException()
31    {
32      return exception;
33    }
34  
35    public void setException(boolean exception)
36    {
37      this.exception = exception;
38    }
39  
40    public boolean isWrong()
41    {
42      return wrong;
43    }
44  
45    public void setWrong(boolean wrong)
46    {
47      this.wrong = wrong;
48    }
49  
50    public Parse getCell()
51    {
52      return cell;
53    }
54  
55    public String text()
56    {
57      return cell.text();
58    }
59    
60  }