@Test public void testGetFrame() { TemporalReferenceSystem result = ((DefaultTemporalPosition) temporalPosition1).getFrame(); assertFalse(((DefaultTemporalPosition) temporalPosition2).getFrame().equals(result)); }
public TemporalReferenceSystem getFrame() { if (frame == null) { frame = new DefaultTemporalReferenceSystem(new NamedIdentifier( Citations.CRS, new SimpleInternationalString("Gregorian calendar")), null); } return frame; }
DefaultTemporalPosition implements TemporalPosition { public TemporalReferenceSystem getFrame() { if (frame == null) { frame = new DefaultTemporalReferenceSystem(new NamedIdentifier( Citations.CRS, new SimpleInternationalString("Gregorian calendar")), null); } return frame; } }
DefaultTemporalPosition implements TemporalPosition { public TemporalReferenceSystem getFrame() { if (frame == null) { frame = new DefaultTemporalReferenceSystem(new NamedIdentifier( Citations.CRS, new SimpleInternationalString("Gregorian calendar")), null); } return frame; } DefaultTemporalPosition(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition); }
DefaultTemporalPosition implements TemporalPosition { public TemporalReferenceSystem getFrame() { if (frame == null) { frame = new DefaultTemporalReferenceSystem(new NamedIdentifier( Citations.CRS, new SimpleInternationalString("Gregorian calendar")), null); } return 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 TemporalReferenceSystem getFrame() { if (frame == null) { frame = new DefaultTemporalReferenceSystem(new NamedIdentifier( Citations.CRS, new SimpleInternationalString("Gregorian calendar")), null); } return 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();  }