01: /*
02: * Copyright 2007 Madhav Pulipaka
03: *
04: * This file is part of Vela.
05:
06: * Vela is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (at your option) any later version.
10: *
11: * Vela is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with Vela; if not, write to the Free Software
18: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19: */
20: package vela.model;
21:
22: public class KeyWord {
23:
24: private String word;
25: private int position;
26: private int length;
27:
28: public int getLength() {
29: return length;
30: }
31:
32: public void setLength(int length) {
33: this .length = length;
34: }
35:
36: public int getPosition() {
37: return position;
38: }
39:
40: public void setPosition(int position) {
41: this .position = position;
42: }
43:
44: public String getWord() {
45: return word;
46: }
47:
48: public void setWord(String word) {
49: this.word = word;
50: }
51:
52: }
|