com.sugarcrm.ws.soap.Field Maven / Gradle / Ivy
package com.sugarcrm.ws.soap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for field complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="field">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="group" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="required" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="options" type="{http://www.sugarcrm.com/sugarcrm}name_value_list"/>
* <element name="default_value" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "field", propOrder = {
})
public class Field {
@XmlElement(required = true)
protected java.lang.String name;
@XmlElement(required = true)
protected java.lang.String type;
@XmlElement(required = true)
protected java.lang.String group;
@XmlElement(required = true)
protected java.lang.String label;
protected int required;
@XmlElement(required = true)
protected NameValueList options;
@XmlElement(name = "default_value", required = true)
protected java.lang.String defaultValue;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setName(java.lang.String value) {
this.name = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setType(java.lang.String value) {
this.type = value;
}
/**
* Gets the value of the group property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getGroup() {
return group;
}
/**
* Sets the value of the group property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setGroup(java.lang.String value) {
this.group = value;
}
/**
* Gets the value of the label property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setLabel(java.lang.String value) {
this.label = value;
}
/**
* Gets the value of the required property.
*
*/
public int getRequired() {
return required;
}
/**
* Sets the value of the required property.
*
*/
public void setRequired(int value) {
this.required = value;
}
/**
* Gets the value of the options property.
*
* @return
* possible object is
* {@link NameValueList }
*
*/
public NameValueList getOptions() {
return options;
}
/**
* Sets the value of the options property.
*
* @param value
* allowed object is
* {@link NameValueList }
*
*/
public void setOptions(NameValueList value) {
this.options = value;
}
/**
* Gets the value of the defaultValue property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getDefaultValue() {
return defaultValue;
}
/**
* Sets the value of the defaultValue property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setDefaultValue(java.lang.String value) {
this.defaultValue = value;
}
}