org.mentabean
Class DBField
java.lang.Object
org.mentabean.DBField
public class DBField
- extends Object
A class representing a database field. It has the name of the bean property, the name of the column in the database, the database type, whether it is a PK or not and whether it default to now.
- Author:
- sergio.oliveira.jr@gmail.com
DBField
public DBField(String name,
String dbName,
DBType<?> type,
boolean isPK)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getName
public String getName()
getType
public DBType getType()
getDbName
public String getDbName()
isPK
public boolean isPK()
Copyright © 2013. All Rights Reserved.