Class Collateral


  • public class Collateral
    extends java.lang.Object
    A singleton piece of collateral in the collateral list.
    • Constructor Summary

      Constructors 
      Constructor Description
      Collateral()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.util.Optional<java.lang.String> getDescription()
      A free-form text description of the collateral (i.e.
      java.util.Optional<java.lang.String> getLink()
      The URL at which this collateral is located.
      int hashCode()  
      void setDescription​(java.lang.String description)
      A free-form text description of the collateral (i.e.
      void setLink​(java.lang.String link)
      The URL at which this collateral is located.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Collateral

        public Collateral()
    • Method Detail

      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
        A free-form text description of the collateral (i.e. "product brochure")
      • getLink

        public java.util.Optional<java.lang.String> getLink()
        The URL at which this collateral is located.
      • setDescription

        public void setDescription​(java.lang.String description)
        A free-form text description of the collateral (i.e. "product brochure")
      • setLink

        public void setLink​(java.lang.String link)
        The URL at which this collateral is located.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object