Class 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 Detail

      • Config

        public Config()
        Default constructor
      • Config

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

      • 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