Package mil.nga.oapi.features.json
Class FeatureCollection
- java.lang.Object
-
- mil.nga.oapi.features.json.FeatureCollection
-
public class FeatureCollection extends Object
Feature Collection- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static intLIMIT_DEFAULTLimit defaultstatic StringLINK_RELATION_NEXTLink relation for nextstatic StringLINKSLinks property namestatic StringNUMBER_MATCHEDNumber Matched property namestatic StringNUMBER_RETURNEDNumber Returned property namestatic StringTIME_STAMPTime Stamp property name
-
Constructor Summary
Constructors Constructor Description FeatureCollection()ConstructorFeatureCollection(FeatureCollection featureCollection)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureCollectiongetFeatureCollection()Get the feature collectionList<Link>getLinks()Get the linksIntegergetNumberMatched()Get the number matchedIntegergetNumberReturned()Get the number returnedMap<String,List<Link>>getRelationLinks()Get a mapping between link relations and linksStringgetTimeStamp()Get the time stampvoidsetFeatureCollection(FeatureCollection featureCollection)Set the feature collectionvoidsetLinks(Collection<Link> links)Set the linksvoidsetNumberMatched(Integer numberMatched)Set the number matchedvoidsetNumberReturned(Integer numberReturned)Set the number returnedvoidsetTimeStamp(String timeStamp)Set the time stamp
-
-
-
Field Detail
-
LINKS
public static final String LINKS
Links property name- See Also:
- Constant Field Values
-
TIME_STAMP
public static final String TIME_STAMP
Time Stamp property name- See Also:
- Constant Field Values
-
NUMBER_MATCHED
public static final String NUMBER_MATCHED
Number Matched property name- See Also:
- Constant Field Values
-
NUMBER_RETURNED
public static final String NUMBER_RETURNED
Number Returned property name- See Also:
- Constant Field Values
-
LINK_RELATION_NEXT
public static final String LINK_RELATION_NEXT
Link relation for next- See Also:
- Constant Field Values
-
LIMIT_DEFAULT
public static final int LIMIT_DEFAULT
Limit default- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FeatureCollection
public FeatureCollection()
Constructor
-
FeatureCollection
public FeatureCollection(FeatureCollection featureCollection)
Constructor- Parameters:
featureCollection- feature collection
-
-
Method Detail
-
getFeatureCollection
public FeatureCollection getFeatureCollection()
Get the feature collection- Returns:
- feature collection
-
setFeatureCollection
public void setFeatureCollection(FeatureCollection featureCollection)
Set the feature collection- Parameters:
featureCollection- feature collection
-
setLinks
public void setLinks(Collection<Link> links)
Set the links- Parameters:
links- collection of links
-
getRelationLinks
public Map<String,List<Link>> getRelationLinks()
Get a mapping between link relations and links- Returns:
- relation links
-
getTimeStamp
public String getTimeStamp()
Get the time stamp- Returns:
- time stamp
-
setTimeStamp
public void setTimeStamp(String timeStamp)
Set the time stamp- Parameters:
timeStamp- time stamp
-
getNumberMatched
public Integer getNumberMatched()
Get the number matched- Returns:
- number matched
-
setNumberMatched
public void setNumberMatched(Integer numberMatched)
Set the number matched- Parameters:
numberMatched- number matched
-
getNumberReturned
public Integer getNumberReturned()
Get the number returned- Returns:
- number returned
-
setNumberReturned
public void setNumberReturned(Integer numberReturned)
Set the number returned- Parameters:
numberReturned- number returned
-
-