01 /*
02 * Term.java
03 *
04 * Copyright (c) 1995-2010, The University of Sheffield. See the file
05 * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
06 *
07 * This file is part of GATE (see http://gate.ac.uk/), and is free
08 * software, licenced under the GNU Library General Public License,
09 * Version 2, June 1991 (in the distribution as file licence.html,
10 * and also available at http://gate.ac.uk/gate/licence.html).
11 *
12 * Rosen Marinov, 19/Apr/2002
13 *
14 */
15
16 package gate.creole.ir;
17
18 /** This class represents pairs NAME-VALUE*/
19 public class Term{
20
21 /** Name */
22 private String name;
23 /** Value*/
24 private String value;
25
26 /** Constructor of the class. */
27 public Term(String name, String value){
28 this.name = name;
29 this.value = value;
30 }
31
32 /** @return String name*/
33 public String getName(){
34 return name;
35 }
36
37 /** @return String value*/
38 public String getValue(){
39 return value;
40 }
41 }
|