Class ManagedInputWidgetDescription
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.ManagedInputWidgetDescription
-
- All Implemented Interfaces:
IManagedInputWidgetDescription
,java.io.Serializable
- Direct Known Subclasses:
ManagedComboBoxInputWidgetDescription
,ManagedMultilineTextInputWidgetDescription
,ManagedTextInputWidgetDescription
public abstract class ManagedInputWidgetDescription extends java.lang.Object implements IManagedInputWidgetDescription
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagedInputWidgetDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCode()
Returns the code of this input field.java.lang.String
getDescription()
java.lang.String
getLabel()
java.lang.String
getValue()
boolean
isMandatory()
IManagedInputWidgetDescription
setCode(java.lang.String code)
IManagedInputWidgetDescription
setDescription(java.lang.String description)
Sets description of this input field.void
setLabel(java.lang.String label)
IManagedInputWidgetDescription
setMandatory(boolean mandatory)
Sets mandatory flag of this input field (default: false)IManagedInputWidgetDescription
setValue(java.lang.String value)
Sets value / default value of this input field.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.shared.basic.dto.api.IManagedInputWidgetDescription
getManagedInputFieldType
-
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
Description copied from interface:IManagedInputWidgetDescription
Returns the code of this input field.- Specified by:
getCode
in interfaceIManagedInputWidgetDescription
-
setCode
public IManagedInputWidgetDescription setCode(java.lang.String code)
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interfaceIManagedInputWidgetDescription
- Returns:
- label of this input field
-
setLabel
public void setLabel(java.lang.String label)
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceIManagedInputWidgetDescription
- Returns:
- value set in this input field (either default value or value provided by a user).
-
setValue
public IManagedInputWidgetDescription setValue(java.lang.String value)
Description copied from interface:IManagedInputWidgetDescription
Sets value / default value of this input field.- Specified by:
setValue
in interfaceIManagedInputWidgetDescription
- Returns:
- this (for method chaining)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceIManagedInputWidgetDescription
-
setDescription
public IManagedInputWidgetDescription setDescription(java.lang.String description)
Description copied from interface:IManagedInputWidgetDescription
Sets description of this input field.- Specified by:
setDescription
in interfaceIManagedInputWidgetDescription
- Returns:
- this (for method chaining)
-
isMandatory
public boolean isMandatory()
- Specified by:
isMandatory
in interfaceIManagedInputWidgetDescription
- Returns:
- mandatory flag of this input field
-
setMandatory
public IManagedInputWidgetDescription setMandatory(boolean mandatory)
Description copied from interface:IManagedInputWidgetDescription
Sets mandatory flag of this input field (default: false)- Specified by:
setMandatory
in interfaceIManagedInputWidgetDescription
- Returns:
- this (for method chaining)
-
-