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 SearchResultEntry complex type. 022 * 023 * <p>The following schema fragment specifies the expected content contained within this class. 024 * 025 * <pre> 026 * <complexType name="SearchResultEntry"> 027 * <complexContent> 028 * <extension base="{urn:oasis:names:tc:DSML:2:0:core}DsmlMessage"> 029 * <sequence> 030 * <element name="attr" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlAttr" maxOccurs="unbounded" minOccurs="0"/> 031 * </sequence> 032 * <attribute name="dn" use="required" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlDN" /> 033 * </extension> 034 * </complexContent> 035 * </complexType> 036 * </pre> 037 * 038 * 039 */ 040@XmlAccessorType(XmlAccessType.FIELD) 041@XmlType(name = "SearchResultEntry", namespace = "urn:oasis:names:tc:DSML:2:0:core", propOrder = { 042 "attr" 043}) 044public class SearchResultEntry 045 extends DsmlMessage 046{ 047 048 @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core") 049 protected List<DsmlAttr> attr; 050 @XmlAttribute(name = "dn", required = true) 051 protected String dn; 052 053 /** 054 * Gets the value of the attr property. 055 * 056 * <p> 057 * This accessor method returns a reference to the live list, 058 * not a snapshot. Therefore any modification you make to the 059 * returned list will be present inside the JAXB object. 060 * This is why there is not a <CODE>set</CODE> method for the attr property. 061 * 062 * <p> 063 * For example, to add a new item, do as follows: 064 * <pre> 065 * getAttr().add(newItem); 066 * </pre> 067 * 068 * 069 * <p> 070 * Objects of the following type(s) are allowed in the list 071 * {@link DsmlAttr } 072 * 073 * 074 */ 075 public List<DsmlAttr> getAttr() { 076 if (attr == null) { 077 attr = new ArrayList<DsmlAttr>(); 078 } 079 return this.attr; 080 } 081 082 /** 083 * Gets the value of the dn property. 084 * 085 * @return 086 * possible object is 087 * {@link String } 088 * 089 */ 090 public String getDn() { 091 return dn; 092 } 093 094 /** 095 * Sets the value of the dn property. 096 * 097 * @param value 098 * allowed object is 099 * {@link String } 100 * 101 */ 102 public void setDn(String value) { 103 this.dn = value; 104 } 105 106}