org.uddi.api_v3.Email Maven / Gradle / Ivy
package org.uddi.api_v3;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* Java class for email complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="email">
* <simpleContent>
* <extension base="<urn:uddi-org:api_v3>validationTypeString255">
* <attribute name="useType" type="{urn:uddi-org:api_v3}useType" default="" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "email", propOrder = {
"value"
})
public class Email {
@XmlValue
protected String value;
@XmlAttribute
protected String useType;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the useType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUseType() {
if (useType == null) {
return "";
} else {
return useType;
}
}
/**
* Sets the value of the useType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUseType(String value) {
this.useType = value;
}
}