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 javax.xml.bind.annotation.XmlAccessType; 012import javax.xml.bind.annotation.XmlAccessorType; 013import javax.xml.bind.annotation.XmlAttribute; 014import javax.xml.bind.annotation.XmlType; 015 016 017/** 018 * <p>Java class for ResultCode complex type. 019 * 020 * <p>The following schema fragment specifies the expected content contained within this class. 021 * 022 * <pre> 023 * <complexType name="ResultCode"> 024 * <complexContent> 025 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 026 * <attribute name="code" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> 027 * <attribute name="descr" type="{urn:oasis:names:tc:DSML:2:0:core}LDAPResultCode" /> 028 * </restriction> 029 * </complexContent> 030 * </complexType> 031 * </pre> 032 * 033 * 034 */ 035@XmlAccessorType(XmlAccessType.FIELD) 036@XmlType(name = "ResultCode", namespace = "urn:oasis:names:tc:DSML:2:0:core") 037public class ResultCode { 038 039 @XmlAttribute(name = "code", required = true) 040 protected int code; 041 @XmlAttribute(name = "descr") 042 protected LDAPResultCode descr; 043 044 /** 045 * Gets the value of the code property. 046 * 047 */ 048 public int getCode() { 049 return code; 050 } 051 052 /** 053 * Sets the value of the code property. 054 * 055 */ 056 public void setCode(int value) { 057 this.code = value; 058 } 059 060 /** 061 * Gets the value of the descr property. 062 * 063 * @return 064 * possible object is 065 * {@link LDAPResultCode } 066 * 067 */ 068 public LDAPResultCode getDescr() { 069 return descr; 070 } 071 072 /** 073 * Sets the value of the descr property. 074 * 075 * @param value 076 * allowed object is 077 * {@link LDAPResultCode } 078 * 079 */ 080 public void setDescr(LDAPResultCode value) { 081 this.descr = value; 082 } 083 084}