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()
String
getHref()
Boolean
getMerge()
HttpMethod
getMethod()
String
getRel()
String
getTitle()
String
getType()
Boolean
isTemplated()
void
setBody(Map<String,Object> body)
void
setHref(String href)
void
setMerge(Boolean merge)
void
setMethod(HttpMethod method)
void
setRel(String rel)
void
setTemplated(Boolean templated)
void
setTitle(String title)
void
setType(String type)
String
toString()
-
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:
toString
in classAnyJSONObject
-
-