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 int
LIMIT_DEFAULT
Limit defaultstatic String
LINK_RELATION_NEXT
Link relation for nextstatic String
LINKS
Links property namestatic String
NUMBER_MATCHED
Number Matched property namestatic String
NUMBER_RETURNED
Number Returned property namestatic String
TIME_STAMP
Time 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 FeatureCollection
getFeatureCollection()
Get the feature collectionList<Link>
getLinks()
Get the linksInteger
getNumberMatched()
Get the number matchedInteger
getNumberReturned()
Get the number returnedMap<String,List<Link>>
getRelationLinks()
Get a mapping between link relations and linksString
getTimeStamp()
Get the time stampvoid
setFeatureCollection(FeatureCollection featureCollection)
Set the feature collectionvoid
setLinks(Collection<Link> links)
Set the linksvoid
setNumberMatched(Integer numberMatched)
Set the number matchedvoid
setNumberReturned(Integer numberReturned)
Set the number returnedvoid
setTimeStamp(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
-
-