Interface IPSHasLets

All Known Implementing Classes:
PSPattern, PSPhase, PSRule, PSSchema

public interface IPSHasLets
Base interface for all objects having PSLet elements contained
Author:
Philip Helger
  • Method Details

    • hasAnyLet

      boolean hasAnyLet()
      Returns:
      true if this object has at least on contained PSLet object.
    • getAllLets

      @Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsList<PSLet> getAllLets()
      Returns:
      A list of all contained PSLet elements. Never null.
    • getAllLetsAsMap

      @Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> getAllLetsAsMap()
      Returns:
      The content of all PSLet elements as an ordered Map from name to value. The order must match the declaration order! Never null.
    • addLet

      void addLet(@Nonnull PSLet aLet)
      Add a PSLet element.
      Parameters:
      aLet - The let element to be added. May not be null.