org.gcube.application.framework.contentmanagement.model
Class IndexInfo

java.lang.Object
  extended by org.gcube.application.framework.contentmanagement.model.IndexInfo
All Implemented Interfaces:
java.io.Serializable

public class IndexInfo
extends java.lang.Object
implements java.io.Serializable

Author:
Valia Tsagkalidou (NKUA)
See Also:
Serialized Form

Constructor Summary
IndexInfo()
          The constructor of the class
 
Method Summary
 java.lang.String indexType()
           
 boolean isFts()
           
 boolean isGeospatial()
           
 boolean isOpenSearch()
           
 boolean isSimilarity()
           
 void setFts(boolean fts)
          Sets the value whether a full text index exists
 void setGeospatial(boolean geospatial)
          Sets the value whether a geo-spatial index exists
 void setOpenSearch(boolean openSearch)
           
 void setSimilarity(boolean similarity)
          Sets the value whether a similarity index exists
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexInfo

public IndexInfo()
The constructor of the class

Method Detail

isFts

public boolean isFts()
Returns:
whether an FTS index exists for this collection

isOpenSearch

public boolean isOpenSearch()

isGeospatial

public boolean isGeospatial()
Returns:
whether a geospatial index exists for this collection

isSimilarity

public boolean isSimilarity()
Returns:
whether a similarity index exists for this collection

setFts

public void setFts(boolean fts)
Sets the value whether a full text index exists

Parameters:
fts - true or false

setGeospatial

public void setGeospatial(boolean geospatial)
Sets the value whether a geo-spatial index exists

Parameters:
geospatial - true or false

setSimilarity

public void setSimilarity(boolean similarity)
Sets the value whether a similarity index exists

Parameters:
similarity - true or false

setOpenSearch

public void setOpenSearch(boolean openSearch)

indexType

public java.lang.String indexType()