1 package org.catacomb.numeric.data; 2 3 import org.catacomb.interlish.structure.Named; 4 5 public abstract class DataItem implements Named { 6 7 String name; 8 9 boolean marked; 10 11 12 13 public DataItem(String nm) { 14 name = nm; 15 marked = false; 16 } 17 18 public String getName() { 19 return name; 20 } 21 22 public void setName(String s) { 23 name = s; 24 } 25 26 public void mark() { 27 marked = true; 28 } 29 30 31 public boolean isMarked() { 32 return marked; 33 } 34 35 36 37 public abstract DataItem getMarked(); 38 39 40 41 42 }