|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.searchservice.searchlibrary.resultset.elements.PropertyElementBase
org.gcube.common.searchservice.searchlibrary.resultset.elements.PropertyElementEstimationCount
public class PropertyElementEstimationCount
Property Element that is used to set an estimation of the records in the ResultSet
PropertyElementBase| Field Summary | |
|---|---|
static java.lang.String |
propertyType
The Type of the Property this Property element produces |
static int |
unspecified
Specifying that there is no SSID provided |
| Constructor Summary | |
|---|---|
PropertyElementEstimationCount()
Default contructor required by PropertyElementBase |
|
PropertyElementEstimationCount(int min,
int max,
int estimation)
Initializes a new PropertyElementEstimationCount |
|
| Method Summary | |
|---|---|
void |
fromXML(java.lang.String xml)
Method to be implemented that will handle the population of the custom Property element. |
int |
getEstimation()
Retrieves the estimation |
int |
getMax()
Retrieves the max estimation |
int |
getMin()
Retrieves the min estimation |
java.lang.String |
toXML()
Method to be implemented that will handle the serialization of the custom Property element. |
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String propertyType
public static int unspecified
| Constructor Detail |
|---|
public PropertyElementEstimationCount()
PropertyElementBase
public PropertyElementEstimationCount(int min,
int max,
int estimation)
throws java.lang.Exception
PropertyElementEstimationCount
min - The min estimationmax - The max estimationestimation - The estimation
java.lang.Exception - An unrecoverable for the operation error occured| Method Detail |
|---|
public int getMin()
public int getMax()
public int getEstimation()
public java.lang.String toXML()
throws java.lang.Exception
PropertyElementBasePropertyElementBase.RS_toXML() which then enriches the returned serialization
to produce a valid property xml string
toXML in class PropertyElementBasejava.lang.Exception - An unrecoverable for the operation error occuredPropertyElementBase.toXML()
public void fromXML(java.lang.String xml)
throws java.lang.Exception
PropertyElementBasePropertyElementBase.RS_fromXML(String) after it has striped the xml
serialization of the type property
fromXML in class PropertyElementBasexml - The serialized string to populate the insance from
java.lang.Exception - An unrecoverable for the operation error occuredPropertyElementBase.fromXML(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||