Deprecated
as a consequence of Constraint being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private String | |
| private List | |
| private String | |
| private Table | referencedTable
Deprecated
as a consequence of
Table being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public void | |
| private void | |
| private void | |
| public void | |
| public String | generatedConstraintNamePrefix()
Implements abstract org. |
| public String | getExportIdentifier()
Implements org. |
| public String | |
| public List | getReferencedColumns()
Returns the referenced columns if the foreignkey does not refer to the primary key |
| public String | |
| public Table | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | sqlConstraintString(SqlStringGenerationContext context, String constraintName, String defaultCatalog, String defaultSchema)
Implements abstract org. |
| public String | sqlDropString(SqlStringGenerationContext context, String defaultCatalog, String defaultSchema)
Overrides org. Implements org. |
| public String | toString()
Overrides org. |
| cascadeDeleteEnabled | back to summary |
|---|---|
| private boolean cascadeDeleteEnabled | |
| creationEnabled | back to summary |
|---|---|
| private boolean creationEnabled | |
| keyDefinition | back to summary |
|---|---|
| private String keyDefinition | |
| referencedColumns | back to summary |
|---|---|
| private List<Column> referencedColumns | |
| referencedEntityName | back to summary |
|---|---|
| private String referencedEntityName | |
| referencedTable | back to summary |
|---|---|
| private Table referencedTable
Deprecated as a consequence of | |
| ForeignKey | back to summary |
|---|---|
| public ForeignKey() | |
| addReferencedColumn | back to summary |
|---|---|
| private void addReferencedColumn(Column column) | |
| addReferencedColumns | back to summary |
|---|---|
| public void addReferencedColumns(Iterator<E> referencedColumnsIterator) | |
| alignColumns | back to summary |
|---|---|
| public void alignColumns() Validates that column span of the foreign key and the primary key is the same. Furthermore it aligns the length of the underlying tables columns. | |
| alignColumns | back to summary |
|---|---|
| private void alignColumns(Table referencedTable)
Deprecated as a consequence of | |
| appendColumns | back to summary |
|---|---|
| private void appendColumns(StringBuilder buf, Iterator<E> columns) | |
| disableCreation | back to summary |
|---|---|
| public void disableCreation() | |
| generatedConstraintNamePrefix | back to summary |
|---|---|
| public String generatedConstraintNamePrefix() Implements abstract org.
| |
| getExportIdentifier | back to summary |
|---|---|
| public String getExportIdentifier() Implements org. Doc from org. Get a unique identifier to make sure we are not exporting the same database structure multiple times. | |
| getKeyDefinition | back to summary |
|---|---|
| public String getKeyDefinition() | |
| getReferencedColumns | back to summary |
|---|---|
| public List Returns the referenced columns if the foreignkey does not refer to the primary key | |
| getReferencedEntityName | back to summary |
|---|---|
| public String getReferencedEntityName() | |
| getReferencedTable | back to summary |
|---|---|
| public Table getReferencedTable()
Deprecated as a consequence of | |
| isCascadeDeleteEnabled | back to summary |
|---|---|
| public boolean isCascadeDeleteEnabled() | |
| isCreationEnabled | back to summary |
|---|---|
| public boolean isCreationEnabled() | |
| isPhysicalConstraint | back to summary |
|---|---|
| public boolean isPhysicalConstraint() | |
| isReferenceToPrimaryKey | back to summary |
|---|---|
| public boolean isReferenceToPrimaryKey() Does this foreignkey reference the primary key of the reference table | |
| setCascadeDeleteEnabled | back to summary |
|---|---|
| public void setCascadeDeleteEnabled(boolean cascadeDeleteEnabled) | |
| setKeyDefinition | back to summary |
|---|---|
| public void setKeyDefinition(String keyDefinition) | |
| setName | back to summary |
|---|---|
| public void setName(String name) Overrides org.
| |
| setReferencedEntityName | back to summary |
|---|---|
| public void setReferencedEntityName(String referencedEntityName) | |
| setReferencedTable | back to summary |
|---|---|
| public void setReferencedTable(Table referencedTable) throws MappingException
Deprecated as a consequence of | |
| sqlConstraintString | back to summary |
|---|---|
| public String sqlConstraintString(SqlStringGenerationContext context, String constraintName, String defaultCatalog, String defaultSchema) Implements abstract org.
| |
| sqlDropString | back to summary |
|---|---|
| public String sqlDropString(SqlStringGenerationContext context, String defaultCatalog, String defaultSchema) Overrides org. Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
| |