Class CodeAttributeDefView
- java.lang.Object
-
- org.openforis.collect.metamodel.view.SurveyObjectView
-
- org.openforis.collect.metamodel.view.NodeDefView
-
- org.openforis.collect.metamodel.view.AttributeDefView
-
- org.openforis.collect.metamodel.view.CodeAttributeDefView
-
public class CodeAttributeDefView extends AttributeDefView
-
-
Field Summary
-
Fields inherited from class org.openforis.collect.metamodel.view.SurveyObjectView
id
-
-
Constructor Summary
Constructors Constructor Description CodeAttributeDefView(int id, String name, String label, AttributeType type, List<String> fieldNames, boolean key, boolean multiple)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCodeListId()UIOptions.OrientationgetItemsOrientation()UIOptions.CodeAttributeLayoutTypegetLayout()IntegergetParentCodeAttributeDefinitionId()booleanisEnumerator()booleanisHasQualifiableItems()booleanisShowCode()voidsetCodeListId(int codeListId)voidsetEnumerator(boolean enumerator)voidsetHasQualifiableItems(boolean hasQualifiableItems)voidsetItemsOrientation(UIOptions.Orientation itemsOrientation)voidsetLayout(UIOptions.CodeAttributeLayoutType layout)voidsetParentCodeAttributeDefinitionId(Integer parentCodeAttributeDefinitionId)voidsetShowCode(boolean showCode)-
Methods inherited from class org.openforis.collect.metamodel.view.AttributeDefView
getAttributeType, getFieldLabels, getFieldNames, getVisibilityByField, isCalculated, isHidden, isQualifier, isShowInRecordSummaryList, setCalculated, setFieldLabels, setHidden, setQualifier, setShowInRecordSummaryList, setVisibilityByField
-
Methods inherited from class org.openforis.collect.metamodel.view.NodeDefView
getDeprecatedVersionId, getDescription, getHeadingLabel, getLabel, getLabelWidth, getName, getNumberLabel, getSinceVersionId, getType, getWidth, isAlwaysRelevant, isHideWhenNotRelevant, isKey, isMultiple, setAlwaysRelevant, setDeprecatedVersionId, setDescription, setHeadingLabel, setHideWhenNotRelevant, setLabelWidth, setNumberLabel, setSinceVersionId, setWidth
-
Methods inherited from class org.openforis.collect.metamodel.view.SurveyObjectView
getId, setId
-
-
-
-
Constructor Detail
-
CodeAttributeDefView
public CodeAttributeDefView(int id, String name, String label, AttributeType type, List<String> fieldNames, boolean key, boolean multiple)
-
-
Method Detail
-
getCodeListId
public int getCodeListId()
-
setCodeListId
public void setCodeListId(int codeListId)
-
getParentCodeAttributeDefinitionId
public Integer getParentCodeAttributeDefinitionId()
-
setParentCodeAttributeDefinitionId
public void setParentCodeAttributeDefinitionId(Integer parentCodeAttributeDefinitionId)
-
getItemsOrientation
public UIOptions.Orientation getItemsOrientation()
-
setItemsOrientation
public void setItemsOrientation(UIOptions.Orientation itemsOrientation)
-
isShowCode
public boolean isShowCode()
-
setShowCode
public void setShowCode(boolean showCode)
-
getLayout
public UIOptions.CodeAttributeLayoutType getLayout()
-
setLayout
public void setLayout(UIOptions.CodeAttributeLayoutType layout)
-
isEnumerator
public boolean isEnumerator()
-
setEnumerator
public void setEnumerator(boolean enumerator)
-
isHasQualifiableItems
public boolean isHasQualifiableItems()
-
setHasQualifiableItems
public void setHasQualifiableItems(boolean hasQualifiableItems)
-
-