org.ow2.weblab.core.model
Class ElementaryQuery

java.lang.Object
  extended by org.ow2.weblab.core.model.Resource
      extended by org.ow2.weblab.core.model.Query
          extended by 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
           
 
Fields inherited from class org.ow2.weblab.core.model.Resource
annotation, descriptor, uri
 
Constructor Summary
ElementaryQuery()
           
 
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 org.ow2.weblab.core.model.Resource
getAnnotation, getDescriptor, getUri, isSetAnnotation, isSetDescriptor, setUri, unsetAnnotation, unsetDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weight

protected float weight
Constructor Detail

ElementaryQuery

public ElementaryQuery()
Method Detail

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.