org.gcube.data.spd.obisplugin.util
Class ProductKey
java.lang.Object
org.gcube.data.spd.obisplugin.util.ProductKey
public class ProductKey
- extends Object
- Author:
- "Federico De Faveri defaveri@isti.cnr.it"
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_SEPARATOR
public static final String KEY_SEPARATOR
- See Also:
- Constant Field Values
taxonId
protected int taxonId
dataSetId
protected int dataSetId
upperBound
protected Coordinate upperBound
lowerBound
protected Coordinate lowerBound
fromDate
protected Calendar fromDate
toDate
protected Calendar toDate
ProductKey
public ProductKey(int taxonId,
int dataSetId,
Coordinate upperBound,
Coordinate lowerBound,
Calendar fromDate,
Calendar toDate)
- Parameters:
taxonId - dataSetId - upperBound - lowerBound - fromDate - toDate -
parse
public static ProductKey parse(String key)
throws Exception
- Throws:
Exception
parseCalendar
protected static Calendar parseCalendar(String value)
toString
public static String toString(int taxonId,
int dataSetId,
SearchFilters filters)
toString
public static String toString(ProductKey key)
toString
public static String toString(int taxonId,
int dataSetId,
Coordinate upperBound,
Coordinate lowerBound,
Calendar fromDate,
Calendar toDate)
getKeySeparator
public static String getKeySeparator()
- Returns:
- the keySeparator
getTaxonId
public int getTaxonId()
- Returns:
- the taxonId
getDataSetId
public int getDataSetId()
- Returns:
- the dataSetId
getUpperBound
public Coordinate getUpperBound()
- Returns:
- the upperBound
getLowerBound
public Coordinate getLowerBound()
- Returns:
- the lowerBound
getFromDate
public Calendar getFromDate()
- Returns:
- the fromDate
getToDate
public Calendar getToDate()
- Returns:
- the toDate
getFilter
public SearchFilters getFilter()
Copyright © 2012. All Rights Reserved.