public class

Field

extends Object
java.lang.Object
   ↳ com.sugarcrm.sugarcrm.Field

Class Overview

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>
 

Summary

Fields
protected String defaultValue
protected String group
protected String label
protected String name
protected NameValueList options
protected int required
protected String type
Public Constructors
Field()
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String defaultValue

protected String group

protected String label

protected String name

protected NameValueList options

protected int required

protected String type

Public Constructors

public Field ()

Public Methods

public String getDefaultValue ()

Gets the value of the defaultValue property.

Returns
  • possible object is String

public String getGroup ()

Gets the value of the group property.

Returns
  • possible object is String

public String getLabel ()

Gets the value of the label property.

Returns
  • possible object is String

public String getName ()

Gets the value of the name property.

Returns
  • possible object is String

public NameValueList getOptions ()

Gets the value of the options property.

Returns

public int getRequired ()

Gets the value of the required property.

public String getType ()

Gets the value of the type property.

Returns
  • possible object is String

public void setDefaultValue (String value)

Sets the value of the defaultValue property.

Parameters
value Allowed object is String

public void setGroup (String value)

Sets the value of the group property.

Parameters
value Allowed object is String

public void setLabel (String value)

Sets the value of the label property.

Parameters
value Allowed object is String

public void setName (String value)

Sets the value of the name property.

Parameters
value Allowed object is String

public void setOptions (NameValueList value)

Sets the value of the options property.

Parameters
value Allowed object is NameValueList

public void setRequired (int value)

Sets the value of the required property.

Parameters
value

public void setType (String value)

Sets the value of the type property.

Parameters
value Allowed object is String