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

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

public class Range
extends ValueMap

Used with a ValueMapRenderer or ValueMapLabelRenderer object for matching a range of values within a specified field in a database. When a match occurs, the symbol is drawn as specified for each range.

See Also:
Serialized Form

Constructor Summary
Range()
           
 
Method Summary
 String getEquality()
          Returns the equality value associated with this Range object.
 String getLower()
          Returns the lower value associated with this Range object.
 String getType()
          Returns the object type as string.
 String getUpper()
          Returns the upper value of range set for this Range object.
 void setEquality(String equality)
          Defines the lower and upper bounds of each range.
 void setLower(String lower)
          Sets the lower value of range for the Range object.
 void setUpper(String upper)
          Sets the upper value of range for this Range 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

Range

public Range()
Method Detail

getType

public String getType()
Returns the object type as string.

Specified by:
getType in class ValueMap
Returns:
String

setLower

public void setLower(String lower)
Sets the lower value of range for the Range object. The value can be numeric, string, or a date type.

range.setLower("1:25000");

Parameters:
lower - the lower value.
See Also:
getLower()

getLower

public String getLower()
Returns the lower value associated with this Range object. Example: String lower = range.getLower();

Returns:
the lower value as a string
See Also:
setLower(java.lang.String)

setUpper

public void setUpper(String upper)
Sets the upper value of range for this Range object. The value can be numeric, string, or a date type. Example:
 range.setUpper("1:45000");
 

Parameters:
upper - the upper value.
See Also:
getUpper()

getUpper

public String getUpper()
Returns the upper value of range set for this Range object. Example:
 String upper = range.getUpper();
 

Returns:
String
See Also:
setUpper(java.lang.String)

setEquality

public void setEquality(String equality)
Defines the lower and upper bounds of each range. If "all" is used, then lower <= value <= upper. If "upper" is used, lower < value <= upper. If "lower" is used, lower <= value < upper. Example: range.setEquality("all");

Parameters:
equality - the equality value.
See Also:
getEquality()

getEquality

public String getEquality()
Returns the equality value associated with this Range object. Example: String equality = range.getEquality();

Returns:
the equality value.
See Also:
setEquality(java.lang.String)