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 LicenseResource(LicenseRest entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LicenseRestgetData()-
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, toString
-
-
-
-
Constructor Detail
-
LicenseResource
public LicenseResource(LicenseRest entry)
-
-
Method Detail
-
getData
public LicenseRest getData()
-
-