Class HALResource<T>
java.lang.Object
org.springframework.hateoas.RepresentationModel<org.springframework.hateoas.EntityModel<T>>
org.springframework.hateoas.EntityModel<T>
org.dspace.app.rest.model.hateoas.HALResource<T>
- Direct Known Subclasses:
AccessStatusResource,AuthenticationTokenResource,BrowseEntryResource,ContentReportSupportResource,DSpaceResource,ExternalSourceEntryResource,FacetConfigurationResource,FacetResultsResource,FacetsResource,HarvestedCollectionResource,IdentifiersResource,LicenseResource,PotentialDuplicateResource,ProcessFileTypesResource,RegistrationResource,RootResource,SearchConfigurationResource,SearchFacetEntryResource,SearchFacetValueResource,SearchResultEntryResource,SearchResultsResource,SearchSupportResource,StatisticsSupportResource,VocabularyEntryResource
public abstract class HALResource<T>
extends org.springframework.hateoas.EntityModel<T>
The abstract, generic class for the HalResources
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.hateoas.EntityModel<T>add(org.springframework.hateoas.Link link) voidembedResource(String rel, Object object) voidMethods inherited from class org.springframework.hateoas.EntityModel
equals, getContent, hashCode, of, of, of, toStringMethods inherited from class org.springframework.hateoas.RepresentationModel
add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, removeLinks
-
Field Details
-
embedded
-
-
Constructor Details
-
HALResource
-
-
Method Details
-
getEmbeddedResources
-
embedResource
-
setPageHeader
-
add
- Overrides:
addin classorg.springframework.hateoas.RepresentationModel<org.springframework.hateoas.EntityModel<T>>
-