#1747 - Refactor tidy tighten access on ebeaninternal/server/deploy

Adds PropertyAssocMany to ensure public access on BeanPropertyAssocMany helper methods for ebean-elastic integration.
This commit is contained in:
rob bygrave committed 2019-07-02 20:46:49 +12:00
1 parent 140178bb47
commit 5f2454831e
40 files changed
+275 -268

No files matched your search

@@ -49,11 +49,11 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> implements STr
private AssocOneHelp localHelp;
protected final BeanProperty[] embeddedProps;
final BeanProperty[] embeddedProps;
private final HashMap<String, BeanProperty> embeddedPropsMap;
protected ImportedId importedId;
ImportedId importedId;
private String deleteByParentIdSql;
private String deleteByParentIdInSql;
@@ -157,7 +157,7 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> implements STr
/**
* Derive late in lifecycle cache notification on this relationship.
*/
public void initialisePostTarget() {
void initialisePostTarget() {
this.cacheNotifyRelationship = isCacheNotifyRelationship();
}
@@ -465,7 +465,7 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> implements STr
return targetDescriptor.getIdProperty();
}
public ScalarType getIdScalarType() {
ScalarType getIdScalarType() {
return targetDescriptor.getIdProperty().scalarType;
}
@@ -674,7 +674,7 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> implements STr
}
}
void setEmbeddedOwner(EntityBean bean, Object value) {
private void setEmbeddedOwner(EntityBean bean, Object value) {
((EntityBean) value)._ebean_getIntercept().setEmbeddedOwner(bean, propertyIndex);
}