Class ViewServiceRequestBody

All Implemented Interfaces:
Serializable

public class ViewServiceRequestBody extends OMAGServerClientConfig
ViewServiceRequestBody passes the minimum information to set up a view server.
See Also:
  • Constructor Details

    • ViewServiceRequestBody

      public ViewServiceRequestBody()
      Default constructor for use with Jackson libraries
    • ViewServiceRequestBody

      public ViewServiceRequestBody(ViewServiceRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getViewServiceOptions

      public Map<String,Object> getViewServiceOptions()
      Return the options for this view service. These are properties that are specific to the view service.
      Returns:
      Map from String to String
    • setViewServiceOptions

      public void setViewServiceOptions(Map<String,Object> viewServiceOptions)
      Set up the options for this view service. These are properties that are specific to the view service.
      Parameters:
      viewServiceOptions - Map from String to String
    • getResourceEndpoints

      public List<ResourceEndpointConfig> getResourceEndpoints()
      Return the resourceEndpoints list.
      Returns:
      displayName
    • setResourceEndpoints

      public void setResourceEndpoints(List<ResourceEndpointConfig> resourceEndpoints)
      Set the resourceEndpoints of resource.
      Parameters:
      resourceEndpoints - list of resource endpoint configuration objects
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OMAGServerClientConfig
      Returns:
      JSON style description of variables.
    • equals

      public boolean equals(Object objectToCompare)
      Validate that an object is equal depending on their stored values.
      Overrides:
      equals in class OMAGServerClientConfig
      Parameters:
      objectToCompare - object
      Returns:
      boolean result
    • hashCode

      public int hashCode()
      Return a hash code based on the values of this object.
      Overrides:
      hashCode in class OMAGServerClientConfig
      Returns:
      in hash code