Class GomInplaceLinkConfig

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

@NonExtendable public class GomInplaceLinkConfig extends AbstractGomElement implements GomCheckable
Container for old style inplace link configurations.
Since:
2.0
See Also:
  • Constructor Details

    • GomInplaceLinkConfig

      public GomInplaceLinkConfig()
  • 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.
    • getName

      public String getName()
      Name of the configuration
      Since:
      2.0
    • setName

      public void setName(String name)
      Sets the name of the configuration
      Since:
      2.0
    • getCms_Param

      @Deprecated(since="4.0") public GomGenericParam getCms_Param()
      Deprecated.
      since 4.0 - no replacement
      Dummy getter for parser. Use getParams(String...) instead.
      Returns:
      null.
      Since:
      2.0
    • setCms_Param

      public void setCms_Param(GomGenericParam param)
      Adds a generic parameter
      Since:
      4.0
    • getParams

      public List<GomGenericParam> getParams(String... names)
      Get all parameters matching one of the specified names. If no name is given, all parameters will be returned.
      Parameters:
      names - The name to fetch parameters for or null.
      Returns:
      The defined matching parameters.
      Since:
      4.0
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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.