|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.tools.workbench.base.AbstractTable | +--com.ibm.dse.tools.workbench.base.EntitiesEntitiesTable
This class represents a table of entity compositions
Field Summary | |
static int |
CK_MODIFIER
The identifiers for the check constraint CK_MODIFIER |
static int |
CODE
The identifier for the CODE column |
static int |
ENT_COMPONENT
The identifier for the ENT_COMPONENT column |
static int |
ENT_PARENT
The identifier for the ENT_PARENT column |
static int |
MODIFIER
The identifier for the MODIFIER column |
static int |
NAME
The identifier for the NAME column |
static int |
POSITION
The identifier for the POSITION column |
Fields inherited from class com.ibm.dse.tools.workbench.base.AbstractTable |
alias,
checks,
columnLengths,
columns,
DATA_DELIMITER,
DATA_SEPARATOR,
deletedRows,
ESCAPE_SEQUENCE,
fks,
indexes,
insertedRows,
modifiedRows,
name,
pk,
relations,
repository,
required,
rows,
triggers |
Constructor Summary | |
EntitiesEntitiesTable(Repository rpstry)
This constructor creates a EntitiesEntitiesTable object in a repository |
Method Summary | |
void |
createRelations()
This method creates the relationships for a table |
boolean |
hasSelfGeneratedPk()
This table has self-generated primary key |
java.lang.String[] |
validate(TableRow row)
This method checks the correctness of a entities entities row based on application rules |
Methods inherited from class com.ibm.dse.tools.workbench.base.AbstractTable |
add,
areTriggersActive,
cleanRollbackData,
count,
createTableRow,
createTableRow,
exportToFile,
flush,
getAlias,
getChecks,
getChecks,
getColumnLengths,
getColumns,
getColumnsString,
getColumnsString,
getConnection,
getCreateChecksStrings,
getCreateFksStrings,
getCreateIndexesStrings,
getCreatePkString,
getCreateTableString,
getDefaultVersion,
getFks,
getIndexes,
getName,
getPk,
getPkValue,
getRelated,
getRelations,
getRepository,
getTimestamp,
getUniqueValue,
importFromString,
isInPk,
isRequired,
postDelete,
postInsert,
postUpdate,
preDelete,
preInsert,
preUpdate,
registerDeletedRow,
registerInsertedRow,
registerModifiedRow,
removeFromList,
restoreRows,
retrieveAll,
retrieveByPk,
retrieveDistinct,
setAlias,
setRepository,
setTriggersState |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int CODE
public static final int ENT_PARENT
public static final int POSITION
public static final int ENT_COMPONENT
public static final int NAME
public static final int MODIFIER
public static final int CK_MODIFIER
Constructor Detail |
public EntitiesEntitiesTable(Repository rpstry)
repository
- com.ibm.dse.tools.workbench.base.DefaultRepository The repository in wich create the tableMethod Detail |
public void createRelations() throws WBInvalidArgumentException
public boolean hasSelfGeneratedPk()
public java.lang.String[] validate(TableRow row)
It returns the list of error strings or null if there are no errors
row
- com.ibm.dse.tools.workbench.base.TableRow The row to validate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |