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

java.lang.Object
  extended by org.gcube.portlets.admin.fulltextindexportlet.gwt.shared.FieldBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class FieldBean
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

A field used to represent a field of a Full Text Index Type


Constructor Summary
FieldBean()
          An empty constructor
 
Method Summary
 String getBoost()
          A method used to the ranking boost to be used for this field
 boolean getIndex()
          A method used to the indicator of whether the field should be indexed or not
 String getName()
          A method use to get the field's name
 boolean getReturned()
          A method used to the indicator of whether the field should be returned or not
 boolean getSort()
          A method used to the indicator of whether the field should be sorted or not
 boolean getStore()
          A method used to the indicator of whether the field should be stored or not
 boolean getTokenize()
          A method used to the indicator of whether the field should be tokenized or not
 void setBoost(String boost)
          Sets the ranking boost to be used for this field
 void setIndex(boolean index)
          Sets the indicator if whether this field should be indexed
 void setName(String name)
          Sets the name of this field
 void setReturned(boolean returned)
          Sets the indicator if whether this field should be returned
 void setSort(boolean sort)
          Sets the indicator if whether this field should be sorted
 void setStore(boolean store)
          Sets the indicator if whether this field should be stored
 void setTokenize(boolean tokenize)
          Sets the indicator if whether this field should be tokenized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldBean

public FieldBean()
An empty constructor

Method Detail

getName

public String getName()
A method use to get the field's name

Returns:
- the name of this field

getIndex

public boolean getIndex()
A method used to the indicator of whether the field should be indexed or not

Returns:
- true if the field should be indexed

getStore

public boolean getStore()
A method used to the indicator of whether the field should be stored or not

Returns:
- true if the field should be stored

getReturned

public boolean getReturned()
A method used to the indicator of whether the field should be returned or not

Returns:
- true if the field should be returned

getTokenize

public boolean getTokenize()
A method used to the indicator of whether the field should be tokenized or not

Returns:
- true if the field should be tokenized

getSort

public boolean getSort()
A method used to the indicator of whether the field should be sorted or not

Returns:
- true if the field should be sorted

getBoost

public String getBoost()
A method used to the ranking boost to be used for this field

Returns:
- the ranking boost to be used for this field

setName

public void setName(String name)
Sets the name of this field

Parameters:
name - - the name of the field

setIndex

public void setIndex(boolean index)
Sets the indicator if whether this field should be indexed

Parameters:
index - - true if the field should be indexed

setStore

public void setStore(boolean store)
Sets the indicator if whether this field should be stored

Parameters:
store - - true if the field should be stored

setReturned

public void setReturned(boolean returned)
Sets the indicator if whether this field should be returned

Parameters:
returned - - true if the field should be returned

setTokenize

public void setTokenize(boolean tokenize)
Sets the indicator if whether this field should be tokenized

Parameters:
tokenize - - true if the field should be tokenized

setSort

public void setSort(boolean sort)
Sets the indicator if whether this field should be sorted

Parameters:
sort - - true if the field should be sorted

setBoost

public void setBoost(String boost)
Sets the ranking boost to be used for this field

Parameters:
boost - - the ranking boost to be used for this field


Copyright © 2013. All Rights Reserved.