Class DeleteBehaviorImpl
java.lang.Object
ch.tocco.nice2.model.entity.api.DefaultModelBase
ch.tocco.nice2.model.entity.api.relations.DeleteBehaviorImpl
- All Implemented Interfaces:
DeleteBehavior
,ModelElement
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.entity.api.DeleteBehavior
DeleteBehavior.Cascade, DeleteBehavior.Visualisation
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeleteBehaviorImpl
(DeleteBehavior.Cascade cascade, DeleteBehavior.Visualisation visual) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setCascade
(DeleteBehavior.Cascade cascade) void
setIsDefault
(boolean isDefault) void
Methods inherited from class ch.tocco.nice2.model.entity.api.DefaultModelBase
getAdditionalToStringInfo, getName, setName, toString
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
DeleteBehaviorImpl
public DeleteBehaviorImpl() -
DeleteBehaviorImpl
-
-
Method Details
-
getCascade
- Specified by:
getCascade
in interfaceDeleteBehavior
-
getVisualisation
- Specified by:
getVisualisation
in interfaceDeleteBehavior
-
setCascade
- Specified by:
setCascade
in interfaceDeleteBehavior
- Parameters:
cascade
- the cascade-behavior, non-null
-
setVisualisation
- Specified by:
setVisualisation
in interfaceDeleteBehavior
- Parameters:
visual
- the visual-behavior, non-null
-
isDefault
public boolean isDefault()- Specified by:
isDefault
in interfaceDeleteBehavior
-
setIsDefault
public void setIsDefault(boolean isDefault) - Specified by:
setIsDefault
in interfaceDeleteBehavior
-