All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generated.URL Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2013.03.15 at 09:03:15 AM PDT 
//


package generated;

import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;


/**
 * 
 *             A telecommunications address  specified according to
 *             Internet standard RFC 1738
 *             [http://www.ietf.org/rfc/rfc1738.txt]. The
 *             URL specifies the protocol and the contact point defined
 *             by that protocol for the resource.  Notable uses of the
 *             telecommunication address data type are for telephone and
 *             telefax numbers, e-mail addresses, Hypertext references,
 *             FTP references, etc.
 *          
 * 
 * 

Java class for URL complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="URL">
 *   <complexContent>
 *     <extension base="{}ANY">
 *       <attribute name="value" type="{}url" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "URL") @XmlSeeAlso({ TEL.class }) public abstract class URL extends ANY { @XmlAttribute(name = "value") protected String value; /** * 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; } public URL withValue(String value) { setValue(value); return this; } @Override public URL withNullFlavor(String... values) { if (values!= null) { for (String value: values) { getNullFlavor().add(value); } } return this; } @Override public URL withNullFlavor(Collection values) { if (values!= null) { getNullFlavor().addAll(values); } return this; } @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE); } @Override public boolean equals(Object that) { return EqualsBuilder.reflectionEquals(this, that); } @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy