Package de.xima.fc.workflow.taglib.model
Class BaseConditionProps
- java.lang.Object
-
- de.xima.fc.workflow.taglib.model.BaseConditionProps
-
- All Implemented Interfaces:
IDescriptionProviding
,Serializable
- Direct Known Subclasses:
FcMultipleConditionProps
public class BaseConditionProps extends Object implements IDescriptionProviding, Serializable
Base class for common properties used by binary condition nodes. Useful e.g. for plugins that what to implement a custom condition that should behave similarly to a builtin condition, but with a different test.- Since:
- 7.1.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
-
-
Constructor Summary
Constructors Constructor Description BaseConditionProps()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getBeschreibung()
Deprecated.UsegetDescription()
.String
getDescription()
String
getLabelNo()
String
getLabelYes()
void
setDescription(String description)
void
setLabelNo(String labelNo)
void
setLabelYes(String labelYes)
-
-
-
Method Detail
-
getBeschreibung
@Deprecated public final String getBeschreibung()
Deprecated.UsegetDescription()
.- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
- Returns:
- The same as
getDescription()
.
-
getDescription
public final String getDescription()
- Specified by:
getDescription
in interfaceIDescriptionProviding
- Returns:
- A human-readable description for this object.
-
getLabelNo
@Nullable public String getLabelNo()
- Returns:
- The label that is shown on the
no
branch. Defaults to the localized version of the wordno
.
-
getLabelYes
@Nullable public String getLabelYes()
- Returns:
- The label that is shown on the
yes
branch. Defaults to the localized version of the wordyes
.
-
setDescription
public final void setDescription(String description)
- Parameters:
description
- An arbitrary description for this action, given by the user.
-
setLabelNo
public void setLabelNo(String labelNo)
- Parameters:
labelNo
- The label that is shown on theno
branch. Defaults to the localized version of the wordno
.
-
setLabelYes
public void setLabelYes(String labelYes)
- Parameters:
labelYes
- The label that is shown on theyes
branch. Defaults to the localized version of the wordyes
.
-
-