Package ch.tocco.nice2.netui.spi.actions
Class EntityNameSituation
java.lang.Object
ch.tocco.nice2.netui.spi.actions.EntityNameSituation
- All Implemented Interfaces:
Situation
,SituationWithEntityName
,SituationWithFormName
- Direct Known Subclasses:
EntitySituation
public class EntityNameSituation
extends Object
implements SituationWithEntityName, SituationWithFormName
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
The entity name, eg 'Address'.protected @Nullable String
The form name, eg 'Address' or 'PublicDmsResource'.protected @Nullable String
protected @Nullable String
static final String
protected String
Something like 'top toolbar' afaik.protected @Nullable String
For example 'create'.protected @Nullable String
For example 'explorer-main'. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
@Nullable String
getName()
Tells the kind of situation it is, probably the class name.getPlace()
Returns the place for the situation.@Nullable String
getScope()
Tells the scope for which this situation is.@Nullable String
Tells the screen for which this situation is.void
setEntityName
(String entityName) void
setFormName
(String formName) void
setMainPrimaryKey
(@Nullable String mainPrimaryKey) void
void
void
void
toString()
-
Field Details
-
NAME
-
entityName
The entity name, eg 'Address'. NOTE: entityName would have been the correct variable name - type has another meaning. -
formName
The form name, eg 'Address' or 'PublicDmsResource'. -
screen
For example 'explorer-main'. -
scope
For example 'create'. -
place
Something like 'top toolbar' afaik. -
module
-
mainPrimaryKey
-
-
Constructor Details
-
EntityNameSituation
public EntityNameSituation()
-
-
Method Details
-
getEntityName
- Specified by:
getEntityName
in interfaceSituationWithEntityName
-
setEntityName
-
getFormName
- Specified by:
getFormName
in interfaceSituationWithFormName
-
setFormName
-
getScope
Description copied from interface:Situation
Tells the scope for which this situation is. Example: 'update'. -
getScope
-
setScope
-
getPlace
Description copied from interface:Situation
Returns the place for the situation. Example: 'topToolbar'. -
setPlace
-
getScreen
Description copied from interface:Situation
Tells the screen for which this situation is. Examples: 'explorer-main', 'explorer-relations', 'explorer-search', 'explorer-modal', 'home'. -
setScreen
-
toString
-
getName
Description copied from interface:Situation
Tells the kind of situation it is, probably the class name. -
getModule
-
setModule
-
getMainPrimaryKey
-
setMainPrimaryKey
-