org.gcube.dir.master.queries
Class QueryTerm

java.lang.Object
  extended by org.gcube.dir.master.queries.QueryTerm
Direct Known Subclasses:
DefaultQueryTerm

public class QueryTerm
extends java.lang.Object

A minimal model of a Query term.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
QueryTerm(java.lang.String name)
          Creates an instance with a given name.
 
Method Summary
 java.lang.String getName()
          Returns the name of the term.
 void setName(java.lang.String name)
          Sets the name of the term.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryTerm

public QueryTerm(java.lang.String name)
Creates an instance with a given name.

Parameters:
name - the name.
Method Detail

getName

public java.lang.String getName()
Returns the name of the term.

Returns:
the name.

setName

public void setName(java.lang.String name)
Sets the name of the term.

Parameters:
name - the name.