Class EntityItemImpl
java.lang.Object
ch.tocco.nice2.persist.entity.impl.cascadingdelete.AbstractCascadeItem
ch.tocco.nice2.persist.entity.impl.cascadingdelete.EntityItemImpl
- All Implemented Interfaces:
CascadeItem
,EntityItem
-
Constructor Summary
ConstructorDescriptionEntityItemImpl
(boolean mandatory, Entity entity, boolean visible, Optional<BusinessUnit> bu) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isCause()
void
setBusinessUnit
(@Nullable BusinessUnit businessUnit) void
setCause
(boolean cause) void
setRelationModel
(@Nullable RelationModel relationModel) Methods inherited from class ch.tocco.nice2.persist.entity.impl.cascadingdelete.AbstractCascadeItem
getCascadingDeleteDeniedCauses, isCascadingDeleteDenied, isDeletionPermitted, isDeletionPermitted, isLeaf, isMandatory, isRemoved, isVisible, remove, setCascadingDeleteDenied, setLeaf
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.entity.api.cascadingdelete.CascadeItem
getCascadingDeleteDeniedCauses, isCascadingDeleteDenied, isDeletionPermitted, isLeaf, isMandatory, isRemoved, isVisible, remove
-
Constructor Details
-
EntityItemImpl
-
-
Method Details
-
setBusinessUnit
-
getBusinessUnit
- Specified by:
getBusinessUnit
in interfaceEntityItem
-
getEntity
- Specified by:
getEntity
in interfaceEntityItem
-
setRelationModel
-
getRelationModel
- Specified by:
getRelationModel
in interfaceEntityItem
-
isCause
public boolean isCause()- Specified by:
isCause
in interfaceEntityItem
-
setCause
public void setCause(boolean cause)
-