org.weblab_project.core.model.query
Class ElementaryQuery
java.lang.Object
org.weblab_project.core.model.Resource
org.weblab_project.core.model.query.Query
org.weblab_project.core.model.query.ElementaryQuery
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- SimilarityQuery, StringQuery
public abstract class ElementaryQuery
- extends Query
- implements java.io.Serializable
This kind of query is simply not a ComposedQuery. It contains a weight (with default value at 1.0) which could be used for Query combination.
Data Exchange Model for WebLab platform provided by EADS Query package - Version 1.1 - 2009/05
Java class for elementaryQuery complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="elementaryQuery">
<complexContent>
<extension base="{http://weblab-project.org/core/model/query}query">
<sequence>
<element name="weight" type="{http://www.w3.org/2001/XMLSchema}float"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Field Summary |
protected float |
weight
|
Method Summary |
float |
getWeight()
Gets the value of the weight property. |
void |
setWeight(float value)
Sets the value of the weight property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
weight
protected float weight
ElementaryQuery
public ElementaryQuery()
getWeight
public float getWeight()
- Gets the value of the weight property.
setWeight
public void setWeight(float value)
- Sets the value of the weight property.
Copyright © 2004-2009. All Rights Reserved.