Class EntityTypeHalLinkFactory


  • @Component
    public class EntityTypeHalLinkFactory
    extends HalLinkFactory<EntityTypeResource,​RelationshipTypeRestController>
    This class' purpose is to add the links to the EntityTypeResource. This function and class will be called and used when the HalLinkService addLinks methods is called as it'll iterate over all the different factories and check whether these are allowed to create links for said resource or not.