Class NestedObject

java.lang.Object
com.codingchili.core.testing.NestedObject
All Implemented Interfaces:
NestedStorable, Storable, io.vertx.core.shareddata.Shareable, Serializable, Cloneable, Comparable

public class NestedObject extends Object implements NestedStorable
Object used for testing, nested within StorageObject.
See Also:
Serialized Form
  • Constructor Details

    • NestedObject

      public NestedObject()
    • NestedObject

      public NestedObject(String name)
  • Method Details

    • getName

      public String getName()
    • setName

      public NestedObject setName(String name)
    • getNumbers

      public List<Integer> getNumbers()
    • setNumbers

      public NestedObject setNumbers(List<Integer> numbers)
    • compareTo

      public int compareTo(Object o)
      Description copied from interface: Storable
      Provides a default implementation for compareTo that uses the storables id.
      Specified by:
      compareTo in interface Comparable
      Specified by:
      compareTo in interface Storable
      Parameters:
      o - the object to compare to.
      Returns:
      see Comparable#compareTo(Object)