1 package net.sf.quarrel.file;
2
3 /***
4 * This represents an instance of a FeatureType derived from a FileElement.
5 * <p/>
6 * todo implement toString()
7 * todo implement hashCode()
8 * todo implement equals()
9 */
10 public class Feature {
11
12 private final FeatureType _type;
13 private final String _text;
14
15
16 public Feature(final FeatureType type, final String text) {
17 _type = type;
18 _text = text;
19 }
20
21
22 public FeatureType getType() {
23 return _type;
24 }
25
26 public String getText() {
27 return _text;
28 }
29
30 }