HHH-6341 : Add AttributeBinding.isBasicPropertyAccessor()
This commit is contained in:
parent
2129f94aa3
commit
e2ff8ed542
|
@ -179,6 +179,12 @@ public abstract class AbstractAttributeBinding implements AttributeBinding {
|
||||||
return propertyAccessorName;
|
return propertyAccessorName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isBasicPropertyAccessor() {
|
||||||
|
return propertyAccessorName==null || "property".equals( propertyAccessorName );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean hasFormula() {
|
public boolean hasFormula() {
|
||||||
for ( SimpleValue simpleValue : getValues() ) {
|
for ( SimpleValue simpleValue : getValues() ) {
|
||||||
|
|
|
@ -80,6 +80,8 @@ public interface AttributeBinding {
|
||||||
|
|
||||||
public String getPropertyAccessorName();
|
public String getPropertyAccessorName();
|
||||||
|
|
||||||
|
public boolean isBasicPropertyAccessor();
|
||||||
|
|
||||||
public boolean hasFormula();
|
public boolean hasFormula();
|
||||||
|
|
||||||
public boolean isAlternateUniqueKey();
|
public boolean isAlternateUniqueKey();
|
||||||
|
|
Loading…
Reference in New Issue