1 11 package org.eclipse.update.internal.core; 12 13 14 17 public class FragmentEntry { 18 19 private String pluginId; 20 private String pluginVersion; 21 private String name; 22 private String location; 23 24 public FragmentEntry(String id, String version, String name, String location) { 25 this.pluginId = id; 26 this.pluginVersion = version; 27 this.name = name; 28 this.location = location; 29 } 30 31 34 public String getName() { 35 return name; 36 } 37 38 41 public String getLocation() { 42 return location; 43 } 44 45 50 public String getPluginIdentifier() { 51 return pluginId; 52 } 53 54 59 public String getPluginVersion() { 60 return pluginVersion; 61 } 62 63 66 public String toString() { 67 String msg = (getPluginIdentifier()!=null)?getPluginIdentifier().toString():""; msg += getPluginVersion()!=null?" "+getPluginVersion().toString():""; return msg; 70 } 71 } 72 | Popular Tags |