com.rest4j.impl.model.Values Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.10.15 at 09:57:00 AM MSK
//
package com.rest4j.impl.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.XmlType;
/**
* Java class for Values complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Values">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="value" type="{http://rest4j.com/api-description}Value"/>
* </sequence>
* <attribute name="enum" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="doc-method" type="{http://rest4j.com/api-description}identifier" default="toString" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Values", propOrder = {
"value"
})
public class Values {
protected List value;
@XmlAttribute(name = "enum")
protected String _enum;
@XmlAttribute(name = "doc-method")
protected String docMethod;
/**
* Gets the value of the value 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 value property.
*
*
* For example, to add a new item, do as follows:
*
* getValue().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Value }
*
*
*/
public List getValue() {
if (value == null) {
value = new ArrayList();
}
return this.value;
}
/**
* Gets the value of the enum property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEnum() {
return _enum;
}
/**
* Sets the value of the enum property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEnum(String value) {
this._enum = value;
}
/**
* Gets the value of the docMethod property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocMethod() {
if (docMethod == null) {
return "toString";
} else {
return docMethod;
}
}
/**
* Sets the value of the docMethod property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocMethod(String value) {
this.docMethod = value;
}
}