java.lang.Object
io.ebeaninternal.server.deploy.BeanCascadeInfo
Persist info for determining if save or delete should be performed.
This is set to associated Beans, Table joins and List.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDelete()Return true if delete should cascade.booleanReturn true if refresh should cascade.booleanisSave()Return true if save should cascade.voidsetDelete(boolean delete) Set to true if delete should cascade.voidsetSaveDelete(boolean save, boolean delete) Set cascade save and delete settings.voidsetType(jakarta.persistence.CascadeType type) voidsetTypes(jakarta.persistence.CascadeType[] types)
-
Constructor Details
-
BeanCascadeInfo
public BeanCascadeInfo()
-
-
Method Details
-
setTypes
public void setTypes(jakarta.persistence.CascadeType[] types) -
setType
public void setType(jakarta.persistence.CascadeType type) -
isRefresh
public boolean isRefresh()Return true if refresh should cascade. -
isDelete
public boolean isDelete()Return true if delete should cascade. -
setDelete
public void setDelete(boolean delete) Set to true if delete should cascade. -
isSave
public boolean isSave()Return true if save should cascade. -
setSaveDelete
public void setSaveDelete(boolean save, boolean delete) Set cascade save and delete settings.
-