Class NodeDefinitionFormObject<T extends NodeDefinition>
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>
- Direct Known Subclasses:
AttributeDefinitionFormObject,EntityDefinitionFormObject
public abstract class NodeDefinitionFormObject<T extends NodeDefinition>
extends VersionableItemFormObject<T>
- Author:
- S. Ricci
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanstatic final Stringprotected booleanstatic final Stringstatic final Stringprotected booleanFields inherited from class org.openforis.collect.designer.form.FormObject
VERSION_EMPTY_SELECTION -
Method Summary
Modifier and TypeMethodDescriptionintintgetName()protected UIOptionsgetUIOptions(NodeDefinition nodeDefn) getWidth()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisKey()booleanbooleanbooleanbooleanbooleanbooleanvoidstatic NodeDefinitionFormObject<? extends NodeDefinition> newInstance(EntityDefinition parentDefn, NodeType nodeType, AttributeType attributeType) static AttributeDefinitionFormObject<?> newInstance(EntityDefinition parentDefn, AttributeType attributeType) protected voidreset()voidvoidsetAbbreviatedLabel(String abbreviatedLabel) voidsetAutoGenerateMinItems(boolean autoGenerateMinItems) voidsetBackgroundColor(String backgroundColor) voidsetBackgroundTransparency(Integer backgroundTransparency) voidsetCalculated(boolean calculated) voidsetCalculatedOnlyOneTime(boolean calculatedOnlyOneTime) voidsetColumn(int column) voidsetColumnSpan(int columnSpan) voidsetDescription(String description) voidsetFromCollectEarthCSV(boolean fromCollectEarthCSV) voidsetHandheldPromptLabel(String handheldPromptLabel) voidsetHeadingLabel(String headingLabel) voidsetHideKeyInCollectEarthRecordList(boolean hideKeyInCollectEarthRecordList) voidsetHideWhenNotRelevant(boolean hideWhenNotRelevant) voidsetIncludedInCollectEarthHeader(boolean showReadOnlyFieldInCollectEarth) voidsetIncludeInDataExport(boolean includeInDataExport) voidsetInstanceLabel(String instanceLabel) voidsetInterviewPromptLabel(String interviewPromptLabel) voidsetKey(boolean key) voidsetLabelOrientation(String labelOrientation) voidsetLabelWidth(Integer labelWidth) voidsetMaxCountExpression(String expression) voidsetMeasurement(boolean measurement) voidsetMinCountExpression(String expression) voidsetMultiple(boolean multiple) voidvoidsetNumberLabel(String numberLabel) voidsetPaperPromptLabel(String paperPromptLabel) voidsetParentDefinition(EntityDefinition parentDefinition) voidsetPcPromptLabel(String pcPromptLabel) voidsetQualifier(boolean qualifier) voidsetRelevanceType(String relevanceType) voidsetRelevantExpression(String relevantExpression) voidsetReportingLabel(String reportingLabel) voidsetRequiredWhenExpression(String requiredWhenExpression) voidsetRequirenessType(String requirenessType) voidsetShowInSummary(boolean showInSummary) voidsetShowInUI(boolean showInUI) voidsetShowReadOnlyFieldInCollectEarth(boolean showReadOnlyFieldInCollectEarth) voidsetTabName(String tabName) voidMethods inherited from class org.openforis.collect.designer.form.VersionableItemFormObject
getDeprecatedVersionId, getSinceVersionId, setDeprecatedVersionId, setSinceVersionIdMethods inherited from class org.openforis.collect.designer.form.FormObject
getSource
-
Field Details
-
MULTIPLE_FIELD
- See Also:
-
REQUIRED_FIELD
- See Also:
-
REQUIRENESS_FIELD
- See Also:
-
key
protected boolean key -
measurement
protected boolean measurement -
qualifier
protected boolean qualifier -
showInSummary
protected boolean showInSummary
-
-
Method Details
-
newInstance
public static NodeDefinitionFormObject<? extends NodeDefinition> newInstance(EntityDefinition parentDefn, NodeType nodeType, AttributeType attributeType) -
newInstance
public static AttributeDefinitionFormObject<?> newInstance(EntityDefinition parentDefn, AttributeType attributeType) -
loadFrom
- Overrides:
loadFromin classVersionableItemFormObject<T extends NodeDefinition>
-
saveTo
- Overrides:
saveToin classVersionableItemFormObject<T extends NodeDefinition>
-
reset
protected void reset()- Overrides:
resetin classVersionableItemFormObject<T extends NodeDefinition>
-
getUIOptions
-
setParentDefinition
-
getName
-
setName
-
isKey
public boolean isKey() -
setKey
public void setKey(boolean key) -
isCalculated
public boolean isCalculated() -
setCalculated
public void setCalculated(boolean calculated) -
isQualifier
public boolean isQualifier() -
setQualifier
public void setQualifier(boolean qualifier) -
isShowInSummary
public boolean isShowInSummary() -
setShowInSummary
public void setShowInSummary(boolean showInSummary) -
isIncludeInDataExport
public boolean isIncludeInDataExport() -
setIncludeInDataExport
public void setIncludeInDataExport(boolean includeInDataExport) -
isShowInUI
public boolean isShowInUI() -
setShowInUI
public void setShowInUI(boolean showInUI) -
isCalculatedOnlyOneTime
public boolean isCalculatedOnlyOneTime() -
setCalculatedOnlyOneTime
public void setCalculatedOnlyOneTime(boolean calculatedOnlyOneTime) -
getHeadingLabel
-
setHeadingLabel
-
getInstanceLabel
-
setInstanceLabel
-
getNumberLabel
-
setNumberLabel
-
getAbbreviatedLabel
-
setAbbreviatedLabel
-
getReportingLabel
-
setReportingLabel
-
getDescription
-
setDescription
-
isMultiple
public boolean isMultiple() -
setMultiple
public void setMultiple(boolean multiple) -
getInterviewPromptLabel
-
setInterviewPromptLabel
-
getPaperPromptLabel
-
setPaperPromptLabel
-
getHandheldPromptLabel
-
setHandheldPromptLabel
-
getPcPromptLabel
-
setPcPromptLabel
-
getRequirenessType
-
setRequirenessType
-
getRequiredWhenExpression
-
setRequiredWhenExpression
-
getRelevanceType
-
setRelevanceType
-
getRelevantExpression
-
setRelevantExpression
-
isHideWhenNotRelevant
public boolean isHideWhenNotRelevant() -
setHideWhenNotRelevant
public void setHideWhenNotRelevant(boolean hideWhenNotRelevant) -
getMinCountExpression
-
setMinCountExpression
-
getMaxCountExpression
-
setMaxCountExpression
-
isAutoGenerateMinItems
public boolean isAutoGenerateMinItems() -
setAutoGenerateMinItems
public void setAutoGenerateMinItems(boolean autoGenerateMinItems) -
getTabName
-
setTabName
-
getColumn
public int getColumn() -
setColumn
public void setColumn(int column) -
getColumnSpan
public int getColumnSpan() -
setColumnSpan
public void setColumnSpan(int columnSpan) -
getWidth
-
setWidth
-
getLabelWidth
-
setLabelWidth
-
getLabelOrientation
-
setLabelOrientation
-
isFromCollectEarthCSV
public boolean isFromCollectEarthCSV() -
setFromCollectEarthCSV
public void setFromCollectEarthCSV(boolean fromCollectEarthCSV) -
isIncludedInCollectEarthHeader
public boolean isIncludedInCollectEarthHeader() -
setIncludedInCollectEarthHeader
public void setIncludedInCollectEarthHeader(boolean showReadOnlyFieldInCollectEarth) -
isShowReadOnlyFieldInCollectEarth
public boolean isShowReadOnlyFieldInCollectEarth() -
setShowReadOnlyFieldInCollectEarth
public void setShowReadOnlyFieldInCollectEarth(boolean showReadOnlyFieldInCollectEarth) -
isHideKeyInCollectEarthRecordList
public boolean isHideKeyInCollectEarthRecordList() -
setHideKeyInCollectEarthRecordList
public void setHideKeyInCollectEarthRecordList(boolean hideKeyInCollectEarthRecordList) -
getDefaultInstanceLabel
-
getDefaultHeadingLabel
-
getDefaultDescription
-
isMeasurement
public boolean isMeasurement() -
setMeasurement
public void setMeasurement(boolean measurement) -
getBackgroundTransparency
-
setBackgroundTransparency
-
getBackgroundColor
-
setBackgroundColor
-