Class AbstractMappedPojo

java.lang.Object
com.github.tadukoo.util.pojo.AbstractMappedPojo
All Implemented Interfaces:
MappedPojo
Direct Known Subclasses:
AbstractOrderedMappedPojo

public abstract class AbstractMappedPojo extends Object implements MappedPojo
Abstract Mapped Pojo is a simple implementation of the MappedPojo interface that uses a HashMap as its backing Map.
Since:
Alpha v.0.2
Version:
Beta v.0.5
Author:
Logan Ferree (Tadukoo)
  • Field Details

    • map

      private final Map<String,Object> map
      The map containing the items in this pojo
  • Constructor Details

    • AbstractMappedPojo

      protected AbstractMappedPojo()
      Creates a new Mapped Pojo and initializes the backing Map.
    • AbstractMappedPojo

      protected AbstractMappedPojo(MappedPojo pojo)
      Creates a new Mapped Pojo, using the map from the given pojo.
      Parameters:
      pojo - The MappedPojo to copy the map from
  • Method Details