Package mil.nga.oapi.features.json
Class Link
- java.lang.Object
-
- mil.nga.oapi.features.json.FeaturesObject
-
- mil.nga.oapi.features.json.Link
-
- All Implemented Interfaces:
Serializable
public class Link extends FeaturesObject
Link- Author:
- osbornb
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHref()
Get the hrefString
getHreflang()
Get the href langInteger
getLength()
Get the lengthString
getRel()
Get the relString
getTitle()
Get the titleString
getType()
Get the typevoid
setHref(String href)
Set the hrefvoid
setHreflang(String hreflang)
Set the href langvoid
setLength(Integer length)
Set the lengthvoid
setRel(String rel)
Set the relvoid
setTitle(String title)
Set the titlevoid
setType(String type)
Set the typestatic List<Link>
toLinks(Object linksObject)
Convert the links object to a list of links-
Methods inherited from class mil.nga.oapi.features.json.FeaturesObject
getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, setForeignMember
-
-
-
-
Constructor Detail
-
Link
public Link()
Constructor
-
Link
public Link(String href)
Constructor- Parameters:
href
- href
-
-
Method Detail
-
getHref
public String getHref()
Get the href- Returns:
- href
-
setHref
public void setHref(String href)
Set the href- Parameters:
href
- href
-
getRel
public String getRel()
Get the rel- Returns:
- rel
-
setRel
public void setRel(String rel)
Set the rel- Parameters:
rel
- rel
-
getType
public String getType()
Get the type- Returns:
- type
-
setType
public void setType(String type)
Set the type- Parameters:
type
- type
-
getHreflang
public String getHreflang()
Get the href lang- Returns:
- href lang
-
setHreflang
public void setHreflang(String hreflang)
Set the href lang- Parameters:
hreflang
- href lang
-
getTitle
public String getTitle()
Get the title- Returns:
- title
-
setTitle
public void setTitle(String title)
Set the title- Parameters:
title
- title
-
getLength
public Integer getLength()
Get the length- Returns:
- length
-
setLength
public void setLength(Integer length)
Set the length- Parameters:
length
- length
-
-