Class AbstractGomFilterEntry

java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomFilterEntry
All Implemented Interfaces:
GomCheckable, GomElement, GomFilterEntry, Serializable
Direct Known Subclasses:
GomFilterAllowEntry, GomFilterHideEntry

@NonExtendable public abstract class AbstractGomFilterEntry extends Object implements GomFilterEntry, GomCheckable
Abstract base class for filter entries
Since:
4.2.9
See Also:
  • Constructor Details

    • AbstractGomFilterEntry

      public AbstractGomFilterEntry()
  • Method Details

    • setGomElementTag

      public final void setGomElementTag(String name)
      Description copied from interface: GomElement
      Sets the tag name, the instance gets produced for.
      Specified by:
      setGomElementTag in interface GomElement
      Parameters:
      name - The name of the tag.
    • getGomElementTag

      public String getGomElementTag()
      Description copied from interface: GomElement
      Get the tag name, the instance was produced for.
      Specified by:
      getGomElementTag in interface GomElement
      Returns:
      The name of the tag.
    • getIncludeConfiguration

      public GomIncludeConfiguration getIncludeConfiguration()
      Description copied from interface: GomElement
      Get the configuration, if this is an included element.
      Specified by:
      getIncludeConfiguration in interface GomElement
      Returns:
      The configuration for including the element.
    • setIncludeConfiguration

      public void setIncludeConfiguration(GomIncludeConfiguration configuration)
      Description copied from interface: GomElement
      Set the configuration for an included element.
      Specified by:
      setIncludeConfiguration in interface GomElement
      Parameters:
      configuration - The configuration to set.
    • hasRepresentation

      public boolean hasRepresentation()
      Description copied from interface: GomElement
      Indicates, that the element has a representation to be displayed in a form.
      A representation usually corresponds to a registered editor component.
      Specified by:
      hasRepresentation in interface GomElement
      Returns:
      true, if a representation is available.
    • verify

      public void verify() throws IllegalStateException
      Description copied from interface: GomCheckable
      Verify the element to be fulfill its syntactic constraints.
      Specified by:
      verify in interface GomCheckable
      Throws:
      IllegalStateException - If the element is not correctly set up.
    • validate

      public void validate(GomCheckable.Context context) throws GomValidationError
      Description copied from interface: GomCheckable
      Validate the element against the given context.
      Specified by:
      validate in interface GomCheckable
      Parameters:
      context - The context to validate for, must not be null.
      Throws:
      GomValidationError - If the element is not plausible wrt. its context.