getMetadata().setPrimaryKeyJoinColumns(new ArrayList<PrimaryKeyJoinColumnMetadata>());
}
public PrimaryKeyJoinColumn addPrimaryKeyJoinColumn() {
PrimaryKeyJoinColumnImpl primaryKeyJoinColumn = new PrimaryKeyJoinColumnImpl();
getMetadata().getPrimaryKeyJoinColumns().add(primaryKeyJoinColumn.getMetadata());
return primaryKeyJoinColumn;
}