test_class.declarator: readOnlyAppearance
test_class.modifier: private
test_class.original_string: private Appearance<String> readOnlyAppearance;
test_class.type: Appearance<String>
test_class.var_name: readOnlyAppearance
test_class.declarator: editingAppearance
test_class.modifier: private
test_class.original_string: private Appearance<String> editingAppearance;
test_class.type: Appearance<String>
test_class.var_name: editingAppearance
test_class.file: ballroom/src/test/java/org/jboss/hal/ballroom/form/AbstractFormItemTest.java
test_class.identifier: AbstractFormItemTest
test_case.body: @Test
      public void requiresValidation() {
          AbstractFormItem<String> formItem = formItem(false);
          formItem.setUndefined(false);
          formItem.setRequired(true);
          assertTrue(formItem.requiresValidation());
  
          formItem = formItem(false);
          formItem.setUndefined(true);
          assertFalse(formItem.requiresValidation());
  
          formItem = formItem(false);
          formItem.setUndefined(false);
          formItem.setModified(true);
          assertFalse(formItem.requiresValidation());
  
          formItem = formItem(false);
          formItem.setUndefined(false);
          formItem.setModified(true);
          formItem.addValidationHandler(value -> ValidationResult.OK);
          assertTrue(formItem.requiresValidation());
      }
