StringColumn sstId = (StringColumn) sst.newColumn("ID", Column.Type.VARCHAR);
sstId.setLength(32);
Column sstMtId = sst.newColumn("MTID", Column.Type.BIGINT);
Column sstMtVer = sst.newColumn("MTVER", Column.Type.INTEGER);
ForeignKey foreignKeySt = sst.newForeignKey(getMainTable());
foreignKeySt.addColumnLink(sstMtId, getMainTable().getColumn("ID"));
foreignKeySt.addColumnLink(sstMtVer, getMainTable().getColumn("VER"));
StringColumn sstStId = (StringColumn) sst.newColumn("SSTID", Column.Type.VARCHAR);
sstStId.setLength(32);
ForeignKey foreignKeySst = sst.newForeignKey(getSubTable());
foreignKeySst.addColumnLink(sstStId, getSubTable().getColumn("ID"));
sst.newColumn("MTTS", Column.Type.TIMESTAMP);
}
return subsubTable;
}