org.weblab_project.core.model.query
Class SimilarityQuery
java.lang.Object
org.weblab_project.core.model.Resource
org.weblab_project.core.model.query.Query
org.weblab_project.core.model.query.ElementaryQuery
org.weblab_project.core.model.query.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 EADS Query package - Version 1.1 - 2009/05
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-project.org/core/model/query}elementaryQuery">
<sequence>
<element name="resource" type="{http://weblab-project.org/core/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.