Interface Enlarged

  • All Known Implementing Classes:
    JoinableMap

    public interface Enlarged
    This interface provides the functionality to extends the instance domain.
    Author:
    javaito.
    • Method Summary

      Modifier and Type Method Description
      Enlarged clone​(java.lang.String... fields)
      Clone th enlarged object.
      Enlarged cloneEmpty()
      Clone the enlarged object without domain information.
      java.lang.Object get​(java.lang.String fieldName)
      Return the value that corresponds to the specific field name.
      java.util.Set<java.lang.String> keySet()
      Returns the key set of the object.
      void purge()
      This method remove all the fields that it's not static
      java.lang.Object put​(java.lang.String key, java.lang.Object value)
      Add a new value to the instance.
    • Method Detail

      • get

        java.lang.Object get​(java.lang.String fieldName)
        Return the value that corresponds to the specific field name.
        Parameters:
        fieldName - Field name.
        Returns:
        Field value.
      • put

        java.lang.Object put​(java.lang.String key,
                             java.lang.Object value)
        Add a new value to the instance.
        Parameters:
        key - Name of the value.
        value - Value instance.
        Returns:
        Return the value added.
      • keySet

        java.util.Set<java.lang.String> keySet()
        Returns the key set of the object.
        Returns:
        Key set of the object
      • clone

        Enlarged clone​(java.lang.String... fields)
        Clone th enlarged object.
        Parameters:
        fields - Array of static fields
        Returns:
        Enlarged clone.
      • cloneEmpty

        Enlarged cloneEmpty()
        Clone the enlarged object without domain information.
        Returns:
        Enlarged clone.
      • purge

        void purge()
        This method remove all the fields that it's not static