Class RestObject
- java.lang.Object
-
- com.identityworksllc.iiq.common.plugin.vo.RestObject
-
- Direct Known Subclasses:
ObjectSummary
public abstract class RestObject extends Object
An abstract REST object implementing the HATEOAS standard.This is one of the output types allowed by default in
BaseCommonPluginResource, as extending this class indicates that you have considered its implications as an API response.
-
-
Constructor Summary
Constructors Constructor Description RestObject()Basic constructor to initialize the links list
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLink(String rel, String href)Non-REST method to add a new Link to this object for returnList<Link>getLinks()The list of linksvoidsetLinks(List<Link> links)Sets the list of links to the given one
-
-
-
Constructor Detail
-
RestObject
public RestObject()
Basic constructor to initialize the links list
-
-