Class LicenseResource

java.lang.Object
org.springframework.hateoas.RepresentationModel<org.springframework.hateoas.EntityModel<T>>
org.springframework.hateoas.EntityModel<T>
org.dspace.app.rest.model.hateoas.HALResource
org.dspace.app.rest.model.hateoas.LicenseResource

@RelNameDSpaceResource("license") public class LicenseResource extends HALResource
License Rest HAL Resource. The HAL Resource wraps the REST Resource adding support for the links and embedded resources
Author:
Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
  • Field Summary

    Fields inherited from class org.dspace.app.rest.model.hateoas.HALResource

    embedded
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.dspace.app.rest.model.hateoas.HALResource

    add, embedResource, getEmbeddedResources, setPageHeader

    Methods inherited from class org.springframework.hateoas.EntityModel

    equals, getContent, hashCode, of, of, of, toString

    Methods inherited from class org.springframework.hateoas.RepresentationModel

    add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, removeLinks

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LicenseResource

      public LicenseResource(LicenseRest entry)
  • Method Details