HHH-6318 : Change EntityIdentifier.attributeBinding to be type KeyValueBinding
This commit is contained in:
parent
b6f9d9d5d7
commit
4ef305ae2c
|
@ -45,7 +45,7 @@ public class EntityIdentifier {
|
|||
);
|
||||
|
||||
private final EntityBinding entityBinding;
|
||||
private AttributeBinding attributeBinding;
|
||||
private KeyValueBinding attributeBinding;
|
||||
private IdentifierGenerator identifierGenerator;
|
||||
private IdGenerator idGenerator;
|
||||
// todo : mappers, etc
|
||||
|
@ -59,11 +59,11 @@ public class EntityIdentifier {
|
|||
this.entityBinding = entityBinding;
|
||||
}
|
||||
|
||||
public AttributeBinding getValueBinding() {
|
||||
public KeyValueBinding getValueBinding() {
|
||||
return attributeBinding;
|
||||
}
|
||||
|
||||
public void setValueBinding(AttributeBinding attributeBinding) {
|
||||
public void setValueBinding(KeyValueBinding 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