Class CartElementAttribute

  • All Implemented Interfaces:
    CartElement

    public class CartElementAttribute
    extends java.lang.Object
    implements CartElement

    Title: CartElementAttribute.

    Description:

    Copyright: Copyright (c) 2002

    Company: Microstrategy, Inc.

    Since:
    MicroStrategy Web 8.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      CartElementAttribute​(java.lang.String data)
      Class constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDisplayName()
      Get display name to be used in HTML field.
      java.lang.String getValue()
      Gets formatted text for value field.
      boolean isSelected()
      Indicates whether given Cart element is selected or not.
      void setSelected​(boolean flag)
      Define if the element is selected or not
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CartElementAttribute

        public CartElementAttribute​(java.lang.String data)
        Class constructor
        Parameters:
        data - String value with the value of the cart.
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
        Description copied from interface: CartElement
        Get display name to be used in HTML field.
        Specified by:
        getDisplayName in interface CartElement
        Returns:
        String value with the display name for the element attribute
      • getValue

        public java.lang.String getValue()
        Description copied from interface: CartElement
        Gets formatted text for value field.
        Specified by:
        getValue in interface CartElement
        Returns:
        String value for the element attribute
      • isSelected

        public boolean isSelected()
        Description copied from interface: CartElement
        Indicates whether given Cart element is selected or not.
        Specified by:
        isSelected in interface CartElement
        Returns:
        boolean value indicating if the element is selected or not. By default returns False
      • setSelected

        public void setSelected​(boolean flag)
        Define if the element is selected or not
        Specified by:
        setSelected in interface CartElement
        Parameters:
        flag - boolean value indicating if the element is selected or not.