Class AttributeDefinitionFormObject<T extends AttributeDefinition>
- java.lang.Object
-
- org.openforis.collect.designer.form.FormObject<T>
-
- org.openforis.collect.designer.form.SurveyObjectFormObject<T>
-
- org.openforis.collect.designer.form.VersionableItemFormObject<T>
-
- org.openforis.collect.designer.form.NodeDefinitionFormObject<T>
-
- org.openforis.collect.designer.form.AttributeDefinitionFormObject<T>
-
- Direct Known Subclasses:
BooleanAttributeDefinitionFormObject,CodeAttributeDefinitionFormObject,CoordinateAttributeDefinitionFormObject,DateAttributeDefinitionFormObject,FileAttributeDefinitionFormObject,NumericAttributeDefinitionFormObject,TaxonAttributeDefinitionFormObject,TextAttributeDefinitionFormObject,TimeAttributeDefinitionFormObject
public class AttributeDefinitionFormObject<T extends AttributeDefinition> extends NodeDefinitionFormObject<T>
- Author:
- S. Ricci
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openforis.collect.designer.form.NodeDefinitionFormObject
NodeDefinitionFormObject.RelevanceType, NodeDefinitionFormObject.RequirenessType
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTRIBUTE_DEFAULTS_FIELDstatic StringCALCULATED_FIELDstatic StringCHECKS_FIELDstatic StringKEY_FIELDstatic StringMEASUREMENT_FIELDstatic StringREFERENCED_ATTRIBUTE_PATH_FIELD-
Fields inherited from class org.openforis.collect.designer.form.NodeDefinitionFormObject
key, measurement, MULTIPLE_FIELD, qualifier, REQUIRED_FIELD, REQUIRENESS_FIELD, showInSummary
-
Fields inherited from class org.openforis.collect.designer.form.FormObject
VERSION_EMPTY_SELECTION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AttributeDefault>getAttributeDefaults()List<Check<?>>getChecks()StringgetPhaseToApplyDefaultValue()StringgetReferencedAttributePath()String[]getVisibleFields()booleanisEditable()booleanisShowInMapBalloon()voidloadFrom(T source, String languageCode)protected voidreset()voidsaveTo(T dest, String languageCode)voidsetAttributeDefaults(List<AttributeDefault> attributeDefaults)voidsetChecks(List<Check<?>> checks)voidsetEditable(boolean editable)voidsetPhaseToApplyDefaultValue(String phaseToApplyDefaultValue)voidsetReferencedAttributePath(String referencedAttributePath)voidsetShowInMapBalloon(boolean showInMapBalloon)voidsetVisibleFields(String[] visibleFields)-
Methods inherited from class org.openforis.collect.designer.form.NodeDefinitionFormObject
getAbbreviatedLabel, getBackgroundColor, getBackgroundTransparency, getColumn, getColumnSpan, getDefaultDescription, getDefaultHeadingLabel, getDefaultInstanceLabel, getDescription, getHandheldPromptLabel, getHeadingLabel, getInstanceLabel, getInterviewPromptLabel, getLabelOrientation, getLabelWidth, getMaxCountExpression, getMinCountExpression, getName, getNumberLabel, getPaperPromptLabel, getPcPromptLabel, getRelevanceType, getRelevantExpression, getReportingLabel, getRequiredWhenExpression, getRequirenessType, getTabName, getUIOptions, getWidth, isAutoGenerateMinItems, isCalculated, isCalculatedOnlyOneTime, isFromCollectEarthCSV, isHideKeyInCollectEarthRecordList, isHideWhenNotRelevant, isIncludedInCollectEarthHeader, isIncludeInDataExport, isKey, isMeasurement, isMultiple, isQualifier, isShowInSummary, isShowInUI, isShowReadOnlyFieldInCollectEarth, newInstance, newInstance, setAbbreviatedLabel, setAutoGenerateMinItems, setBackgroundColor, setBackgroundTransparency, setCalculated, setCalculatedOnlyOneTime, setColumn, setColumnSpan, setDescription, setFromCollectEarthCSV, setHandheldPromptLabel, setHeadingLabel, setHideKeyInCollectEarthRecordList, setHideWhenNotRelevant, setIncludedInCollectEarthHeader, setIncludeInDataExport, setInstanceLabel, setInterviewPromptLabel, setKey, setLabelOrientation, setLabelWidth, setMaxCountExpression, setMeasurement, setMinCountExpression, setMultiple, setName, setNumberLabel, setPaperPromptLabel, setParentDefinition, setPcPromptLabel, setQualifier, setRelevanceType, setRelevantExpression, setReportingLabel, setRequiredWhenExpression, setRequirenessType, setShowInSummary, setShowInUI, setShowReadOnlyFieldInCollectEarth, setTabName, setWidth
-
Methods inherited from class org.openforis.collect.designer.form.VersionableItemFormObject
getDeprecatedVersionId, getSinceVersionId, setDeprecatedVersionId, setSinceVersionId
-
Methods inherited from class org.openforis.collect.designer.form.FormObject
getSource
-
-
-
-
Field Detail
-
ATTRIBUTE_DEFAULTS_FIELD
public static final String ATTRIBUTE_DEFAULTS_FIELD
- See Also:
- Constant Field Values
-
CHECKS_FIELD
public static final String CHECKS_FIELD
- See Also:
- Constant Field Values
-
KEY_FIELD
public static final String KEY_FIELD
- See Also:
- Constant Field Values
-
MEASUREMENT_FIELD
public static final String MEASUREMENT_FIELD
- See Also:
- Constant Field Values
-
CALCULATED_FIELD
public static final String CALCULATED_FIELD
- See Also:
- Constant Field Values
-
REFERENCED_ATTRIBUTE_PATH_FIELD
public static final String REFERENCED_ATTRIBUTE_PATH_FIELD
- See Also:
- Constant Field Values
-
-
Method Detail
-
saveTo
public void saveTo(T dest, String languageCode)
- Overrides:
saveToin classNodeDefinitionFormObject<T extends AttributeDefinition>
-
loadFrom
public void loadFrom(T source, String languageCode)
- Overrides:
loadFromin classNodeDefinitionFormObject<T extends AttributeDefinition>
-
reset
protected void reset()
- Overrides:
resetin classNodeDefinitionFormObject<T extends AttributeDefinition>
-
getAttributeDefaults
public List<AttributeDefault> getAttributeDefaults()
-
setAttributeDefaults
public void setAttributeDefaults(List<AttributeDefault> attributeDefaults)
-
getPhaseToApplyDefaultValue
public String getPhaseToApplyDefaultValue()
-
setPhaseToApplyDefaultValue
public void setPhaseToApplyDefaultValue(String phaseToApplyDefaultValue)
-
isEditable
public boolean isEditable()
-
setEditable
public void setEditable(boolean editable)
-
isShowInMapBalloon
public boolean isShowInMapBalloon()
-
setShowInMapBalloon
public void setShowInMapBalloon(boolean showInMapBalloon)
-
getVisibleFields
public String[] getVisibleFields()
-
setVisibleFields
public void setVisibleFields(String[] visibleFields)
-
getReferencedAttributePath
public String getReferencedAttributePath()
-
setReferencedAttributePath
public void setReferencedAttributePath(String referencedAttributePath)
-
-