Package mil.nga.oapi.features.json
Class Collections
- java.lang.Object
-
- mil.nga.oapi.features.json.FeaturesObject
-
- mil.nga.oapi.features.json.Collections
-
- All Implemented Interfaces:
Serializable
public class Collections extends FeaturesObject
Content- Author:
- osbornb
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Collections()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCollection(Collection collection)
Add a collectionvoid
addLink(Link link)
Add a linkList<Collection>
getCollections()
Get the collectionsList<Link>
getLinks()
Get the linksvoid
setCollections(List<Collection> collections)
Set the collectionsvoid
setLinks(List<Link> links)
Set the links-
Methods inherited from class mil.nga.oapi.features.json.FeaturesObject
getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, setForeignMember
-
-
-
-
Method Detail
-
addLink
public void addLink(Link link)
Add a link- Parameters:
link
- link
-
getCollections
public List<Collection> getCollections()
Get the collections- Returns:
- collections
-
setCollections
public void setCollections(List<Collection> collections)
Set the collections- Parameters:
collections
- collections
-
addCollection
public void addCollection(Collection collection)
Add a collection- Parameters:
collection
- collection info
-
-