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.XmlSeeAlso; 018import javax.xml.bind.annotation.XmlType; 019 020 021/** 022 * <p>Java class for DsmlMessage complex type. 023 * 024 * <p>The following schema fragment specifies the expected content contained within this class. 025 * 026 * <pre> 027 * <complexType name="DsmlMessage"> 028 * <complexContent> 029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 030 * <sequence> 031 * <element name="control" type="{urn:oasis:names:tc:DSML:2:0:core}Control" maxOccurs="unbounded" minOccurs="0"/> 032 * </sequence> 033 * <attribute name="requestID" type="{urn:oasis:names:tc:DSML:2:0:core}RequestID" /> 034 * </restriction> 035 * </complexContent> 036 * </complexType> 037 * </pre> 038 * 039 * 040 */ 041@XmlAccessorType(XmlAccessType.FIELD) 042@XmlType(name = "DsmlMessage", namespace = "urn:oasis:names:tc:DSML:2:0:core", propOrder = { 043 "control" 044}) 045@XmlSeeAlso({ 046 ModifyDNRequest.class, 047 ModifyRequest.class, 048 AddRequest.class, 049 AuthRequest.class, 050 SearchRequest.class, 051 ExtendedRequest.class, 052 SearchResultReference.class, 053 AbandonRequest.class, 054 DelRequest.class, 055 LDAPResult.class, 056 SearchResultEntry.class, 057 CompareRequest.class 058}) 059public class DsmlMessage { 060 061 @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core") 062 protected List<Control> control; 063 @XmlAttribute(name = "requestID") 064 protected String requestID; 065 066 /** 067 * Gets the value of the control property. 068 * 069 * <p> 070 * This accessor method returns a reference to the live list, 071 * not a snapshot. Therefore any modification you make to the 072 * returned list will be present inside the JAXB object. 073 * This is why there is not a <CODE>set</CODE> method for the control property. 074 * 075 * <p> 076 * For example, to add a new item, do as follows: 077 * <pre> 078 * getControl().add(newItem); 079 * </pre> 080 * 081 * 082 * <p> 083 * Objects of the following type(s) are allowed in the list 084 * {@link Control } 085 * 086 * 087 */ 088 public List<Control> getControl() { 089 if (control == null) { 090 control = new ArrayList<Control>(); 091 } 092 return this.control; 093 } 094 095 /** 096 * Gets the value of the requestID property. 097 * 098 * @return 099 * possible object is 100 * {@link String } 101 * 102 */ 103 public String getRequestID() { 104 return requestID; 105 } 106 107 /** 108 * Sets the value of the requestID property. 109 * 110 * @param value 111 * allowed object is 112 * {@link String } 113 * 114 */ 115 public void setRequestID(String value) { 116 this.requestID = value; 117 } 118 119}