001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 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: 2011.11.18 at 02:23:57 PM EST 006 // 007 008 009 package jabber.server.dialback; 010 011 import javax.xml.bind.annotation.XmlAccessType; 012 import javax.xml.bind.annotation.XmlAccessorType; 013 import javax.xml.bind.annotation.XmlAttribute; 014 import javax.xml.bind.annotation.XmlRootElement; 015 import javax.xml.bind.annotation.XmlSchemaType; 016 import javax.xml.bind.annotation.XmlType; 017 import javax.xml.bind.annotation.XmlValue; 018 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 019 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 020 021 022 /** 023 * <p>Java class for anonymous complex type. 024 * 025 * <p>The following schema fragment specifies the expected content contained within this class. 026 * 027 * <pre> 028 * <complexType> 029 * <simpleContent> 030 * <extension base="<http://www.w3.org/2001/XMLSchema>token"> 031 * <attribute name="from" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 032 * <attribute name="to" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 033 * <attribute name="type"> 034 * <simpleType> 035 * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> 036 * <enumeration value="invalid"/> 037 * <enumeration value="valid"/> 038 * </restriction> 039 * </simpleType> 040 * </attribute> 041 * </extension> 042 * </simpleContent> 043 * </complexType> 044 * </pre> 045 * 046 * 047 */ 048 @XmlAccessorType(XmlAccessType.FIELD) 049 @XmlType(name = "", propOrder = { 050 "value" 051 }) 052 @XmlRootElement(name = "result") 053 public class Result { 054 055 @XmlValue 056 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 057 @XmlSchemaType(name = "token") 058 protected String value; 059 @XmlAttribute(required = true) 060 protected String from; 061 @XmlAttribute(required = true) 062 protected String to; 063 @XmlAttribute 064 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 065 protected String type; 066 067 /** 068 * Gets the value of the value property. 069 * 070 * @return 071 * possible object is 072 * {@link String } 073 * 074 */ 075 public String getValue() { 076 return value; 077 } 078 079 /** 080 * Sets the value of the value property. 081 * 082 * @param value 083 * allowed object is 084 * {@link String } 085 * 086 */ 087 public void setValue(String value) { 088 this.value = value; 089 } 090 091 /** 092 * Gets the value of the from property. 093 * 094 * @return 095 * possible object is 096 * {@link String } 097 * 098 */ 099 public String getFrom() { 100 return from; 101 } 102 103 /** 104 * Sets the value of the from property. 105 * 106 * @param value 107 * allowed object is 108 * {@link String } 109 * 110 */ 111 public void setFrom(String value) { 112 this.from = value; 113 } 114 115 /** 116 * Gets the value of the to property. 117 * 118 * @return 119 * possible object is 120 * {@link String } 121 * 122 */ 123 public String getTo() { 124 return to; 125 } 126 127 /** 128 * Sets the value of the to property. 129 * 130 * @param value 131 * allowed object is 132 * {@link String } 133 * 134 */ 135 public void setTo(String value) { 136 this.to = value; 137 } 138 139 /** 140 * Gets the value of the type property. 141 * 142 * @return 143 * possible object is 144 * {@link String } 145 * 146 */ 147 public String getType() { 148 return type; 149 } 150 151 /** 152 * Sets the value of the type property. 153 * 154 * @param value 155 * allowed object is 156 * {@link String } 157 * 158 */ 159 public void setType(String value) { 160 this.type = value; 161 } 162 163 }