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.XmlElement; 016import javax.xml.bind.annotation.XmlSchemaType; 017import javax.xml.bind.annotation.XmlType; 018 019 020/** 021 * <p>Java class for SearchResultReference complex type. 022 * 023 * <p>The following schema fragment specifies the expected content contained within this class. 024 * 025 * <pre> 026 * <complexType name="SearchResultReference"> 027 * <complexContent> 028 * <extension base="{urn:oasis:names:tc:DSML:2:0:core}DsmlMessage"> 029 * <sequence> 030 * <element name="ref" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/> 031 * </sequence> 032 * </extension> 033 * </complexContent> 034 * </complexType> 035 * </pre> 036 * 037 * 038 */ 039@XmlAccessorType(XmlAccessType.FIELD) 040@XmlType(name = "SearchResultReference", namespace = "urn:oasis:names:tc:DSML:2:0:core", propOrder = { 041 "ref" 042}) 043public class SearchResultReference 044 extends DsmlMessage 045{ 046 047 @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core", required = true) 048 @XmlSchemaType(name = "anyURI") 049 protected List<String> ref; 050 051 /** 052 * Gets the value of the ref property. 053 * 054 * <p> 055 * This accessor method returns a reference to the live list, 056 * not a snapshot. Therefore any modification you make to the 057 * returned list will be present inside the JAXB object. 058 * This is why there is not a <CODE>set</CODE> method for the ref property. 059 * 060 * <p> 061 * For example, to add a new item, do as follows: 062 * <pre> 063 * getRef().add(newItem); 064 * </pre> 065 * 066 * 067 * <p> 068 * Objects of the following type(s) are allowed in the list 069 * {@link String } 070 * 071 * 072 */ 073 public List<String> getRef() { 074 if (ref == null) { 075 ref = new ArrayList<String>(); 076 } 077 return this.ref; 078 } 079 080}