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.StringgetCode()Returns the code of this input field.java.lang.StringgetDescription()java.lang.StringgetLabel()java.lang.StringgetValue()booleanisMandatory()IManagedInputWidgetDescriptionsetCode(java.lang.String code)IManagedInputWidgetDescriptionsetDescription(java.lang.String description)Sets description of this input field.voidsetLabel(java.lang.String label)IManagedInputWidgetDescriptionsetMandatory(boolean mandatory)Sets mandatory flag of this input field (default: false)IManagedInputWidgetDescriptionsetValue(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:IManagedInputWidgetDescriptionReturns the code of this input field.- Specified by:
getCodein interfaceIManagedInputWidgetDescription
-
setCode
public IManagedInputWidgetDescription setCode(java.lang.String code)
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabelin interfaceIManagedInputWidgetDescription- Returns:
- label of this input field
-
setLabel
public void setLabel(java.lang.String label)
-
getValue
public java.lang.String getValue()
- Specified by:
getValuein 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:IManagedInputWidgetDescriptionSets value / default value of this input field.- Specified by:
setValuein interfaceIManagedInputWidgetDescription- Returns:
- this (for method chaining)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceIManagedInputWidgetDescription
-
setDescription
public IManagedInputWidgetDescription setDescription(java.lang.String description)
Description copied from interface:IManagedInputWidgetDescriptionSets description of this input field.- Specified by:
setDescriptionin interfaceIManagedInputWidgetDescription- Returns:
- this (for method chaining)
-
isMandatory
public boolean isMandatory()
- Specified by:
isMandatoryin interfaceIManagedInputWidgetDescription- Returns:
- mandatory flag of this input field
-
setMandatory
public IManagedInputWidgetDescription setMandatory(boolean mandatory)
Description copied from interface:IManagedInputWidgetDescriptionSets mandatory flag of this input field (default: false)- Specified by:
setMandatoryin interfaceIManagedInputWidgetDescription- Returns:
- this (for method chaining)
-
-