Class DatasetDataAccessConfiguration

java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.content.access.DatasetDataAccessConfiguration
All Implemented Interfaces:
GomCheckable, GomElement, Serializable

@NonExtendable public class DatasetDataAccessConfiguration extends AbstractGomElement implements GomCheckable
GOM configuration object for dataset data access.
Since:
5.2.250501
See Also:
  • Constructor Details

    • DatasetDataAccessConfiguration

      public DatasetDataAccessConfiguration()
  • Method Details

    • getDefaultTag

      protected String getDefaultTag()
      Description copied from class: AbstractGomElement
      Return the default tag for a gom element.
      Specified by:
      getDefaultTag in class AbstractGomElement
      Returns:
      The elements default tag.
    • getTemplate

      @NotNull public @NotNull GomTableTemplateUid getTemplate()
      Returns the universal identifier of the editing template
      Returns:
      the identifier, never null
      Since:
      5.2.250501
    • setTemplate

      public void setTemplate(@NotNull @NotNull GomTableTemplateUid template)
      Sets the universal identifier of the editing template
      Parameters:
      template - the identifier of the template, must not be null
      Since:
      5.2.250501
    • hasQuery

      public boolean hasQuery()
      Indicates if a query is configured.
      Returns:
      true if a query is configured, false otherwise
      Since:
      5.2.250501
      See Also:
    • getQuery

      @NotNull public @NotNull GomQuery getQuery()
      Returns the query to be used for entry selection.
      Returns:
      the query, never null
      Since:
      5.2.250501
    • 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(@NotNull @NotNull 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.