Class FindByPropertiesRequestBody


public class FindByPropertiesRequestBody extends EffectiveTimeQueryRequestBody
FindByPropertiesRequestBody is the request body structure used on OMAG REST API calls that passes a name that is used to retrieve an element by name.
  • Constructor Details

    • FindByPropertiesRequestBody

      public FindByPropertiesRequestBody()
      Default constructor
    • FindByPropertiesRequestBody

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

    • getProperties

      public FindProperties getProperties()
      Return the name for the query request.
      Returns:
      string name
    • setProperties

      public void setProperties(FindProperties properties)
      Set up the name for the query request.
      Parameters:
      properties - string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class EffectiveTimeQueryRequestBody
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class EffectiveTimeQueryRequestBody
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class EffectiveTimeQueryRequestBody
      Returns:
      int hash code