@Test public void testToString() { String result = temporalReferenceSystem1.toString(); assertFalse(temporalReferenceSystem2.toString().equals(result)); }
@Override public String toString() { StringBuilder s = new StringBuilder("TemporalReferenceSystem:").append('\n'); if (name != null) { s.append("name:").append(name).append('\n'); } if (domainOfValidity != null) { s.append("domainOfValidity:").append(domainOfValidity).append('\n'); } return s.toString(); }
DefaultTemporalReferenceSystem implements TemporalReferenceSystem { @Override public String toString() { StringBuilder s = new StringBuilder("TemporalReferenceSystem:").append('\n'); if (name != null) { s.append("name:").append(name).append('\n'); } if (domainOfValidity != null) { s.append("domainOfValidity:").append(domainOfValidity).append('\n'); } return s.toString(); } }
DefaultTemporalReferenceSystem implements TemporalReferenceSystem { @Override public String toString() { StringBuilder s = new StringBuilder("TemporalReferenceSystem:").append('\n'); if (name != null) { s.append("name:").append(name).append('\n'); } if (domainOfValidity != null) { s.append("domainOfValidity:").append(domainOfValidity).append('\n'); } return s.toString(); } DefaultTemporalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity); }
DefaultTemporalReferenceSystem implements TemporalReferenceSystem { @Override public String toString() { StringBuilder s = new StringBuilder("TemporalReferenceSystem:").append('\n'); if (name != null) { s.append("name:").append(name).append('\n'); } if (domainOfValidity != null) { s.append("domainOfValidity:").append(domainOfValidity).append('\n'); } return s.toString(); } DefaultTemporalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity); ReferenceIdentifier getName(); Extent getDomainOfValidity(); @Deprecated Extent getValidArea(); InternationalString getScope(); Collection<GenericName> getAlias(); Set<ReferenceIdentifier> getIdentifiers(); InternationalString getRemarks(); String toWKT(); void setName(ReferenceIdentifier name); void setDomainOfValidity(Extent domainOfValidity); void setValidArea(Extent validArea); void setScope(InternationalString scope); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultTemporalReferenceSystem implements TemporalReferenceSystem { @Override public String toString() { StringBuilder s = new StringBuilder("TemporalReferenceSystem:").append('\n'); if (name != null) { s.append("name:").append(name).append('\n'); } if (domainOfValidity != null) { s.append("domainOfValidity:").append(domainOfValidity).append('\n'); } return s.toString(); } DefaultTemporalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity); ReferenceIdentifier getName(); Extent getDomainOfValidity(); @Deprecated Extent getValidArea(); InternationalString getScope(); Collection<GenericName> getAlias(); Set<ReferenceIdentifier> getIdentifiers(); InternationalString getRemarks(); String toWKT(); void setName(ReferenceIdentifier name); void setDomainOfValidity(Extent domainOfValidity); void setValidArea(Extent validArea); void setScope(InternationalString scope); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }