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 void
addCrs(String crs)
Add a crsvoid
addLink(Link link)
Add a linkList<String>
getCrs()
Get the crsString
getDescription()
Get the descriptionExtent
getExtent()
Get the extentString
getId()
Get the idString
getItemType()
Get the item typeList<Link>
getLinks()
Get the linksString
getTitle()
Get the titlevoid
setCrs(List<String> crs)
Set the crsvoid
setDescription(String description)
Set the descriptionvoid
setExtent(Extent extent)
Set the extentvoid
setId(String id)
Set the idvoid
setItemType(String itemType)
Set the item typevoid
setLinks(List<Link> links)
Set the linksvoid
setTitle(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
-
-