public class Field extends Object
<xs:complexType xmlns:ns="http://www.sugarcrm.com/sugarcrm" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="field">
<xs:all>
<xs:element type="xs:string" name="name"/>
<xs:element type="xs:string" name="type"/>
<xs:element type="xs:string" name="label"/>
<xs:element type="xs:int" name="required"/>
<xs:element type="ns:name_value_list" name="options"/>
<xs:element type="xs:string" name="default_value"/>
</xs:all>
</xs:complexType>
| Constructor and Description |
|---|
Field() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue()
Get the 'default_value' element value.
|
String |
getLabel()
Get the 'label' element value.
|
String |
getName()
Get the 'name' element value.
|
NameValueList |
getOptions()
Get the 'options' element value.
|
int |
getRequired()
Get the 'required' element value.
|
String |
getType()
Get the 'type' element value.
|
void |
setDefaultValue(String defaultValue)
Set the 'default_value' element value.
|
void |
setLabel(String label)
Set the 'label' element value.
|
void |
setName(String name)
Set the 'name' element value.
|
void |
setOptions(NameValueList options)
Set the 'options' element value.
|
void |
setRequired(int required)
Set the 'required' element value.
|
void |
setType(String type)
Set the 'type' element value.
|
public String getName()
public void setName(String name)
name - public String getType()
public void setType(String type)
type - public String getLabel()
public void setLabel(String label)
label - public int getRequired()
public void setRequired(int required)
required - public NameValueList getOptions()
public void setOptions(NameValueList options)
options - public String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue - Copyright © 2018 Europeana Foundation. All rights reserved.