Class CodeListFormObject
- java.lang.Object
-
- org.openforis.collect.designer.form.FormObject<T>
-
- org.openforis.collect.designer.form.SurveyObjectFormObject<T>
-
- org.openforis.collect.designer.form.VersionableItemFormObject<CodeList>
-
- org.openforis.collect.designer.form.CodeListFormObject
-
public class CodeListFormObject extends VersionableItemFormObject<CodeList>
- Author:
- S. Ricci
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCodeListFormObject.Type
-
Field Summary
-
Fields inherited from class org.openforis.collect.designer.form.FormObject
VERSION_EMPTY_SELECTION
-
-
Constructor Summary
Constructors Constructor Description CodeListFormObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultDescription()StringgetDefaultItemLabel()StringgetDefaultListLabel()StringgetDescription()StringgetItemLabel()StringgetListLabel()StringgetName()StringgetType()voidloadFrom(CodeList source, String languageCode)voidsaveTo(CodeList dest, String languageCode)voidsetDescription(String description)voidsetItemLabel(String itemLabel)voidsetListLabel(String listLabel)voidsetName(String name)voidsetType(String type)-
Methods inherited from class org.openforis.collect.designer.form.VersionableItemFormObject
getDeprecatedVersionId, getSinceVersionId, reset, setDeprecatedVersionId, setSinceVersionId
-
Methods inherited from class org.openforis.collect.designer.form.FormObject
getSource
-
-
-
-
Method Detail
-
loadFrom
public void loadFrom(CodeList source, String languageCode)
- Overrides:
loadFromin classVersionableItemFormObject<CodeList>
-
saveTo
public void saveTo(CodeList dest, String languageCode)
- Overrides:
saveToin classVersionableItemFormObject<CodeList>
-
getName
public String getName()
-
setName
public void setName(String name)
-
getItemLabel
public String getItemLabel()
-
setItemLabel
public void setItemLabel(String itemLabel)
-
getListLabel
public String getListLabel()
-
setListLabel
public void setListLabel(String listLabel)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getDefaultItemLabel
public String getDefaultItemLabel()
-
getDefaultListLabel
public String getDefaultListLabel()
-
getDefaultDescription
public String getDefaultDescription()
-
-