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
_aliasName
protected WebObjectInfo
_objInfo
-
Constructor Summary
Constructors Constructor Description CartElementWebObjectInfo(WebObjectInfo data)
-
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 elementvoid
setSelected(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:
getValue
in interfaceCartElement
- Returns:
- String
-
getDisplayName
public java.lang.String getDisplayName()
Get display name to be used in HTML field.- Specified by:
getDisplayName
in interfaceCartElement
- Returns:
- String
-
isSelected
public boolean isSelected()
Indicates whether given Cart element is selected or not.- Specified by:
isSelected
in 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:
setSelected
in 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:
equals
in classjava.lang.Object
- Parameters:
elemToCompare
- Object instance to compare with.- Returns:
- true if similar objects.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-