net.java.ao
Class DBParam
java.lang.Object
net.java.ao.DBParam
public class DBParam
- extends java.lang.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 Summary |
DBParam(java.lang.String field,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DBParam
public DBParam(java.lang.String field,
java.lang.Object value)
getField
public java.lang.String getField()
setField
public void setField(java.lang.String field)
getValue
public java.lang.Object getValue()
setValue
public void setValue(java.lang.Object value)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2007-2012. All Rights Reserved.