Package net.java.ao

Class DBParam

java.lang.Object
net.java.ao.DBParam

public class DBParam extends Object
Class designed to encapsulate a single field/value parameter to be passed to EntityManager.create(Class, DBParam...). This class is literally nothing more than a value container. There is no checking done to ensure that the values match the type of the field. Thus the responsibility of value/field matching lies with the developer.
Author:
Daniel Spiewak
  • Constructor Details

  • Method Details

    • getField

      public String getField()
    • setField

      public void setField(String field)
    • getValue

      public Object getValue()
    • setValue

      public void setValue(Object value)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object