|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.weblab.core.model.Resource
org.ow2.weblab.core.model.ResultSet
public class ResultSet
A ResultSet is specific resource to described result of a Query. The results should be described semantically in the PoK linked to the ResultSet. See the WebLab ontology for the property on ResultSet. Additional and specific information could be added for results presentation in the Resources list.As a Resource, a ResultSet could be annotated to provide more information. But any information about the results by themselves and the query shall be in pok field. Data Exchange Model for WebLab platform provided by CASSIDIAN- Version 1.2 -2010/08
Java class for ResultSet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResultSet"> <complexContent> <extension base="{http://weblab.ow2.org/core/1.2/model#}Resource"> <sequence> <element name="resource" type="{http://weblab.ow2.org/core/1.2/model#}Resource" maxOccurs="unbounded" minOccurs="0"/> <element name="pok" type="{http://weblab.ow2.org/core/1.2/model#}PieceOfKnowledge" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Field Summary | |
---|---|
protected PieceOfKnowledge |
pok
|
protected java.util.List<Resource> |
resource
|
Fields inherited from class org.ow2.weblab.core.model.Resource |
---|
annotation, descriptor, uri |
Constructor Summary | |
---|---|
ResultSet()
|
Method Summary | |
---|---|
PieceOfKnowledge |
getPok()
Gets the value of the pok property. |
java.util.List<Resource> |
getResource()
Gets the value of the resource property. |
boolean |
isSetPok()
|
boolean |
isSetResource()
|
void |
setPok(PieceOfKnowledge value)
Sets the value of the pok property. |
void |
unsetResource()
|
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 |
---|
protected java.util.List<Resource> resource
protected PieceOfKnowledge pok
Constructor Detail |
---|
public ResultSet()
Method Detail |
---|
public java.util.List<Resource> getResource()
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
public boolean isSetResource()
public void unsetResource()
public PieceOfKnowledge getPok()
PieceOfKnowledge
public void setPok(PieceOfKnowledge value)
value
- allowed object is
PieceOfKnowledge
public boolean isSetPok()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |