Class FormBackupVersion
- java.lang.Object
 - 
- de.xima.fc.gui.designer.form.model.FormBackupVersion
 
 
- 
- All Implemented Interfaces:
 Serializable
public class FormBackupVersion extends Object implements Serializable
Similar to aSelectItem, but immutable and with a type-safegetValue()method for a form backup version.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FormBackupVersion(String label, long id) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormBackupVersiongetDefault()StringgetLabel()StringgetValue()StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
FormBackupVersion
public FormBackupVersion(String label, long id)
- Parameters:
 label- Label of the backup version.id- ID of theFormVersionBackup.
 
 - 
 
- 
Method Detail
- 
getLabel
public String getLabel()
- Returns:
 - The label for this backup version, i.e. the formatted date when it was created.
 
 
- 
getValue
public String getValue()
- Returns:
 - The ID of this backup version, i.e. its database ID.
 
 
- 
getDefault
public static FormBackupVersion getDefault()
- Returns:
 - The backup version instance for the default (current) version.
 
 
 - 
 
 -