Class UiBanner

java.lang.Object
swiss.trustbroker.saml.dto.UiBanner
All Implemented Interfaces:
Serializable

public class UiBanner extends Object implements Serializable
Banner for HRD.
Since:
1.9.0
See Also:
  • Constructor Details

    • UiBanner

      public UiBanner()
    • UiBanner

      public UiBanner(String name, String mainImage, List<String> secondaryImages, boolean collapseParagraphs, Integer order)
      Creates a new UiBanner instance.
      Parameters:
      name - Name of the banner referencing configuration.
      mainImage - Main image of banner.
      secondaryImages - Secondary images of banner.
      collapseParagraphs - True if paragraphs of banner are shown collapsed on a small screen.
      order - Order of the banner.
  • Method Details

    • builder

      public static UiBanner.UiBannerBuilder builder()
    • getName

      public String getName()
      Name of the banner referencing configuration.
    • getMainImage

      public String getMainImage()
      Main image of banner.
    • getSecondaryImages

      public List<String> getSecondaryImages()
      Secondary images of banner.
    • isCollapseParagraphs

      public boolean isCollapseParagraphs()
      True if paragraphs of banner are shown collapsed on a small screen.
    • getOrder

      public Integer getOrder()
      Order of the banner.
    • setName

      public void setName(String name)
      Name of the banner referencing configuration.
    • setMainImage

      public void setMainImage(String mainImage)
      Main image of banner.
    • setSecondaryImages

      public void setSecondaryImages(List<String> secondaryImages)
      Secondary images of banner.
    • setCollapseParagraphs

      public void setCollapseParagraphs(boolean collapseParagraphs)
      True if paragraphs of banner are shown collapsed on a small screen.
    • setOrder

      public void setOrder(Integer order)
      Order of the banner.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object