org.gcube.data.tr.requests
Class AbstractRequest

java.lang.Object
  extended by org.gcube.data.tr.requests.AbstractRequest
All Implemented Interfaces:
Request
Direct Known Subclasses:
BindSource

public abstract class AbstractRequest
extends Object
implements Request

Partial Request implementation.

Author:
Fabio Simeoni

Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 Mode mode()
          Returns the access mode to the collection.
 Element toElement()
          Converts the request to an Element.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mode

public Mode mode()
Returns the access mode to the collection.

Returns:
the mode

toElement

public Element toElement()
Description copied from interface: Request
Converts the request to an Element.

Specified by:
toElement in interface Request
Returns:
the element.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2014. All Rights Reserved.