com.esri.adf.web.data.renderer
Class WebUniqueValueInfo

java.lang.Object
  extended by com.esri.adf.web.data.renderer.WebUniqueValueInfo
All Implemented Interfaces:
Serializable

public class WebUniqueValueInfo
extends Object
implements Serializable

WebUniqueValueInfo is a class that is used for expressing the mapping between a value and a WebSymbol that should be used for rendering.

See Also:
Serialized Form

Constructor Summary
WebUniqueValueInfo()
          Creates an empty instance of WebUniqueValueInfo.
WebUniqueValueInfo(String label, String description, String value, WebSymbol symbol)
          Creates an instance of WebUniqueValueInfo.
 
Method Summary
 String getDescription()
          Returns the description of the unique value info.
 String getLabel()
          Returns the label.
 WebSymbol getSymbol()
          Returns the symbol.
 String getValue()
          Returns the value.
 void setDescription(String description)
          Sets the description of the unique value info.
 void setLabel(String label)
          Returns the label.
 void setSymbol(WebSymbol symbol)
          Sets the symbol.
 void setValue(String value)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebUniqueValueInfo

public WebUniqueValueInfo()
Creates an empty instance of WebUniqueValueInfo.


WebUniqueValueInfo

public WebUniqueValueInfo(String label,
                          String description,
                          String value,
                          WebSymbol symbol)
Creates an instance of WebUniqueValueInfo.

Parameters:
label - the label of the unique value info that will used for displaying in TOC control
description - the description of the unique value info
value - the unique value
symbol - the symbol to be applied for the matching unique value info
Method Detail

setDescription

public void setDescription(String description)
Sets the description of the unique value info.

Parameters:
description - the description of the unique value info

getDescription

public String getDescription()
Returns the description of the unique value info.

Returns:
the description of the unique value info

setSymbol

public void setSymbol(WebSymbol symbol)
Sets the symbol.

Parameters:
symbol - the symbol

getSymbol

public WebSymbol getSymbol()
Returns the symbol.

Returns:
the symbol

setValue

public void setValue(String value)
Sets the value.

Parameters:
value - the value

getValue

public String getValue()
Returns the value.

Returns:
the value

setLabel

public void setLabel(String label)
Returns the label.

Parameters:
label - the label

getLabel

public String getLabel()
Returns the label.

Returns:
the label