HHH-6318 : Change EntityIdentifier.attributeBinding to be type SimpleAttributeBinding
This commit is contained in:
parent
4ef305ae2c
commit
f12aad3493
|
@ -45,7 +45,7 @@ public class EntityIdentifier {
|
|||
);
|
||||
|
||||
private final EntityBinding entityBinding;
|
||||
private KeyValueBinding attributeBinding;
|
||||
private SimpleAttributeBinding attributeBinding;
|
||||
private IdentifierGenerator identifierGenerator;
|
||||
private IdGenerator idGenerator;
|
||||
// todo : mappers, etc
|
||||
|
@ -59,11 +59,11 @@ public class EntityIdentifier {
|
|||
this.entityBinding = entityBinding;
|
||||
}
|
||||
|
||||
public KeyValueBinding getValueBinding() {
|
||||
public SimpleAttributeBinding getValueBinding() {
|
||||
return attributeBinding;
|
||||
}
|
||||
|
||||
public void setValueBinding(KeyValueBinding attributeBinding) {
|
||||
public void setValueBinding(SimpleAttributeBinding attributeBinding) {
|
||||
if ( this.attributeBinding != null ) {
|
||||
// todo : error? or just log? For now throw exception and see what happens. Easier to see whether this
|
||||
// method gets called multiple times
|
||||
|
|
Loading…
Reference in New Issue