@Test public void testToString() { String result = ordinalReferenceSystem1.toString(); assertFalse(ordinalReferenceSystem2.toString().equals(result)); }
@Override public String toString() { StringBuilder s = new StringBuilder("OrdinalReferenceSystem:").append('\n'); if (ordinalEraSequence != null) { s.append("ordinalEraSequence:").append(ordinalEraSequence).append('\n'); } return super.toString().concat("\n").concat(s.toString()); }
DefaultOrdinalReferenceSystem extends DefaultTemporalReferenceSystem implements OrdinalReferenceSystem { @Override public String toString() { StringBuilder s = new StringBuilder("OrdinalReferenceSystem:").append('\n'); if (ordinalEraSequence != null) { s.append("ordinalEraSequence:").append(ordinalEraSequence).append('\n'); } return super.toString().concat("\n").concat(s.toString()); } }
DefaultOrdinalReferenceSystem extends DefaultTemporalReferenceSystem implements OrdinalReferenceSystem { @Override public String toString() { StringBuilder s = new StringBuilder("OrdinalReferenceSystem:").append('\n'); if (ordinalEraSequence != null) { s.append("ordinalEraSequence:").append(ordinalEraSequence).append('\n'); } return super.toString().concat("\n").concat(s.toString()); } DefaultOrdinalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity, Collection<OrdinalEra> ordinalEraSequence); }
DefaultOrdinalReferenceSystem extends DefaultTemporalReferenceSystem implements OrdinalReferenceSystem { @Override public String toString() { StringBuilder s = new StringBuilder("OrdinalReferenceSystem:").append('\n'); if (ordinalEraSequence != null) { s.append("ordinalEraSequence:").append(ordinalEraSequence).append('\n'); } return super.toString().concat("\n").concat(s.toString()); } DefaultOrdinalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity, Collection<OrdinalEra> ordinalEraSequence); Collection<OrdinalEra> getOrdinalEraSequence(); @Override String toWKT(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultOrdinalReferenceSystem extends DefaultTemporalReferenceSystem implements OrdinalReferenceSystem { @Override public String toString() { StringBuilder s = new StringBuilder("OrdinalReferenceSystem:").append('\n'); if (ordinalEraSequence != null) { s.append("ordinalEraSequence:").append(ordinalEraSequence).append('\n'); } return super.toString().concat("\n").concat(s.toString()); } DefaultOrdinalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity, Collection<OrdinalEra> ordinalEraSequence); Collection<OrdinalEra> getOrdinalEraSequence(); @Override String toWKT(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }