org.gcube.indexmanagement.featureindexlibrary.merger
Class MergedResultElement

java.lang.Object
  extended by org.gcube.indexmanagement.featureindexlibrary.merger.MergedResultElement

public class MergedResultElement
extends Object

Element holding info on merged elements

Author:
UoA

Constructor Summary
MergedResultElement(String oid)
          Creates a new instance
MergedResultElement(String oid, float rank, Set<String> indexNames)
          Creates a new instance
 
Method Summary
 String getId()
          Retrieves the id
 Set<String> getIndexNames()
          Retrieves the index names
 float getRank()
          Retrieves the rank
 void setId(String oid)
          Sets the id
 void setIndexNames(Set<String> indexNames)
          Sets the index names
 void setRank(float rank)
          Sets the rank
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergedResultElement

public MergedResultElement(String oid,
                           float rank,
                           Set<String> indexNames)
Creates a new instance

Parameters:
oid - the id
rank - The rank
indexNames - The index names

MergedResultElement

public MergedResultElement(String oid)
Creates a new instance

Parameters:
oid - the id
Method Detail

getIndexNames

public Set<String> getIndexNames()
Retrieves the index names

Returns:
Te index names

setIndexNames

public void setIndexNames(Set<String> indexNames)
Sets the index names

Parameters:
indexNames - The index names

getId

public String getId()
Retrieves the id

Returns:
The id

setId

public void setId(String oid)
Sets the id

Parameters:
oid - The id

getRank

public float getRank()
Retrieves the rank

Returns:
The rank

setRank

public void setRank(float rank)
Sets the rank

Parameters:
rank - The rank


Copyright © 2013. All Rights Reserved.