public class QueryResult extends Object implements Result, Serializable
<complexType name="QueryResult">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://schema.samply.de/osse/Entity}Entity" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Entity> |
entity |
protected String |
id |
| Constructor and Description |
|---|
QueryResult() |
| Modifier and Type | Method and Description |
|---|---|
List<Entity> |
getEntity()
Gets the value of the entity property.
|
String |
getId()
Gets the value of the id property.
|
void |
setId(String value)
Sets the value of the id property.
|
public List<Entity> getEntity()
set method for the entity property.
For example, to add a new item, do as follows:
getEntity().add(newItem);
Objects of the following type(s) are allowed in the list EntityCopyright © 2021 Samply Community. All rights reserved.