Class HalRelation

java.lang.Object
org.eximeebpms.bpm.engine.rest.hal.HalRelation

public class HalRelation extends Object
Author:
Daniel Meyer
  • Field Details Link icon

    • relName Link icon

      protected String relName
      the name of the relation
    • uriTemplate Link icon

      protected javax.ws.rs.core.UriBuilder uriTemplate
      the url template used by the relation to construct links
    • resourceType Link icon

      protected Class<?> resourceType
      the type of the resource we build a relation to.
  • Constructor Details Link icon

    • HalRelation Link icon

      public HalRelation()
  • Method Details Link icon

    • build Link icon

      public static HalRelation build(String relName, Class<?> resourceType, javax.ws.rs.core.UriBuilder urlTemplate)
      Build a relation to a resource.
      Parameters:
      relName - the name of the relation.
      resourceType - the type of the resource
      Returns:
      the relation
    • getRelName Link icon

      public String getRelName()
    • getUriTemplate Link icon

      public javax.ws.rs.core.UriBuilder getUriTemplate()
    • getResourceType Link icon

      public Class<?> getResourceType()