org.ow2.weblab.core.model
Class ElementaryQuery
java.lang.Object
org.ow2.weblab.core.model.Resource
org.ow2.weblab.core.model.Query
org.ow2.weblab.core.model.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 CASSIDIAN Query package - Version 1.2 -
2010/08
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.ow2.org/core/1.2/model#}Query">
<attribute name="weight" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
</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-2010. All Rights Reserved.