/** * Validates that columnspan of the foreignkey and the primarykey is the same. * <p/> * Furthermore it aligns the length of the underlying tables columns. */ public void alignColumns() { if ( isReferenceToPrimaryKey() ) { alignColumns( referencedTable ); } }
public void setReferencedTable(Table referencedTable) throws MappingException { alignColumns(referencedTable); // TODO: possibly remove to allow more piecemal building of a foreignkey. this.referencedTable = referencedTable; }
/** * Validates that columnspan of the foreignkey and the primarykey is the same. * <p/> * Furthermore it aligns the length of the underlying tables columns. */ @Override public void alignColumns() { if ( isReferenceToPrimaryKey() ) { alignColumns( referencedTable ); } }
/** * Validates that columnspan of the foreignkey and the primarykey is the same. * * Furthermore it aligns the length of the underlying tables columns. */ public void alignColumns() { if ( isReferenceToPrimaryKey() ) alignColumns(referencedTable); }
/** * Validates that columnspan of the foreignkey and the primarykey is the same. * * Furthermore it aligns the length of the underlying tables columns. */ public void alignColumns() { if ( isReferenceToPrimaryKey() ) alignColumns(referencedTable); }
/** * Validates that columnspan of the foreignkey and the primarykey is the same. * * Furthermore it aligns the length of the underlying tables columns. * @param referencedTable */ public void alignColumns() { if ( isReferenceToPrimaryKey() ) alignColumns(referencedTable); }