Class Preset
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.Item
de.espirit.firstspirit.access.store.templatestore.gom.Preset
- All Implemented Interfaces:
ValueOfContractor
,Serializable
- Direct Known Subclasses:
DatePreset
,InitialPreset
Interface representing the general gom preset modes. An enum type is not applicable to replace this mode
designating type to allow for optionally extending the kind and number of available modes.
- Since:
- 4.0.55
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.common.text.ValueOfContractor
ValueOfContractor.Invoke
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT
The default preset mode.- Since:
- 4.0.55
- See Also:
-
-
Constructor Details
-
Preset
Constructor taking the preset mode name.- Parameters:
name
- The preset's name.- Since:
- 4.0.55
-
-
Method Details
-
isDefault
public boolean isDefault()Indicates this preset mode to be the default one.- Returns:
true
, if this is the default preset.- Since:
- 4.0.55
-
isCopy
public boolean isCopy()Indicates this preset mode to be the copy setting.- Returns:
true
, if this is the copy preset.- Since:
- 4.0.55
-
valueOf
Factory to provide a matching preset mode to the given name.- Parameters:
name
- The name.- Returns:
- The matching preset mode.
- Since:
- 4.0.55
-