org.ow2.weblab.core.model
Class SimilarityQuery
java.lang.Object
org.ow2.weblab.core.model.Resource
org.ow2.weblab.core.model.Query
org.ow2.weblab.core.model.ElementaryQuery
org.ow2.weblab.core.model.SimilarityQuery
- All Implemented Interfaces:
- java.io.Serializable
public class SimilarityQuery
- extends ElementaryQuery
- implements java.io.Serializable
This query is dedicated for search by
similarity and thus its content is one or more resources. Data
Exchange Model for WebLab platform provided by CASSIDIAN Query package -
Version 1.2 - 2010/08
Java class for SimilarityQuery complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SimilarityQuery">
<complexContent>
<extension base="{http://weblab.ow2.org/core/1.2/model#}ElementaryQuery">
<sequence>
<element name="resource" type="{http://weblab.ow2.org/core/1.2/model#}Resource" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resource
protected java.util.List<Resource> resource
SimilarityQuery
public SimilarityQuery()
getResource
public java.util.List<Resource> getResource()
- Gets the value of the resource property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the resource property.
For example, to add a new item, do as follows:
getResource().add(newItem);
Objects of the following type(s) are allowed in the list
Resource
Copyright © 2004-2010. All Rights Reserved.