Package com.mayam.wf.config.shared
Class Field
java.lang.Object
com.mayam.wf.config.shared.Field
- All Implemented Interfaces:
EmbedContext.HasEmbedContexts
,HasIdentity
,Serializable
,Comparable<Field>
public class Field
extends Object
implements HasIdentity, EmbedContext.HasEmbedContexts, Serializable, Comparable<Field>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static enum
static enum
static interface
Nested classes/interfaces inherited from interface com.mayam.wf.config.shared.HasIdentity
HasIdentity.Utilities
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCvl()
int
getHint()
getId()
getLabel()
boolean
boolean
void
setAttribute
(Attribute attribute) void
setComputed
(Computed computed) void
void
setDefaultValue
(String defaultValue) void
setDisplayMode
(Field.DisplayMode displayMode) void
setDisplayRows
(int displayRows) void
setDividers
(List<Divider> dividers) void
setEditGroup
(String editGroup) void
setEmbedContexts
(Set<EmbedContext> embedContexts) void
setFilterMode
(Field.FilterMode filterMode) void
setFormHeight
(String formHeight) void
setFormWidth
(Field.FormWidth formWidth) void
setHierarchyLevel
(Field.HierarchyLevel hierarchyLevel) void
setHint
(TranslatedString hint) void
setIconMap
(StyledIcon.Map iconMap) void
void
setLabel
(TranslatedString label) void
setLabelWidth
(String labelWidth) void
setMandatory
(boolean mandatory) void
setMaxConstraint
(Long maxConstraint) void
setMinConstraint
(Long minConstraint) void
setNormalizationFn
(String function) void
setPatternConstraint
(String patternConstraint) void
setReadOnly
(boolean readOnly) void
setShortLabel
(TranslatedString shortLabel) void
setViewGroup
(String viewGroup)
-
Constructor Details
-
Field
public Field()
-
-
Method Details
-
setId
-
getId
- Specified by:
getId
in interfaceHasIdentity
-
getAttribute
-
getLabel
-
getShortLabel
-
getHint
-
setReadOnly
public void setReadOnly(boolean readOnly) -
isReadOnly
public boolean isReadOnly() -
setMandatory
public void setMandatory(boolean mandatory) -
isMandatory
public boolean isMandatory() -
setViewGroup
-
getViewGroup
-
setEditGroup
-
getEditGroup
-
setDefaultValue
-
getDefaultValue
-
setDisplayRows
public void setDisplayRows(int displayRows) -
getDisplayRows
public int getDisplayRows() -
getDisplayMode
-
getFilterMode
-
preferShortLabel
-
preferLongLabel
-
getCvl
-
defaultDisplayText
- Specified by:
defaultDisplayText
in interfaceHasIdentity
-
getMinConstraint
-
setMinConstraint
-
getMaxConstraint
-
setMaxConstraint
-
getPatternConstraint
-
setPatternConstraint
-
getFormHeight
-
setFormHeight
-
getFormWidth
-
getLabelWidth
-
setLabelWidth
-
getEmbedContexts
- Specified by:
getEmbedContexts
in interfaceEmbedContext.HasEmbedContexts
-
setEmbedContexts
-
getHierarchyLevel
-
setNormalizationFn
-
getNormalizationFn
-
getComputed
-
getIconMap
-
getDividers
-
setDividers
-