test_case.class_method_signature: AbstractFormItemTest.requiresValidation()
test_case.full_signature: @Test public void requiresValidation()
test_case.identifier: requiresValidation
test_case.invocations: formItem setUndefined setRequired assertTrue requiresValidation formItem setUndefined assertFalse requiresValidation formItem setUndefined setModified assertFalse requiresValidation formItem setUndefined setModified addValidationHandler assertTrue requiresValidation
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void requiresValidation()
focal_class.declarator: name
focal_class.modifier: private
focal_class.original_string: private String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: label
focal_class.modifier: private final
focal_class.original_string: private final String label;
focal_class.type: String
focal_class.var_name: label
focal_class.declarator: hint
focal_class.modifier: private final
focal_class.original_string: private final String hint;
focal_class.type: String
focal_class.var_name: hint
focal_class.declarator: value
focal_class.modifier: private
focal_class.original_string: private T value;
focal_class.type: T
focal_class.var_name: value
focal_class.declarator: defaultValue
focal_class.modifier: private
focal_class.original_string: private T defaultValue;
focal_class.type: T
focal_class.var_name: defaultValue
focal_class.declarator: expressionValue
focal_class.modifier: private
focal_class.original_string: private String expressionValue;
focal_class.type: String
focal_class.var_name: expressionValue
focal_class.declarator: required
focal_class.modifier: private
focal_class.original_string: private boolean required;
focal_class.type: boolean
focal_class.var_name: required
focal_class.declarator: modified
focal_class.modifier: private
focal_class.original_string: private boolean modified;
focal_class.type: boolean
focal_class.var_name: modified
focal_class.declarator: undefined
focal_class.modifier: private
focal_class.original_string: private boolean undefined;
focal_class.type: boolean
focal_class.var_name: undefined
focal_class.declarator: restricted
focal_class.modifier: private
focal_class.original_string: private boolean restricted;
focal_class.type: boolean
focal_class.var_name: restricted
focal_class.declarator: enabled
focal_class.modifier: private
focal_class.original_string: private boolean enabled;
focal_class.type: boolean
focal_class.var_name: enabled
focal_class.declarator: expressionAllowed
focal_class.modifier: private
focal_class.original_string: private boolean expressionAllowed;
focal_class.type: boolean
focal_class.var_name: expressionAllowed
focal_class.declarator: deprecation
focal_class.modifier: private
focal_class.original_string: private Deprecation deprecation;
focal_class.type: Deprecation
focal_class.var_name: deprecation
focal_class.declarator: form
focal_class.modifier: private
focal_class.original_string: private Form form;
focal_class.type: Form
focal_class.var_name: form
focal_class.declarator: suggestHandler
focal_class.modifier: private
focal_class.original_string: private SuggestHandler suggestHandler;
focal_class.type: SuggestHandler
focal_class.var_name: suggestHandler
focal_class.declarator: eventBus
focal_class.modifier: private final
focal_class.original_string: private final EventBus eventBus;
focal_class.type: EventBus
focal_class.var_name: eventBus
focal_class.declarator: appearances
focal_class.modifier: private final
focal_class.original_string: private final Map<State, Appearance<T>> appearances;
focal_class.type: Map<State, Appearance<T>>
focal_class.var_name: appearances
focal_class.declarator: validationHandlers
focal_class.modifier: private final
focal_class.original_string: private final List<FormItemValidation<T>> validationHandlers;
focal_class.type: List<FormItemValidation<T>>
focal_class.var_name: validationHandlers
focal_class.declarator: resolveExpressionHandlers
focal_class.modifier: private final
focal_class.original_string: private final List<ResolveExpressionHandler> resolveExpressionHandlers;
focal_class.type: List<ResolveExpressionHandler>
focal_class.var_name: resolveExpressionHandlers
focal_class.declarator: handlers
focal_class.modifier: private final
focal_class.original_string: private final List<com.google.web.bindery.event.shared.HandlerRegistration> handlers;
focal_class.type: List<com.google.web.bindery.event.shared.HandlerRegistration>
focal_class.var_name: handlers
focal_class.file: ballroom/src/main/java/org/jboss/hal/ballroom/form/AbstractFormItem.java
focal_class.identifier: AbstractFormItem
focal_class.interfaces: implements FormItem<T>
focal_class.class_method_signature: AbstractFormItem.AbstractFormItem(String name, String label, String hint)
focal_class.full_signature:   AbstractFormItem(String name, String label, String hint)
focal_class.identifier: AbstractFormItem
focal_class.parameters: (String name, String label, String hint)
focal_class.signature:  AbstractFormItem(String name, String label, String hint)
focal_class.class_method_signature: AbstractFormItem.addAppearance(State state, Appearance<T> appearance)
focal_class.full_signature: protected void addAppearance(State state, Appearance<T> appearance)
focal_class.identifier: addAppearance
focal_class.modifiers: protected
focal_class.parameters: (State state, Appearance<T> appearance)
focal_class.return: void
focal_class.signature: void addAppearance(State state, Appearance<T> appearance)
focal_class.class_method_signature: AbstractFormItem.remember(com.google.web.bindery.event.shared.HandlerRegistration handler)
focal_class.full_signature: protected void remember(com.google.web.bindery.event.shared.HandlerRegistration handler)
focal_class.identifier: remember
focal_class.modifiers: protected
focal_class.parameters: (com.google.web.bindery.event.shared.HandlerRegistration handler)
focal_class.return: void
focal_class.signature: void remember(com.google.web.bindery.event.shared.HandlerRegistration handler)
focal_class.class_method_signature: AbstractFormItem.element(State state)
focal_class.full_signature: @Override public HTMLElement element(State state)
focal_class.identifier: element
focal_class.modifiers: @Override public
focal_class.parameters: (State state)
focal_class.return: HTMLElement
focal_class.signature: HTMLElement element(State state)
focal_class.class_method_signature: AbstractFormItem.attach()
focal_class.full_signature: @Override public void attach()
focal_class.identifier: attach
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void attach()
focal_class.class_method_signature: AbstractFormItem.detach()
focal_class.full_signature: @Override public void detach()
focal_class.identifier: detach
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void detach()
focal_class.class_method_signature: AbstractFormItem.apply(Decoration decoration)
focal_class.full_signature: private void apply(Decoration decoration)
focal_class.identifier: apply
focal_class.modifiers: private
focal_class.parameters: (Decoration decoration)
focal_class.return: void
focal_class.signature: void apply(Decoration decoration)
focal_class.class_method_signature: AbstractFormItem.apply(Decoration decoration, C context)
focal_class.full_signature: private void apply(Decoration decoration, C context)
focal_class.identifier: apply
focal_class.modifiers: private
focal_class.parameters: (Decoration decoration, C context)
focal_class.return: void
focal_class.signature: void apply(Decoration decoration, C context)
focal_class.class_method_signature: AbstractFormItem.unapply(Decoration decoration)
focal_class.full_signature: private void unapply(Decoration decoration)
focal_class.identifier: unapply
focal_class.modifiers: private
focal_class.parameters: (Decoration decoration)
focal_class.return: void
focal_class.signature: void unapply(Decoration decoration)
focal_class.class_method_signature: AbstractFormItem.appearance(State state)
focal_class.full_signature:  Appearance<T> appearance(State state)
focal_class.identifier: appearance
focal_class.parameters: (State state)
focal_class.return: Appearance<T>
focal_class.signature: Appearance<T> appearance(State state)
focal_class.class_method_signature: AbstractFormItem.getId(State state)
focal_class.full_signature: @Override public String getId(State state)
focal_class.identifier: getId
focal_class.modifiers: @Override public
focal_class.parameters: (State state)
focal_class.return: String
focal_class.signature: String getId(State state)
focal_class.class_method_signature: AbstractFormItem.setId(String id)
focal_class.full_signature: @Override public void setId(String id)
focal_class.identifier: setId
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: void
focal_class.signature: void setId(String id)
focal_class.class_method_signature: AbstractFormItem.getValue()
focal_class.full_signature: @Override public T getValue()
focal_class.identifier: getValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: T
focal_class.signature: T getValue()
focal_class.class_method_signature: AbstractFormItem.setValue(T value)
focal_class.full_signature: @Override public void setValue(T value)
focal_class.identifier: setValue
focal_class.modifiers: @Override public
focal_class.parameters: (T value)
focal_class.return: void
focal_class.signature: void setValue(T value)
focal_class.class_method_signature: AbstractFormItem.setValue(T value, boolean fireEvent)
focal_class.full_signature: @Override public void setValue(T value, boolean fireEvent)
focal_class.identifier: setValue
focal_class.modifiers: @Override public
focal_class.parameters: (T value, boolean fireEvent)
focal_class.return: void
focal_class.signature: void setValue(T value, boolean fireEvent)
focal_class.class_method_signature: AbstractFormItem.modifyValue(T newValue)
focal_class.full_signature: protected void modifyValue(T newValue)
focal_class.identifier: modifyValue
focal_class.modifiers: protected
focal_class.parameters: (T newValue)
focal_class.return: void
focal_class.signature: void modifyValue(T newValue)
focal_class.class_method_signature: AbstractFormItem.clearValue()
focal_class.full_signature: @Override public void clearValue()
focal_class.identifier: clearValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearValue()
focal_class.class_method_signature: AbstractFormItem.assignDefaultValue(T defaultValue)
focal_class.full_signature: @Override public void assignDefaultValue(T defaultValue)
focal_class.identifier: assignDefaultValue
focal_class.modifiers: @Override public
focal_class.parameters: (T defaultValue)
focal_class.return: void
focal_class.signature: void assignDefaultValue(T defaultValue)
focal_class.class_method_signature: AbstractFormItem.markDefaultValue(boolean on)
focal_class.full_signature: private void markDefaultValue(boolean on)
focal_class.identifier: markDefaultValue
focal_class.modifiers: private
focal_class.parameters: (boolean on)
focal_class.return: void
focal_class.signature: void markDefaultValue(boolean on)
focal_class.class_method_signature: AbstractFormItem.mask()
focal_class.full_signature: @Override public void mask()
focal_class.identifier: mask
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void mask()
focal_class.class_method_signature: AbstractFormItem.unmask()
focal_class.full_signature: @Override public void unmask()
focal_class.identifier: unmask
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void unmask()
focal_class.class_method_signature: AbstractFormItem.signalChange(T value)
focal_class.full_signature: private void signalChange(T value)
focal_class.identifier: signalChange
focal_class.modifiers: private
focal_class.parameters: (T value)
focal_class.return: void
focal_class.signature: void signalChange(T value)
focal_class.class_method_signature: AbstractFormItem.fireEvent(GwtEvent<?> gwtEvent)
focal_class.full_signature: @Override public void fireEvent(GwtEvent<?> gwtEvent)
focal_class.identifier: fireEvent
focal_class.modifiers: @Override public
focal_class.parameters: (GwtEvent<?> gwtEvent)
focal_class.return: void
focal_class.signature: void fireEvent(GwtEvent<?> gwtEvent)
focal_class.class_method_signature: AbstractFormItem.addValueChangeHandler(ValueChangeHandler<T> valueChangeHandler)
focal_class.full_signature: @Override public HandlerRegistration addValueChangeHandler(ValueChangeHandler<T> valueChangeHandler)
focal_class.identifier: addValueChangeHandler
focal_class.modifiers: @Override public
focal_class.parameters: (ValueChangeHandler<T> valueChangeHandler)
focal_class.return: HandlerRegistration
focal_class.signature: HandlerRegistration addValueChangeHandler(ValueChangeHandler<T> valueChangeHandler)
focal_class.class_method_signature: AbstractFormItem.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: AbstractFormItem.setName(String name)
focal_class.full_signature: @Override public void setName(String name)
focal_class.identifier: setName
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: void
focal_class.signature: void setName(String name)
focal_class.class_method_signature: AbstractFormItem.defaultValidationHandlers()
focal_class.full_signature:  List<FormItemValidation<T>> defaultValidationHandlers()
focal_class.identifier: defaultValidationHandlers
focal_class.parameters: ()
focal_class.return: List<FormItemValidation<T>>
focal_class.signature: List<FormItemValidation<T>> defaultValidationHandlers()
focal_class.class_method_signature: AbstractFormItem.requiresValidation()
focal_class.full_signature: @SuppressWarnings({"SimplifiableIfStatement", "WeakerAccess"}) boolean requiresValidation()
focal_class.identifier: requiresValidation
focal_class.modifiers: @SuppressWarnings({"SimplifiableIfStatement", "WeakerAccess"})
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean requiresValidation()
focal_class.class_method_signature: AbstractFormItem.addValidationHandler(FormItemValidation<T> validationHandler)
focal_class.full_signature: @Override public void addValidationHandler(FormItemValidation<T> validationHandler)
focal_class.identifier: addValidationHandler
focal_class.modifiers: @Override public
focal_class.parameters: (FormItemValidation<T> validationHandler)
focal_class.return: void
focal_class.signature: void addValidationHandler(FormItemValidation<T> validationHandler)
focal_class.class_method_signature: AbstractFormItem.removeValidationHandler(FormItemValidation<T> validationHandler)
focal_class.full_signature:  void removeValidationHandler(FormItemValidation<T> validationHandler)
focal_class.identifier: removeValidationHandler
focal_class.parameters: (FormItemValidation<T> validationHandler)
focal_class.return: void
focal_class.signature: void removeValidationHandler(FormItemValidation<T> validationHandler)
focal_class.class_method_signature: AbstractFormItem.validate()
focal_class.full_signature: @Override public boolean validate()
focal_class.identifier: validate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean validate()
focal_class.class_method_signature: AbstractFormItem.clearError()
focal_class.full_signature: @Override public void clearError()
focal_class.identifier: clearError
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearError()
focal_class.class_method_signature: AbstractFormItem.showError(String message)
focal_class.full_signature: @Override public void showError(String message)
focal_class.identifier: showError
focal_class.modifiers: @Override public
focal_class.parameters: (String message)
focal_class.return: void
focal_class.signature: void showError(String message)
focal_class.class_method_signature: AbstractFormItem.isExpressionAllowed()
focal_class.full_signature: @Override public boolean isExpressionAllowed()
focal_class.identifier: isExpressionAllowed
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isExpressionAllowed()
focal_class.class_method_signature: AbstractFormItem.setExpressionAllowed(boolean expressionAllowed)
focal_class.full_signature: @Override public void setExpressionAllowed(boolean expressionAllowed)
focal_class.identifier: setExpressionAllowed
focal_class.modifiers: @Override public
focal_class.parameters: (boolean expressionAllowed)
focal_class.return: void
focal_class.signature: void setExpressionAllowed(boolean expressionAllowed)
focal_class.class_method_signature: AbstractFormItem.isExpressionValue()
focal_class.full_signature: @Override public boolean isExpressionValue()
focal_class.identifier: isExpressionValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isExpressionValue()
focal_class.class_method_signature: AbstractFormItem.getExpressionValue()
focal_class.full_signature: @Override public String getExpressionValue()
focal_class.identifier: getExpressionValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getExpressionValue()
focal_class.class_method_signature: AbstractFormItem.setExpressionValue(String expressionValue)
focal_class.full_signature: @Override public void setExpressionValue(String expressionValue)
focal_class.identifier: setExpressionValue
focal_class.modifiers: @Override public
focal_class.parameters: (String expressionValue)
focal_class.return: void
focal_class.signature: void setExpressionValue(String expressionValue)
focal_class.class_method_signature: AbstractFormItem.modifyExpressionValue(String newExpressionValue)
focal_class.full_signature: protected void modifyExpressionValue(String newExpressionValue)
focal_class.identifier: modifyExpressionValue
focal_class.modifiers: protected
focal_class.parameters: (String newExpressionValue)
focal_class.return: void
focal_class.signature: void modifyExpressionValue(String newExpressionValue)
focal_class.class_method_signature: AbstractFormItem.addResolveExpressionHandler(ResolveExpressionHandler handler)
focal_class.full_signature: @Override public void addResolveExpressionHandler(ResolveExpressionHandler handler)
focal_class.identifier: addResolveExpressionHandler
focal_class.modifiers: @Override public
focal_class.parameters: (ResolveExpressionHandler handler)
focal_class.return: void
focal_class.signature: void addResolveExpressionHandler(ResolveExpressionHandler handler)
focal_class.class_method_signature: AbstractFormItem.toggleExpressionSupport(String expressionValue)
focal_class.full_signature:  void toggleExpressionSupport(String expressionValue)
focal_class.identifier: toggleExpressionSupport
focal_class.parameters: (String expressionValue)
focal_class.return: void
focal_class.signature: void toggleExpressionSupport(String expressionValue)
focal_class.class_method_signature: AbstractFormItem.applyExpressionValue(String expressionValue)
focal_class.full_signature:  void applyExpressionValue(String expressionValue)
focal_class.identifier: applyExpressionValue
focal_class.parameters: (String expressionValue)
focal_class.return: void
focal_class.signature: void applyExpressionValue(String expressionValue)
focal_class.class_method_signature: AbstractFormItem.hasExpressionScheme(String value)
focal_class.full_signature:  boolean hasExpressionScheme(String value)
focal_class.identifier: hasExpressionScheme
focal_class.parameters: (String value)
focal_class.return: boolean
focal_class.signature: boolean hasExpressionScheme(String value)
focal_class.class_method_signature: AbstractFormItem.isModal()
focal_class.full_signature:  boolean isModal()
focal_class.identifier: isModal
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isModal()
focal_class.class_method_signature: AbstractFormItem.registerSuggestHandler(SuggestHandler suggestHandler)
focal_class.full_signature: @Override public void registerSuggestHandler(SuggestHandler suggestHandler)
focal_class.identifier: registerSuggestHandler
focal_class.modifiers: @Override public
focal_class.parameters: (SuggestHandler suggestHandler)
focal_class.return: void
focal_class.signature: void registerSuggestHandler(SuggestHandler suggestHandler)
focal_class.class_method_signature: AbstractFormItem.onSuggest(String suggestion)
focal_class.full_signature: public void onSuggest(String suggestion)
focal_class.identifier: onSuggest
focal_class.modifiers: public
focal_class.parameters: (String suggestion)
focal_class.return: void
focal_class.signature: void onSuggest(String suggestion)
focal_class.class_method_signature: AbstractFormItem.isRestricted()
focal_class.full_signature: @Override public boolean isRestricted()
focal_class.identifier: isRestricted
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isRestricted()
focal_class.class_method_signature: AbstractFormItem.setRestricted(boolean restricted)
focal_class.full_signature: @Override public void setRestricted(boolean restricted)
focal_class.identifier: setRestricted
focal_class.modifiers: @Override public
focal_class.parameters: (boolean restricted)
focal_class.return: void
focal_class.signature: void setRestricted(boolean restricted)
focal_class.class_method_signature: AbstractFormItem.isEnabled()
focal_class.full_signature: @Override public boolean isEnabled()
focal_class.identifier: isEnabled
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEnabled()
focal_class.class_method_signature: AbstractFormItem.setEnabled(boolean enabled)
focal_class.full_signature: @Override public void setEnabled(boolean enabled)
focal_class.identifier: setEnabled
focal_class.modifiers: @Override public
focal_class.parameters: (boolean enabled)
focal_class.return: void
focal_class.signature: void setEnabled(boolean enabled)
focal_class.class_method_signature: AbstractFormItem.getTabIndex()
focal_class.full_signature: @Override public int getTabIndex()
focal_class.identifier: getTabIndex
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getTabIndex()
focal_class.class_method_signature: AbstractFormItem.setTabIndex(int index)
focal_class.full_signature: @Override public void setTabIndex(int index)
focal_class.identifier: setTabIndex
focal_class.modifiers: @Override public
focal_class.parameters: (int index)
focal_class.return: void
focal_class.signature: void setTabIndex(int index)
focal_class.class_method_signature: AbstractFormItem.setAccessKey(char accessKey)
focal_class.full_signature: @Override public void setAccessKey(char accessKey)
focal_class.identifier: setAccessKey
focal_class.modifiers: @Override public
focal_class.parameters: (char accessKey)
focal_class.return: void
focal_class.signature: void setAccessKey(char accessKey)
focal_class.class_method_signature: AbstractFormItem.setFocus(boolean focus)
focal_class.full_signature: @Override public void setFocus(boolean focus)
focal_class.identifier: setFocus
focal_class.modifiers: @Override public
focal_class.parameters: (boolean focus)
focal_class.return: void
focal_class.signature: void setFocus(boolean focus)
focal_class.class_method_signature: AbstractFormItem.getLabel()
focal_class.full_signature: @Override public String getLabel()
focal_class.identifier: getLabel
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLabel()
focal_class.class_method_signature: AbstractFormItem.setLabel(String label)
focal_class.full_signature: @Override public void setLabel(String label)
focal_class.identifier: setLabel
focal_class.modifiers: @Override public
focal_class.parameters: (String label)
focal_class.return: void
focal_class.signature: void setLabel(String label)
focal_class.class_method_signature: AbstractFormItem.isRequired()
focal_class.full_signature: @Override public boolean isRequired()
focal_class.identifier: isRequired
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isRequired()
focal_class.class_method_signature: AbstractFormItem.setRequired(boolean required)
focal_class.full_signature: @Override public void setRequired(boolean required)
focal_class.identifier: setRequired
focal_class.modifiers: @Override public
focal_class.parameters: (boolean required)
focal_class.return: void
focal_class.signature: void setRequired(boolean required)
focal_class.class_method_signature: AbstractFormItem.isModified()
focal_class.full_signature: @Override public final boolean isModified()
focal_class.identifier: isModified
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isModified()
focal_class.class_method_signature: AbstractFormItem.setModified(boolean modified)
focal_class.full_signature: @Override public void setModified(boolean modified)
focal_class.identifier: setModified
focal_class.modifiers: @Override public
focal_class.parameters: (boolean modified)
focal_class.return: void
focal_class.signature: void setModified(boolean modified)
focal_class.class_method_signature: AbstractFormItem.isUndefined()
focal_class.full_signature: @Override public final boolean isUndefined()
focal_class.identifier: isUndefined
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isUndefined()
focal_class.class_method_signature: AbstractFormItem.setUndefined(boolean undefined)
focal_class.full_signature: @Override public void setUndefined(boolean undefined)
focal_class.identifier: setUndefined
focal_class.modifiers: @Override public
focal_class.parameters: (boolean undefined)
focal_class.return: void
focal_class.signature: void setUndefined(boolean undefined)
focal_class.class_method_signature: AbstractFormItem.isDeprecated()
focal_class.full_signature: @Override public boolean isDeprecated()
focal_class.identifier: isDeprecated
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDeprecated()
focal_class.class_method_signature: AbstractFormItem.setDeprecated(Deprecation deprecation)
focal_class.full_signature: @Override public void setDeprecated(Deprecation deprecation)
focal_class.identifier: setDeprecated
focal_class.modifiers: @Override public
focal_class.parameters: (Deprecation deprecation)
focal_class.return: void
focal_class.signature: void setDeprecated(Deprecation deprecation)
focal_class.class_method_signature: AbstractFormItem.setForm(Form form)
focal_class.full_signature:  void setForm(Form form)
focal_class.identifier: setForm
focal_class.parameters: (Form form)
focal_class.return: void
focal_class.signature: void setForm(Form form)
focal_method.body: @SuppressWarnings({"SimplifiableIfStatement", "WeakerAccess"})
      boolean requiresValidation() {
          if (isRequired()) {
              return true;
          }
  
          if (!validationHandlers.isEmpty()) {
              // if there's a validation handler with ValidationRule == ALWAYS,
              // we need to validate for sure, otherwise we only need to validate
              // if the form item is modified
              if (validationHandlers.stream().anyMatch(vh -> vh.validateIf() == ALWAYS)) {
                  return true;
              } else {
                  // only validation handler with ValidationRule == IF_MODIFIED,
                  // return true if the form item is defined && modified
                  return !isUndefined() && isModified();
              }
          }
  
          // no validation handlers - no need to validate
          return false;
      }
focal_method.class_method_signature: AbstractFormItem.requiresValidation()
focal_method.full_signature: @SuppressWarnings({"SimplifiableIfStatement", "WeakerAccess"}) boolean requiresValidation()
focal_method.identifier: requiresValidation
focal_method.invocations: isRequired isEmpty anyMatch stream validateIf isUndefined isModified
focal_method.modifiers: @SuppressWarnings({"SimplifiableIfStatement", "WeakerAccess"})
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean requiresValidation()