Class SearchStringRequestBody

  • All Implemented Interfaces:
    Serializable

    public class SearchStringRequestBody
    extends EffectiveTimeQueryRequestBody
    SearchStringRequestBody is the request body structure used on OMAG REST API calls that passes a regular expression to use as a search string.
    See Also:
    Serialized Form
    • Constructor Detail

      • SearchStringRequestBody

        public SearchStringRequestBody()
        Default constructor
      • SearchStringRequestBody

        public SearchStringRequestBody​(SearchStringRequestBody template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getSearchString

        public String getSearchString()
        Return the search request.
        Returns:
        regEx expression
      • setSearchString

        public void setSearchString​(String searchString)
        Set up the search.
        Parameters:
        searchString - regEx expression
      • getSearchStringParameterName

        public String getSearchStringParameterName()
        Return the search string parameter name.
        Returns:
        string name
      • setSearchStringParameterName

        public void setSearchStringParameterName​(String searchStringParameterName)
        Set up the search string parameter name.
        Parameters:
        searchStringParameterName - string name
      • 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