com.esri.aims.mtier.model.map.layer.renderer
Class Exact

java.lang.Object
  extended by com.esri.aims.mtier.model.map.layer.renderer.ValueMap
      extended by com.esri.aims.mtier.model.map.layer.renderer.Exact
All Implemented Interfaces:
Serializable

public class Exact
extends ValueMap

Contains an assigned Symbol, and is used with ValueMapRenderer and ValueMapLabelRenderer for matching exact values within a specified field in the database.

See Also:
Serialized Form

Constructor Summary
Exact()
           
 
Method Summary
 String getMethod()
          Returns the method associated with the Exact object.
 String getType()
          Returns the name string defining the type of Renderer.
 String getValue()
          Returns the value parameter associated with this Exact object.
 void setMethod(String method)
          Sets the given method for either the ValueMapRenderer or ValueMapLabelRenderer objects.
 void setValue(String value)
          Sets the given value to the ValueMapRenderer or ValueMapLabelRenderer object.
 
Methods inherited from class com.esri.aims.mtier.model.map.layer.renderer.ValueMap
getLabel, getSymbol, setLabel, setSymbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exact

public Exact()
Method Detail

getType

public String getType()
Returns the name string defining the type of Renderer.

Specified by:
getType in class ValueMap

setMethod

public void setMethod(String method)
Sets the given method for either the ValueMapRenderer or ValueMapLabelRenderer objects. Method refers to the way a value in a data field is compared to the exact value. Use isExact for an exact match. Use isContained to search for the value anywhere in a string. Example:
exact.setMethod("IsExact");

Parameters:
method - the method value.
See Also:
getMethod()

getMethod

public String getMethod()
Returns the method associated with the Exact object. Method refers to the way a value in a data field is compared to the exact value. Example:
String method = exact.getMethod();

Returns:
the method value as string
See Also:
setMethod(java.lang.String)

setValue

public void setValue(String value)
Sets the given value to the ValueMapRenderer or ValueMapLabelRenderer object. Value is used for matching records in a selected field. Example:
exact.setValue("Carbon");

Parameters:
value - the value paramater as string
See Also:
getValue()

getValue

public String getValue()
Returns the value parameter associated with this Exact object. Value is used for matching records in a selected field. Example:
String value = exact.getValue();

Returns:
the value paramater.
See Also:
setValue(java.lang.String)