1 2 23 24 package net.fenyo.gnetwatch.data; 25 26 import net.fenyo.gnetwatch.*; 27 import net.fenyo.gnetwatch.targets.*; 28 29 import java.util.*; 30 31 import org.apache.commons.logging.Log; 32 import org.apache.commons.logging.LogFactory; 33 34 39 40 public abstract class EventGeneric { 41 private static Log log = LogFactory.getLog(EventGeneric.class); 42 43 private final Date date; 44 45 49 protected EventGeneric(final Date date) { 50 this.date = date; 51 } 52 53 57 public EventGeneric() { 59 this.date = new Date(System.currentTimeMillis()); 60 } 61 62 68 public int getIntValue(final java.util.List <EventGeneric> events, final int idx) { 69 return -1; 70 } 71 72 77 public Date getDate() { 79 return date; 80 } 81 } 82 | Popular Tags |