001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2015.08.26 at 05:38:23 AM CEST 006// 007 008 009package org.opends.dsml.protocol; 010 011import java.util.ArrayList; 012import java.util.List; 013import javax.xml.bind.annotation.XmlAccessType; 014import javax.xml.bind.annotation.XmlAccessorType; 015import javax.xml.bind.annotation.XmlAttribute; 016import javax.xml.bind.annotation.XmlElement; 017import javax.xml.bind.annotation.XmlType; 018 019 020/** 021 * <p>Java class for SearchResponse complex type. 022 * 023 * <p>The following schema fragment specifies the expected content contained within this class. 024 * 025 * <pre> 026 * <complexType name="SearchResponse"> 027 * <complexContent> 028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 029 * <sequence> 030 * <element name="searchResultEntry" type="{urn:oasis:names:tc:DSML:2:0:core}SearchResultEntry" maxOccurs="unbounded" minOccurs="0"/> 031 * <element name="searchResultReference" type="{urn:oasis:names:tc:DSML:2:0:core}SearchResultReference" maxOccurs="unbounded" minOccurs="0"/> 032 * <element name="searchResultDone" type="{urn:oasis:names:tc:DSML:2:0:core}LDAPResult"/> 033 * </sequence> 034 * <attribute name="requestID" type="{urn:oasis:names:tc:DSML:2:0:core}RequestID" /> 035 * </restriction> 036 * </complexContent> 037 * </complexType> 038 * </pre> 039 * 040 * 041 */ 042@XmlAccessorType(XmlAccessType.FIELD) 043@XmlType(name = "SearchResponse", namespace = "urn:oasis:names:tc:DSML:2:0:core", propOrder = { 044 "searchResultEntry", 045 "searchResultReference", 046 "searchResultDone" 047}) 048public class SearchResponse { 049 050 @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core") 051 protected List<SearchResultEntry> searchResultEntry; 052 @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core") 053 protected List<SearchResultReference> searchResultReference; 054 @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core", required = true) 055 protected LDAPResult searchResultDone; 056 @XmlAttribute(name = "requestID") 057 protected String requestID; 058 059 /** 060 * Gets the value of the searchResultEntry property. 061 * 062 * <p> 063 * This accessor method returns a reference to the live list, 064 * not a snapshot. Therefore any modification you make to the 065 * returned list will be present inside the JAXB object. 066 * This is why there is not a <CODE>set</CODE> method for the searchResultEntry property. 067 * 068 * <p> 069 * For example, to add a new item, do as follows: 070 * <pre> 071 * getSearchResultEntry().add(newItem); 072 * </pre> 073 * 074 * 075 * <p> 076 * Objects of the following type(s) are allowed in the list 077 * {@link SearchResultEntry } 078 * 079 * 080 */ 081 public List<SearchResultEntry> getSearchResultEntry() { 082 if (searchResultEntry == null) { 083 searchResultEntry = new ArrayList<SearchResultEntry>(); 084 } 085 return this.searchResultEntry; 086 } 087 088 /** 089 * Gets the value of the searchResultReference property. 090 * 091 * <p> 092 * This accessor method returns a reference to the live list, 093 * not a snapshot. Therefore any modification you make to the 094 * returned list will be present inside the JAXB object. 095 * This is why there is not a <CODE>set</CODE> method for the searchResultReference property. 096 * 097 * <p> 098 * For example, to add a new item, do as follows: 099 * <pre> 100 * getSearchResultReference().add(newItem); 101 * </pre> 102 * 103 * 104 * <p> 105 * Objects of the following type(s) are allowed in the list 106 * {@link SearchResultReference } 107 * 108 * 109 */ 110 public List<SearchResultReference> getSearchResultReference() { 111 if (searchResultReference == null) { 112 searchResultReference = new ArrayList<SearchResultReference>(); 113 } 114 return this.searchResultReference; 115 } 116 117 /** 118 * Gets the value of the searchResultDone property. 119 * 120 * @return 121 * possible object is 122 * {@link LDAPResult } 123 * 124 */ 125 public LDAPResult getSearchResultDone() { 126 return searchResultDone; 127 } 128 129 /** 130 * Sets the value of the searchResultDone property. 131 * 132 * @param value 133 * allowed object is 134 * {@link LDAPResult } 135 * 136 */ 137 public void setSearchResultDone(LDAPResult value) { 138 this.searchResultDone = value; 139 } 140 141 /** 142 * Gets the value of the requestID property. 143 * 144 * @return 145 * possible object is 146 * {@link String } 147 * 148 */ 149 public String getRequestID() { 150 return requestID; 151 } 152 153 /** 154 * Sets the value of the requestID property. 155 * 156 * @param value 157 * allowed object is 158 * {@link String } 159 * 160 */ 161 public void setRequestID(String value) { 162 this.requestID = value; 163 } 164 165}