@Test public void testSetFrame() { TemporalReferenceSystem result = ((DefaultTemporalPosition) temporalPosition1).getFrame(); NamedIdentifier name = new NamedIdentifier(Citations.CRS, "Babylonian calendar"); ((DefaultTemporalPosition) temporalPosition1).setFrame(new DefaultTemporalReferenceSystem(name, null)); assertFalse(((DefaultTemporalPosition) temporalPosition1).getFrame().equals(result)); }
public void setFrame(TemporalReferenceSystem frame) { this.frame = frame; }
DefaultTemporalPosition implements TemporalPosition { public void setFrame(TemporalReferenceSystem frame) { this.frame = frame; } }
DefaultTemporalPosition implements TemporalPosition { public void setFrame(TemporalReferenceSystem frame) { this.frame = frame; } DefaultTemporalPosition(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition); }
DefaultTemporalPosition implements TemporalPosition { public void setFrame(TemporalReferenceSystem frame) { this.frame = frame; } DefaultTemporalPosition(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition); IndeterminateValue getIndeterminatePosition(); TemporalReferenceSystem getFrame(); void setFrame(TemporalReferenceSystem frame); void setIndeterminatePosition(IndeterminateValue indeterminatePosition); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultTemporalPosition implements TemporalPosition { public void setFrame(TemporalReferenceSystem frame) { this.frame = frame; } DefaultTemporalPosition(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition); IndeterminateValue getIndeterminatePosition(); TemporalReferenceSystem getFrame(); void setFrame(TemporalReferenceSystem frame); void setIndeterminatePosition(IndeterminateValue indeterminatePosition); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }