|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.youyounet.db.ColumnAttribute
ColumnAttribute is a help class that encapsulate the information of a database table column
Field Summary | |
static int |
AUTO_INCREMENT
|
static int |
PASSWORD
|
static int |
PRIMARY_KEY
|
static int |
QUOTED_VALUE
|
static int |
TIMESTAMP
|
Constructor Summary | |
ColumnAttribute(java.lang.String columnName)
Creates a new instance of ColumnAttribute. |
|
ColumnAttribute(java.lang.String columnName,
int attributeValue)
Creates a new instance of ColumnAttribute. |
Method Summary | |
int |
getColumnAttributeValue()
Get the attribute value |
java.lang.String |
getColumnName()
Get the columnName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int QUOTED_VALUE
public static final int PRIMARY_KEY
public static final int AUTO_INCREMENT
public static final int PASSWORD
public static final int TIMESTAMP
Constructor Detail |
public ColumnAttribute(java.lang.String columnName, int attributeValue)
columnName
- the column name.attributeValue
- this paramter is the sum of the values defined for each
single attribute that this column may have. These single attributes are:public ColumnAttribute(java.lang.String columnName)
columnName
- the column name.Method Detail |
public java.lang.String getColumnName()
public int getColumnAttributeValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |