Package org.geotools.stac.client
Class Link
- Object
-
- AnyJSONObject
-
- Link
-
public class Link extends AnyJSONObject
A Link with common (and less common) properties found in OGC APIs
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getBody()StringgetHref()BooleangetMerge()HttpMethodgetMethod()StringgetRel()StringgetTitle()StringgetType()BooleanisTemplated()voidsetBody(Map<String,Object> body)voidsetHref(String href)voidsetMerge(Boolean merge)voidsetMethod(HttpMethod method)voidsetRel(String rel)voidsetTemplated(Boolean templated)voidsetTitle(String title)voidsetType(String type)StringtoString()-
Methods inherited from class AnyJSONObject
equals, hashCode, otherFields, setOtherField
-
-
-
-
Method Detail
-
getHref
public String getHref()
-
setHref
public void setHref(String href)
-
getRel
public String getRel()
-
setRel
public void setRel(String rel)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
isTemplated
public Boolean isTemplated()
-
setTemplated
public void setTemplated(Boolean templated)
-
getMerge
public Boolean getMerge()
-
setMerge
public void setMerge(Boolean merge)
-
getMethod
public HttpMethod getMethod()
-
setMethod
public void setMethod(HttpMethod method)
-
toString
public String toString()
- Overrides:
toStringin classAnyJSONObject
-
-