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

java.lang.Object
  |
  +--com.esri.aims.mtier.model.metadata.query.TextQuery

public class TextQuery
extends Object

Implements a TextQuery object.

See Also:
com.esri.aims.mtier.model.metadata.axl.TagTextElement

Constructor Summary
TextQuery()
          Constructs an instance of a TextQuery object.
 
Method Summary
 String getAttribute()
          Returns the attribute associated with this object.
 String getTag()
          Returns the tag value for this object.
 com.esri.w3c.dom.Element getTextQueryElement()
          Returns this object as an TAGTEXT element.
 String getWord()
          Returns the value for a word search.
 String getZCode()
          Returns the z code value of this object.
 boolean isFullText()
          Returns true if this text query is set to use a FULLTEXT search or not.
 void setAttribute(String newAttribute)
          Sets the given string as the attribute of this object.
 void setTag(String newTag)
          Sets the tag value for this object.
 void setWord(String newWord)
          Sets the value for a word search.
 void setZCode(String newZCode)
          Sets the z code value of this object.
 void useFullText(boolean useFullText)
          Sets whether or not this TextQuery should use a FULLTEXT search.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextQuery

public TextQuery()
Constructs an instance of a TextQuery object.

Method Detail

getZCode

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

Returns:
String The z code value for this object.

setZCode

public void setZCode(String newZCode)
Sets the z code value of this object.

Parameters:
newZCode - The new z code for this code object.

getTag

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

Returns:
String The tag value for this object.

setTag

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


setWord

public void setWord(String newWord)
Sets the value for a word search.


getWord

public String getWord()
Returns the value for a word search.


setAttribute

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

Parameters:
newAttribute - The new value of the attribute attribute.

getAttribute

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

Returns:
String The value of attribute.

getTextQueryElement

public com.esri.w3c.dom.Element getTextQueryElement()
                                             throws AXLAttributeException
Returns this object as an TAGTEXT element.

Returns:
Element
AXLAttributeException

useFullText

public void useFullText(boolean useFullText)
Sets whether or not this TextQuery should use a FULLTEXT search.


isFullText

public boolean isFullText()
Returns true if this text query is set to use a FULLTEXT search or not.