com.esri.aims.mtier.model.metadata.query
Class ValueQuery

java.lang.Object
  extended by com.esri.aims.mtier.model.metadata.query.ValueQuery
All Implemented Interfaces:
Serializable

public class ValueQuery
extends Object
implements Serializable

Implements a ValueQuery object.

See Also:
Serialized Form

Field Summary
static int EQUALTO
           
static int GREATERTHAN
           
static int GREATERTHANOREQUALTO
           
static int LESSTHAN
           
static int LESSTHANOREQUALTO
           
 
Constructor Summary
ValueQuery()
           
 
Method Summary
 String getAttribute()
          Returns the attribute associated with this object.
 String getEquals()
          Returns the value set for an equals query.
 String getLowerBound()
          Returns the value set for a lower bound query.
 String getNotEquals()
          Returns the value set for an notequalto query.
 String getTag()
          Returns the tag value associated with this object.
 String getUpperBound()
          Returns the value set for an upper bound query.
 Element getValueQueryElement()
          Returns the TagValueElement for this object.
 String getZCode()
          Returns the z code value of this object.
 void setAttribute(String newAttribute)
          Sets the given string as attribute of this object.
 void setEquals(String bound)
          Sets equals value on a search.
 void setLowerBound(String bound, boolean inclusiveBound)
          Sets the lower bound on the value query and allows user to define whether the query is inclusive or exclusive.
 void setNotEquals(String value)
          Sets notequals value on a search.
 void setTag(String newTag)
          Sets the given string as tag value for this object.
 void setUpperBound(String bound, boolean inclusiveBound)
          Sets the upper bound query value for this object.
 void setZCode(String newZCode)
          Sets the given string as z code value for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LESSTHAN

public static final int LESSTHAN
See Also:
Constant Field Values

LESSTHANOREQUALTO

public static final int LESSTHANOREQUALTO
See Also:
Constant Field Values

EQUALTO

public static final int EQUALTO
See Also:
Constant Field Values

GREATERTHANOREQUALTO

public static final int GREATERTHANOREQUALTO
See Also:
Constant Field Values

GREATERTHAN

public static final int GREATERTHAN
See Also:
Constant Field Values
Constructor Detail

ValueQuery

public ValueQuery()
Method Detail

getZCode

public String getZCode()
Returns the z code value of this object.


setZCode

public void setZCode(String newZCode)
Sets the given string as z code value for this object.


getTag

public String getTag()
Returns the tag value associated with this object.


setTag

public void setTag(String newTag)
Sets the given string as tag value for this object.


setUpperBound

public void setUpperBound(String bound,
                          boolean inclusiveBound)
Sets the upper bound query value for this object.


setEquals

public void setEquals(String bound)
Sets equals value on a search. This eliminates upper or lower bounds set before.


setNotEquals

public void setNotEquals(String value)
Sets notequals value on a search.


setLowerBound

public void setLowerBound(String bound,
                          boolean inclusiveBound)
Sets the lower bound on the value query and allows user to define whether the query is inclusive or exclusive.


getUpperBound

public String getUpperBound()
Returns the value set for an upper bound query.


getEquals

public String getEquals()
Returns the value set for an equals query.


getNotEquals

public String getNotEquals()
Returns the value set for an notequalto query.


getLowerBound

public String getLowerBound()
Returns the value set for a lower bound query.


setAttribute

public void setAttribute(String newAttribute)
Sets the given string as attribute of this object.


getAttribute

public String getAttribute()
Returns the attribute associated with this object.


getValueQueryElement

public Element getValueQueryElement()
                             throws com.esri.aims.mtier.model.axl.AXLAttributeException
Returns the TagValueElement for this object.

Throws:
com.esri.aims.mtier.model.axl.AXLAttributeException