@Test public void testSetName() { ReferenceIdentifier result = temporalReferenceSystem1.getName(); ((DefaultTemporalReferenceSystem) temporalReferenceSystem1).setName(new NamedIdentifier(Citations.CRS, "new name")); assertFalse(temporalReferenceSystem1.getName().equals(result)); }
public void setName(ReferenceIdentifier name) { this.name = name; }
DefaultTemporalReferenceSystem implements TemporalReferenceSystem { public void setName(ReferenceIdentifier name) { this.name = name; } }
DefaultTemporalReferenceSystem implements TemporalReferenceSystem { public void setName(ReferenceIdentifier name) { this.name = name; } DefaultTemporalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity); }
DefaultTemporalReferenceSystem implements TemporalReferenceSystem { public void setName(ReferenceIdentifier name) { this.name = name; } 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 { public void setName(ReferenceIdentifier name) { this.name = name; } 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();  }