com.esri.wms.client
Class Field

java.lang.Object
  extended by com.esri.wms.client.Field
All Implemented Interfaces:
Serializable

public class Field
extends Object
implements Serializable

Specified in the ESRI ArcGIS WMS Server GetFeatureInfo requests. The Field represent the Fiedl element in a request:

 <FeatureInfo>
       <Field>
         <FieldName>OBJECTID</FieldName>
         <FieldValue>305</FieldValue>
       </Field>
       ...
     </FeatureInfo>
 

See Also:
Serialized Form

Constructor Summary
Field()
          Instantiates an object of Field.
Field(String name, String value)
          Instantiates an object of Field with the given field name and value.
 
Method Summary
 String getName()
          Gets the name of the field.
 String getValue()
          Gets the value of the field.
 void setName(String name)
          Sets the name of the field.
 void setValue(String value)
          Sets the new value of the field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

public Field()
Instantiates an object of Field.


Field

public Field(String name,
             String value)
Instantiates an object of Field with the given field name and value.

Parameters:
name - the field name.
value - the field value.
Method Detail

getName

public String getName()
Gets the name of the field.

Returns:
the name.

setName

public void setName(String name)
Sets the name of the field.


getValue

public String getValue()
Gets the value of the field.

Returns:
the field value.

setValue

public void setValue(String value)
Sets the new value of the field.

Parameters:
value - the new value.