Identification implements CharSequence, Serializable { public Identification(final String name, final String remarks, final String alias, final String identifier) { this.name = name; this.remarks = remarks; this.alias = alias; this.identifier = identifier; } Identification(final String name, final String remarks,
            final String alias, final String identifier);  Identification(final String name); int length(); char charAt(final int index); CharSequence subSequence(final int start, final int end); int hashCode(); boolean equals(final Object object); String getName(); String getRemarks(); String getAlias(); String getIdentifier(); String toString();  }
@Test public void testIdentification() { final String name = "mean sea level depth"; Identification id = new Identification(name, null, null, "EPSG:5715"); assertEquals(name, id.getName()); assertEquals("EPSG:5715", id.getIdentifier()); assertNull(id.getRemarks()); assertNull(id.getAlias()); final int length = id.length(); assertEquals(20, length); final Identification id2 = (Identification) new Identification(name).subSequence(5, length); final Identification id3 = (Identification) id.subSequence(0, length); assertNotEquals(id, id2); assertSame(id, id3); assertEquals(id, id3); }