org.gcube.indexmanagement.common
Class PropertyElementForwardIndex

java.lang.Object
  extended by org.gcube.common.searchservice.searchlibrary.resultset.elements.PropertyElementBase
      extended by org.gcube.indexmanagement.common.PropertyElementForwardIndex

public class PropertyElementForwardIndex
extends org.gcube.common.searchservice.searchlibrary.resultset.elements.PropertyElementBase

Class used to get the property elements for the ForwardIndex.


Field Summary
static String propertyType
          The property type .
 
Constructor Summary
PropertyElementForwardIndex()
          Constructor.
PropertyElementForwardIndex(int nrOfHits)
          Constructor.
 
Method Summary
 void fromXML(String element)
          Method to get the element from the XML formatted string.
 String toXML()
          Method to get the number of hits.
 
Methods inherited from class org.gcube.common.searchservice.searchlibrary.resultset.elements.PropertyElementBase
getType, getType, RS_fromXML, RS_toXML, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyType

public static final String propertyType
The property type .

See Also:
Constant Field Values
Constructor Detail

PropertyElementForwardIndex

public PropertyElementForwardIndex()
Constructor.


PropertyElementForwardIndex

public PropertyElementForwardIndex(int nrOfHits)
                            throws Exception
Constructor.

Parameters:
nrOfHits - - the number of hits.
Throws:
Exception - - from the super class.
Method Detail

fromXML

public void fromXML(String element)
             throws Exception
Method to get the element from the XML formatted string.

Specified by:
fromXML in class org.gcube.common.searchservice.searchlibrary.resultset.elements.PropertyElementBase
Parameters:
element - - the element to format
Throws:
Exception - - when the element can not be formatted.

toXML

public String toXML()
Method to get the number of hits.

Specified by:
toXML in class org.gcube.common.searchservice.searchlibrary.resultset.elements.PropertyElementBase
Returns:
XML formatted string with the number of hits.


Copyright © 2012. All Rights Reserved.