@@ -0,0 +1,1291 @@
+package org.springframework.roo.addon.dbre;%0A%0Aimport java.util.List;%0A%0Aimport org.springframework.roo.classpath.details.FieldMetadata;%0Aimport org.springframework.roo.support.util.Assert;%0A%0A/**%0A * Holder for embedded identifier attributes%0A * %0A * @author Alan Stewart%0A * @since 1.1.3%0A */%0Apublic class EmbeddedIdentifierHolder %7B%0A%09private FieldMetadata embeddedIdentifierField;%0A%09private List%3CFieldMetadata%3E identifierFields;%0A%0A%09public EmbeddedIdentifierHolder(FieldMetadata embeddedIdentifierField, List%3CFieldMetadata%3E identifierFields) %7B%0A%09%09Assert.notNull(embeddedIdentifierField, %22Embedded identifier field required%22);%0A%09%09Assert.notNull(identifierFields, %22Fields for %22 + embeddedIdentifierField.getFieldType().getFullyQualifiedTypeName() + %22 required%22);%0A%09%09this.embeddedIdentifierField = embeddedIdentifierField;%0A%09%09this.identifierFields = identifierFields;%0A%09%7D%0A%0A%09public FieldMetadata getEmbeddedIdentifierField() %7B%0A%09%09return embeddedIdentifierField;%0A%09%7D%0A%0A%09public void setEmbeddedIdentifierField(FieldMetadata embeddedIdentifierField) %7B%0A%09%09this.embeddedIdentifierField = embeddedIdentifierField;%0A%09%7D%0A%0A%09public List%3CFieldMetadata%3E getIdentifierFields() %7B%0A%09%09return identifierFields;%0A%09%7D%0A%0A%09public void setIdentifierFields(List%3CFieldMetadata%3E identifierFields) %7B%0A%09%09this.identifierFields = identifierFields;%0A%09%7D%0A%7D%0A

Remove dependency on EntityMetadata in DBRE - added necessary EmbeddedIdentifierHolder class