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

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

public class TextQuery
extends Object
implements Serializable

Implements a TextQuery object.

See Also:
Serialized Form

Constructor Summary
TextQuery()
           
 
Method Summary
 String getAttribute()
          Returns the attribute associated with this object.
 String getTag()
          Returns the tag value for this object.
 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()
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 Element getTextQueryElement()
                            throws com.esri.aims.mtier.model.axl.AXLAttributeException
Returns this object as an TAGTEXT element.

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

useFullText

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

Parameters:
useFullText -

isFullText

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