B - public interface BaseBean<B>
| 限定符和类型 | 方法和说明 |
|---|---|
B |
copy(B bean)
Copies the passed bean into the current bean.
|
B |
copy(B bean,
int... fieldList)
Copies the passed bean into the current bean.
|
B |
copy(B bean,
java.lang.String... fieldList)
Copies the passed bean into the current bean.
|
<T> T |
getValue(int columnID) |
<T> T |
getValue(java.lang.String column) |
boolean |
isInitialized(int columnID)
Determines if the
columnID has been initialized. |
boolean |
isInitialized(java.lang.String column)
Determines if the
column has been initialized. |
boolean |
isModified()
Determines if the object has been modified since the last time this method was called.
|
boolean |
isModified(int columnID)
Determines if the
column has been modified. |
boolean |
isModified(java.lang.String column)
Determines if the
column has been modified. |
boolean |
isNew()
Determines if the current object is new.
|
void |
isNew(boolean isNew)
Specifies to the object if it has been set as new.
|
void |
resetIsModified()
Resets the object modification status to 'not modified'.
|
void |
resetPrimaryKeysModified()
Resets the primary keys modification status to 'not modified'.
|
<T> void |
setValue(int columnID,
T value)
set a value representation of the given column id
|
<T> void |
setValue(java.lang.String column,
T value)
set a value representation of the given field
|
java.lang.String |
toString(boolean notNull,
boolean fullIfStringOrBytes) |
boolean isNew()
void isNew(boolean isNew)
isNew - the boolean value to be assigned to the isNew fieldboolean isModified()
void resetIsModified()
void resetPrimaryKeysModified()
boolean isInitialized(int columnID)
columnID has been initialized.columnID - column idboolean isModified(int columnID)
column has been modified.columnID - column idboolean isInitialized(java.lang.String column)
column has been initialized.column - column nameboolean isModified(java.lang.String column)
column has been modified.column - column nameB copy(B bean)
bean - the bean to copy into the current beanbeanB copy(B bean, int... fieldList)
bean - the bean to copy into the current beanfieldList - the column id list to copy into the current beanbeanB copy(B bean, java.lang.String... fieldList)
bean - the bean to copy into the current beanfieldList - the column name list to copy into the current beanbean<T> T getValue(int columnID)
columnID - column id<T> void setValue(int columnID, T value)
columnID - column idvalue - <T> T getValue(java.lang.String column)
column - column name<T> void setValue(java.lang.String column, T value)
column - column namevalue - java.lang.String toString(boolean notNull, boolean fullIfStringOrBytes)
notNull - output not null field only if truefullIfStringOrBytes - for string or bytes field,output full content if true,otherwise output length.Copyright © 2019. All Rights Reserved.