org.gcube.dir.master.queries
Class QueryTermAdapter

java.lang.Object
  extended by IQueryTerm
      extended by org.gcube.dir.master.queries.QueryTermAdapter
All Implemented Interfaces:
ServiceInputAdapter<QueryTerm>

public class QueryTermAdapter
extends IQueryTerm
implements ServiceInputAdapter<QueryTerm>

Web adapter for a QueryTerm.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
QueryTermAdapter()
           
 
Method Summary
 QueryTerm intern()
          Returns the internal object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryTermAdapter

public QueryTermAdapter()
Method Detail

intern

public QueryTerm intern()
                 throws java.lang.Exception
Returns the internal object.

Specified by:
intern in interface ServiceInputAdapter<QueryTerm>
Returns:
the object.
Throws:
java.lang.Exception - if this object could not be converted into the internal object.