Class CartElementWebObjectInfo

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object elemToCompare)
      Indicates whether this CartElement is same object passed as parameter.
      java.lang.String getDisplayName()
      Get display name to be used in HTML field.
      WebObjectInfo getObjectInfo()
      Gets template unit object being wrapped.
      java.lang.String getValue()
      Gets formatted text for value field.
      int hashCode()  
      boolean isSelected()
      Indicates whether given Cart element is selected or not.
      void setAlias​(java.lang.String alias)
      Specifies the alias for the element
      void setSelected​(boolean flag)
      Specifies whether this element has been selected.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _aliasName

        protected java.lang.String _aliasName
    • Constructor Detail

      • CartElementWebObjectInfo

        public CartElementWebObjectInfo​(WebObjectInfo data)
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Gets formatted text for value field.
        Specified by:
        getValue in interface CartElement
        Returns:
        String
      • getDisplayName

        public java.lang.String getDisplayName()
        Get display name to be used in HTML field.
        Specified by:
        getDisplayName in interface CartElement
        Returns:
        String
      • isSelected

        public boolean isSelected()
        Indicates whether given Cart element is selected or not.
        Specified by:
        isSelected in interface CartElement
        Returns:
        boolean value
      • setAlias

        public void setAlias​(java.lang.String alias)
        Specifies the alias for the element
        Parameters:
        alias - String value with the alias value
      • setSelected

        public void setSelected​(boolean flag)
        Specifies whether this element has been selected.
        Specified by:
        setSelected in interface CartElement
        Parameters:
        flag - boolean value
      • getObjectInfo

        public WebObjectInfo getObjectInfo()
        Gets template unit object being wrapped.
        Returns:
        Object
      • equals

        public boolean equals​(java.lang.Object elemToCompare)
        Indicates whether this CartElement is same object passed as parameter.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        elemToCompare - Object instance to compare with.
        Returns:
        true if similar objects.
      • hashCode

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