public class Field extends Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultValue |
protected String |
group |
protected String |
label |
protected String |
name |
protected NameValueList |
options |
protected int |
required |
protected String |
type |
| Constructor and Description |
|---|
Field() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue()
Gets the value of the defaultValue property.
|
String |
getGroup()
Gets the value of the group property.
|
String |
getLabel()
Gets the value of the label property.
|
String |
getName()
Gets the value of the name property.
|
NameValueList |
getOptions()
Gets the value of the options property.
|
int |
getRequired()
Gets the value of the required property.
|
String |
getType()
Gets the value of the type property.
|
void |
setDefaultValue(String value)
Sets the value of the defaultValue property.
|
void |
setGroup(String value)
Sets the value of the group property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOptions(NameValueList value)
Sets the value of the options property.
|
void |
setRequired(int value)
Sets the value of the required property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected String name
protected String type
protected String group
protected String label
protected int required
protected NameValueList options
protected String defaultValue
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getGroup()
Stringpublic void setGroup(String value)
value - allowed object is
Stringpublic String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is
Stringpublic int getRequired()
public void setRequired(int value)
public NameValueList getOptions()
NameValueListpublic void setOptions(NameValueList value)
value - allowed object is
NameValueListpublic String getDefaultValue()
StringCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.