Package mil.nga.oapi.features.json
Class Collection
- java.lang.Object
-
- mil.nga.oapi.features.json.FeaturesObject
-
- mil.nga.oapi.features.json.Collection
-
- All Implemented Interfaces:
Serializable
public class Collection extends FeaturesObject
Collection- Author:
- osbornb
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Collection()ConstructorCollection(String id)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCrs(String crs)Add a crsvoidaddLink(Link link)Add a linkList<String>getCrs()Get the crsStringgetDescription()Get the descriptionExtentgetExtent()Get the extentStringgetId()Get the idStringgetItemType()Get the item typeList<Link>getLinks()Get the linksStringgetTitle()Get the titlevoidsetCrs(List<String> crs)Set the crsvoidsetDescription(String description)Set the descriptionvoidsetExtent(Extent extent)Set the extentvoidsetId(String id)Set the idvoidsetItemType(String itemType)Set the item typevoidsetLinks(List<Link> links)Set the linksvoidsetTitle(String title)Set the title-
Methods inherited from class mil.nga.oapi.features.json.FeaturesObject
getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, setForeignMember
-
-
-
-
Constructor Detail
-
Collection
public Collection()
Constructor
-
Collection
public Collection(String id)
Constructor- Parameters:
id- id
-
-
Method Detail
-
getId
public String getId()
Get the id- Returns:
- id
-
setId
public void setId(String id)
Set the id- Parameters:
id- id
-
getTitle
public String getTitle()
Get the title- Returns:
- title
-
setTitle
public void setTitle(String title)
Set the title- Parameters:
title- title
-
getDescription
public String getDescription()
Get the description- Returns:
- description
-
setDescription
public void setDescription(String description)
Set the description- Parameters:
description- description
-
addLink
public void addLink(Link link)
Add a link- Parameters:
link- link
-
getExtent
public Extent getExtent()
Get the extent- Returns:
- extent
-
setExtent
public void setExtent(Extent extent)
Set the extent- Parameters:
extent- extent
-
addCrs
public void addCrs(String crs)
Add a crs- Parameters:
crs- crs
-
getItemType
public String getItemType()
Get the item type- Returns:
- item type
-
setItemType
public void setItemType(String itemType)
Set the item type- Parameters:
itemType- item type
-
-