org.gcube.portlets.admin.fulltextindexportlet.gwt.shared
Class LookupBean

java.lang.Object
  extended by org.gcube.portlets.admin.fulltextindexportlet.gwt.shared.LookupBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Comparable<LookupBean>

public class LookupBean
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable, Comparable<LookupBean>

A class used to transport IndexLookup information between the client and the service


Constructor Summary
LookupBean()
          an empty constructor
 
Method Summary
 int compareTo(LookupBean arg0)
          
 int getConnectionID()
          Gets the ConnectionID of the IndexLookup
 String getEpr()
          Gets the current serialized EndPointReference of the IndexLookup
 String getHost()
          Gets the host the IndexLookup currently recides on
 String getId()
          Gets the ID of the Index
 void setConnectionID(int connID)
          Sets the ConnectionID of the IndexLookup
 void setEpr(String epr)
          Sets the current EndPointReference of the IndexLookup
 void setHost(String host)
          Sets the Host the IndexLookup currently resides on
 void setId(String id)
          Sets the ID of the Index
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupBean

public LookupBean()
an empty constructor

Method Detail

getId

public String getId()
Gets the ID of the Index

Returns:
the ID of the Index

getConnectionID

public int getConnectionID()
Gets the ConnectionID of the IndexLookup

Returns:
the ConnectionID of the IndexLookup

getHost

public String getHost()
Gets the host the IndexLookup currently recides on

Returns:
the host the IndexLookup currently recides on

getEpr

public String getEpr()
Gets the current serialized EndPointReference of the IndexLookup

Returns:
the current serialized EndPointReference of the IndexLookup

setId

public void setId(String id)
Sets the ID of the Index

Parameters:
id - - the new ID to assign to this IndexLookup representation

setConnectionID

public void setConnectionID(int connID)
Sets the ConnectionID of the IndexLookup

Parameters:
connID - - the new ConnectionID to assign to this IndexLookup representation

setHost

public void setHost(String host)
Sets the Host the IndexLookup currently resides on

Parameters:
host - - the new Host to assign to this IndexLookup representation

setEpr

public void setEpr(String epr)
Sets the current EndPointReference of the IndexLookup

Parameters:
epr - - the new EndPointReference to assign to this IndexLookup representation

compareTo

public int compareTo(LookupBean arg0)

Specified by:
compareTo in interface Comparable<LookupBean>


Copyright © 2013. All Rights Reserved.