org.gcube.application.framework.search.library.model
Class GeospatialInfo

java.lang.Object
  extended by org.gcube.application.framework.search.library.model.GeospatialInfo
All Implemented Interfaces:
Cloneable

public class GeospatialInfo
extends Object
implements Cloneable


Field Summary
protected  Point[] bounds
           
protected  Date endingDate
           
protected  String endingDateString
           
protected  Date startingDate
           
protected  String startingDateString
           
 
Constructor Summary
GeospatialInfo()
          Geospatial info constructor
GeospatialInfo(String relation, Point[] bounds, Date startTime, Date endTime)
           
 
Method Summary
 GeospatialInfo clone()
           
 Point[] getBounds()
           
 Date getEndingDate()
           
 String getEndingDateString()
           
 String getRelation()
           
 Date getStartingDate()
           
 String getStartingDateString()
           
 void setBounds(Point[] bounds)
           
 void setEndingDate(Date endingDate)
           
 void setRelation(String relation)
           
 void setStartingDate(Date startingDate)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startingDate

protected Date startingDate

endingDate

protected Date endingDate

bounds

protected Point[] bounds

startingDateString

protected String startingDateString

endingDateString

protected String endingDateString
Constructor Detail

GeospatialInfo

public GeospatialInfo()
Geospatial info constructor


GeospatialInfo

public GeospatialInfo(String relation,
                      Point[] bounds,
                      Date startTime,
                      Date endTime)
Parameters:
relation -
bounds -
timeInterval -
Method Detail

getBounds

public Point[] getBounds()
Returns:
bounds

getRelation

public String getRelation()
Returns:
relation

setBounds

public void setBounds(Point[] bounds)
Parameters:
bounds -

setRelation

public void setRelation(String relation)
Parameters:
relation -

getStartingDate

public Date getStartingDate()
Returns:
the startingDate

setStartingDate

public void setStartingDate(Date startingDate)
Parameters:
startingDate - the startingDate to set

getEndingDate

public Date getEndingDate()
Returns:
the endingDate

setEndingDate

public void setEndingDate(Date endingDate)
Parameters:
endingDate - the endingDate to set

clone

public GeospatialInfo clone()
Overrides:
clone in class Object

getStartingDateString

public String getStartingDateString()

getEndingDateString

public String getEndingDateString()


Copyright © 2013. All Rights Reserved.