|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.onemind.commons.java.sql.Field
public class Field
A Field contains meta infomration of a field in the database table
Field Summary | |
---|---|
private java.lang.String |
_name
the name * |
private int |
_type
the sql type * |
Constructor Summary | |
---|---|
Field(java.lang.String name,
int type)
create a new field with name name and type type |
Method Summary | |
---|---|
java.lang.String |
getName()
return the name of the field |
int |
getType()
get the type of the field |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String _name
private int _type
Constructor Detail |
---|
public Field(java.lang.String name, int type)
name
- the nametype
- the typeMethod Detail |
---|
public java.lang.String getName()
public int getType()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |