@Test public void testCopySender() { Sender copy = new Sender(sender); assertEquals(sender.getKey(), copy.getKey()); sender.dataset = null; copy = new Sender(sender); assertEquals(sender.getKey(), copy.getKey()); }
public String getKey() { return key; }
Sender { public String getKey() { return key; } }
Sender { public String getKey() { return key; } Sender(Dataset dataset);  Sender(Map<String, String> dsoverride);  Sender(String key, Dataset dataset, Map<String, String> dsoverride);  Sender(Sender copy); }
Sender { public String getKey() { return key; } Sender(Dataset dataset);  Sender(Map<String, String> dsoverride);  Sender(String key, Dataset dataset, Map<String, String> dsoverride);  Sender(Sender copy); String getKey(); Dataset getDataset(); Map<String, String> getOverridenValues(); boolean isSelected(); void setSelected(boolean selected); String get(String columnName); String getFromDatabase(String columnName); void overrideValue(String columnName, String newValue); boolean isFromDatabase(); String getDisplayString(); void drop(String columnName); boolean isOverriden(); static Comparator<Sender> comparatorByColumn(String column); @Override int hashCode(); @Override boolean equals(Object obj); }
Sender { public String getKey() { return key; } Sender(Dataset dataset);  Sender(Map<String, String> dsoverride);  Sender(String key, Dataset dataset, Map<String, String> dsoverride);  Sender(Sender copy); String getKey(); Dataset getDataset(); Map<String, String> getOverridenValues(); boolean isSelected(); void setSelected(boolean selected); String get(String columnName); String getFromDatabase(String columnName); void overrideValue(String columnName, String newValue); boolean isFromDatabase(); String getDisplayString(); void drop(String columnName); boolean isOverriden(); static Comparator<Sender> comparatorByColumn(String column); @Override int hashCode(); @Override boolean equals(Object obj); static final String NACHNAME; static final String VORNAME; static final String ROLLE; }