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

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

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

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


Constructor Summary
IndexBean()
          an empty constructor
 
Method Summary
 int compareTo(IndexBean arg0)
          
 String getEpr()
          Gets the current serialized EndPointReference of the IndexManagement
 String getHost()
          Gets the host the IndexManagement currently recides on
 String getId()
          Gets the ID of the index
 String getName()
          Gets the name of the index
 void setEpr(String epr)
          Sets the current EndPointReference of the IndexManagement
 void setHost(String host)
          Sets the Host the IndexManagement currently resides on
 void setId(String id)
          Sets the ID of the index
 void setName(String name)
          Sets the Name of the index
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexBean

public IndexBean()
an empty constructor

Method Detail

getId

public String getId()
Gets the ID of the index

Returns:
the ID of the index

getName

public String getName()
Gets the name of the index

Returns:
the name of the index

getHost

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

Returns:
the host the IndexManagement currently recides on

getEpr

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

Returns:
the current serialized EndPointReference of the IndexManagement

setId

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

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

setName

public void setName(String name)
Sets the Name of the index

Parameters:
name - - the new Name to assign to this index representation

setHost

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

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

setEpr

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

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

compareTo

public int compareTo(IndexBean arg0)

Specified by:
compareTo in interface Comparable<IndexBean>


Copyright © 2013. All Rights Reserved.