java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.Config

public class Config extends Object
Config is used by the Subject Area OMAS to retrieve useful configuration information when using the subject area APIs
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Config(Config template)
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Compare the values of the supplied object with those stored in the current object.
    Get the maximum page size that will be accepted by the Subject Area OMAS
    int
    Create a hash code for this element type.
    void
    setMaxPageSize(Integer maxPageSize)
    Set the maximum page size that will be accepted by the Subject Area OMAS
    Standard toString method.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Config

      public Config()
      Default constructor
    • Config

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

    • getMaxPageSize

      public Integer getMaxPageSize()
      Get the maximum page size that will be accepted by the Subject Area OMAS
      Returns:
      the maximum page size
    • setMaxPageSize

      public void setMaxPageSize(Integer maxPageSize)
      Set the maximum page size that will be accepted by the Subject Area OMAS
      Parameters:
      maxPageSize - maximum page size
    • toString

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

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

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