Class GenericPageableResponseBase<T>

    • Constructor Detail

      • GenericPageableResponseBase

        protected GenericPageableResponseBase()
        Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
      • GenericPageableResponseBase

        protected GenericPageableResponseBase​(GenericPageableResponseBase.BuilderBase<T> pBuilder)
        Initialize object using the passed builder.
        Parameters:
        pBuilder - Builder that should be used to initialize this object. The parameter must not be null.
    • Method Detail

      • getValues

        public java.util.List<T> getValues()
        Method returns association values.
        Returns:
        List Value to which values is set. The method never returns null and the returned collection is modifiable.
      • addToValues

        public void addToValues​(T pValues)
        Method adds the passed object to values.
        Parameters:
        pValues - Object that should be added to values. The parameter must not be null.
      • addToValues

        public void addToValues​(java.util.Collection<T> pValues)
        Method adds all passed objects to values.
        Parameters:
        pValues - Collection with all objects that should be added to values. The parameter must not be null.
      • removeFromValues

        public void removeFromValues​(T pValues)
        Method removes the passed object from values.
        Parameters:
        pValues - Object that should be removed from values. The parameter must not be null.
      • clearValues

        public void clearValues()
        Method removes all objects from values.
      • toStringBuilder

        public java.lang.StringBuilder toStringBuilder​(java.lang.String pIndent)
        Method returns a StringBuilder that can be used to create a String representation of this object. The returned StringBuilder also takes care about attributes of super classes.
        Overrides:
        toStringBuilder in class AbstractResponse<T>
        Returns:
        StringBuilder StringBuilder representing this object. The method never returns null.
      • toString

        public java.lang.String toString()
        Method creates a new String with the values of all attributes of this class. All references to other objects will be ignored.
        Overrides:
        toString in class AbstractResponse<T>
        Returns:
        String String representation of this object. The method never returns null.