org.gcube.dir.master.selection.criteria
Class TopNAdapter

java.lang.Object
  extended by ITopNCriterion
      extended by org.gcube.dir.master.selection.criteria.TopNAdapter
All Implemented Interfaces:
ServiceInputAdapter<TopNCriterion>

public class TopNAdapter
extends ITopNCriterion
implements ServiceInputAdapter<TopNCriterion>

A ServiceInputAdapter for TopNCriterion.

Author:
Fabio Simeoni (University of Strathclyde)

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

Constructor Detail

TopNAdapter

public TopNAdapter()
Method Detail

intern

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

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