Package de.xima.fc.gui.model.workflow
Class AddNewStateData
- java.lang.Object
 - 
- de.xima.fc.gui.model.workflow.AddNewStateData
 
 
- 
- All Implemented Interfaces:
 Serializable
public final class AddNewStateData extends Object implements Serializable
POJO model with the data for adding a new state in the workflow designer.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AddNewStateData(String name, String description)Creates a new POJO instance with the given data. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddNewStateDataempty()StringgetDescription()StringgetName() 
 - 
 
- 
- 
Constructor Detail
- 
AddNewStateData
public AddNewStateData(String name, String description)
Creates a new POJO instance with the given data.- Parameters:
 name- Value as returned bygetName().description- Value as returned bygetDescription().
 
 - 
 
- 
Method Detail
- 
getName
public String getName()
- Returns:
 - The name of the new state to be added. Must not be empty.
 
 
- 
getDescription
public String getDescription()
- Returns:
 - The optional description of the new state. May be empty.
 
 
- 
empty
public static AddNewStateData empty()
- Returns:
 - An empty POJO with no name and description.
 
 
 - 
 
 -