de.malkusch.whoisServerList.api.v0.model.Serverlist Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whois-server-list-api Show documentation
Show all versions of whois-server-list-api Show documentation
XML mapping for the Whois Server List.
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.07.15 at 10:20:29 PM CEST
//
package de.malkusch.whoisServerList.api.v0.model;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"notes",
"server"
})
@XmlRootElement(name = "serverlist")
public class Serverlist {
@XmlAttribute(name = "size", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String size;
@XmlElement(required = true)
protected String notes;
protected List server;
/**
* Gets the value of the size property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSize() {
return size;
}
/**
* Sets the value of the size property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSize(String value) {
this.size = value;
}
/**
* Gets the value of the notes property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNotes() {
return notes;
}
/**
* Sets the value of the notes property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNotes(String value) {
this.notes = value;
}
/**
* Gets the value of the server property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the server property.
*
*
* For example, to add a new item, do as follows:
*
* getServer().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Server }
*
*
*/
public List getServer() {
if (server == null) {
server = new ArrayList();
}
return this.server;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy