@Test public void testToString() { DataElement temp = new DataElement("Id1"); assertEquals("Id1", temp.toString()); }
@Override public final String toString() { return getIdentifier(); }
DataElement implements Comparable<DataElement> { @Override public final String toString() { return getIdentifier(); } }
DataElement implements Comparable<DataElement> { @Override public final String toString() { return getIdentifier(); } DataElement(String identifier); }
DataElement implements Comparable<DataElement> { @Override public final String toString() { return getIdentifier(); } DataElement(String identifier); final int compareTo(DataElement element); final String getIdentifier(); final void setIdentifier(String identifier); @Override final String toString(); }
DataElement implements Comparable<DataElement> { @Override public final String toString() { return getIdentifier(); } DataElement(String identifier); final int compareTo(DataElement element); final String getIdentifier(); final void setIdentifier(String identifier); @Override final String toString();  }