1 26 27 29 package de.nava.informa.impl.basic; 30 31 import java.util.Date ; 32 33 import de.nava.informa.core.ItemIF; 34 import de.nava.informa.core.ItemSourceIF; 35 36 41 public class ItemSource implements ItemSourceIF, java.io.Serializable { 42 43 private ItemIF item; 44 private String name; 45 private String location; 46 private Date timestamp; 47 48 52 public ItemSource(ItemIF item) { 53 this(item, null, null, null); 54 } 55 56 public ItemSource(ItemIF item, String name, String location, Date timestamp) { 57 this.item = item; 58 this.name = name; 59 this.location = location; 60 this.timestamp = timestamp; 61 } 62 66 public ItemIF getItem() { 67 return item; 68 } 69 70 public void setItem(ItemIF item) { 71 this.item = item; 72 } 73 74 public String getName() { 75 return name; 76 } 77 78 public void setName(String name) { 79 this.name = name; 80 } 81 82 public String getLocation() { 83 return location; 84 } 85 86 public void setLocation(String location) { 87 this.location = location; 88 } 89 90 public Date getTimestamp() { 91 return timestamp; 92 } 93 94 public void setTimestamp(Date timestamp) { 95 this.timestamp = timestamp; 96 } 97 98 } 99 | Popular Tags |