Package com.microstrategy.web.app.gui
Class CartElementWebObjectInfo
- java.lang.Object
-
- com.microstrategy.web.app.gui.CartElementWebObjectInfo
-
- All Implemented Interfaces:
CartElement
- Direct Known Subclasses:
CartElementRWDataField,CartElementWebAttributeForm
public class CartElementWebObjectInfo extends java.lang.Object implements CartElement
Title: CartElementWebObjectInfo.
Description:
Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
- Since:
- MicroStrategy Web 8.0.0
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String_aliasNameprotected WebObjectInfo_objInfo
-
Constructor Summary
Constructors Constructor Description CartElementWebObjectInfo(WebObjectInfo data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object elemToCompare)Indicates whether this CartElement is same object passed as parameter.java.lang.StringgetDisplayName()Get display name to be used in HTML field.WebObjectInfogetObjectInfo()Gets template unit object being wrapped.java.lang.StringgetValue()Gets formatted text for value field.inthashCode()booleanisSelected()Indicates whether given Cart element is selected or not.voidsetAlias(java.lang.String alias)Specifies the alias for the elementvoidsetSelected(boolean flag)Specifies whether this element has been selected.
-
-
-
Field Detail
-
_objInfo
protected WebObjectInfo _objInfo
-
_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:
getValuein interfaceCartElement- Returns:
- String
-
getDisplayName
public java.lang.String getDisplayName()
Get display name to be used in HTML field.- Specified by:
getDisplayNamein interfaceCartElement- Returns:
- String
-
isSelected
public boolean isSelected()
Indicates whether given Cart element is selected or not.- Specified by:
isSelectedin interfaceCartElement- 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:
setSelectedin interfaceCartElement- 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:
equalsin classjava.lang.Object- Parameters:
elemToCompare- Object instance to compare with.- Returns:
- true if similar objects.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-