1 26 28 package de.nava.informa.impl.basic; 29 30 import de.nava.informa.core.ItemGuidIF; 31 import de.nava.informa.core.ItemIF; 32 33 38 public class ItemGuid implements ItemGuidIF, java.io.Serializable { 39 40 private ItemIF item; 41 private String location; 42 private boolean permaLink; 43 44 48 public ItemGuid(ItemIF item) { 49 this(item, null, true); 50 } 51 52 public ItemGuid(ItemIF item, String location, boolean permaLink) { 53 this.item = item; 54 this.location = location; 55 this.permaLink = permaLink; 56 } 57 58 62 public ItemIF getItem() { 63 return item; 64 } 65 66 public void setItem(ItemIF item) { 67 this.item = item; 68 } 69 70 public String getLocation() { 71 return location; 72 } 73 74 public void setLocation(String location) { 75 this.location = location; 76 } 77 78 public boolean isPermaLink() { 79 return permaLink; 80 } 81 82 public void setPermaLink(boolean permaLink) { 83 this.permaLink = permaLink; 84 } 85 86 } 87 | Popular Tags |