Class FieldSpecField
- java.lang.Object
-
- com.boomi.connector.api.annotation.FieldSpecField
-
- All Implemented Interfaces:
Serializable
public class FieldSpecField extends Object implements Serializable
Indicates a field that should be listed as selectable, sortable, or filterableJava class for FieldSpecField complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FieldSpecField"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="filterable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="sortable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="selectable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="typeNamespace" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="selected" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static FieldSpecFieldEMPTY_INSTANCEprotected Booleanfilterableprotected Stringnameprotected Booleanselectableprotected Booleanselectedprotected Booleansortableprotected Stringtypeprotected StringtypeNamespace
-
Constructor Summary
Constructors Constructor Description FieldSpecField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldSpecFieldcopy()Deep copies the fields of the this model into a new instance of this class and returns it.FieldSpecFieldcopy(boolean isDeep)Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.protected FieldSpecFieldcopy(FieldSpecField nobj, boolean isDeep)Copies the fields of the this model (optionally deeply) into the given instance and returns it.booleanequals(Object o)StringgetName()Indicates a the name of the sort fieldStringgetType()Indicates the field typeStringgetTypeNamespace()Indicates the field type's namespaceinthashCode()BooleanisFilterable()Indicates a field is filterableBooleanisSelectable()Indicates a field is selectablebooleanisSelected()Indicates a field is selected by default on importBooleanisSortable()Indicates a field is sortablevoidsetFilterable(Boolean value)Sets the value of the filterable property.voidsetName(String value)Sets the value of the name property.voidsetSelectable(Boolean value)Sets the value of the selectable property.voidsetSelected(Boolean value)Sets the value of the selected property.voidsetSortable(Boolean value)Sets the value of the sortable property.voidsetType(String value)Sets the value of the type property.voidsetTypeNamespace(String value)Sets the value of the typeNamespace property.StringtoString()FieldSpecFieldwithFilterable(Boolean newValue)Sets the filterable property to the given newValue and returns this instance.FieldSpecFieldwithName(String newValue)Sets the name property to the given newValue and returns this instance.FieldSpecFieldwithSelectable(Boolean newValue)Sets the selectable property to the given newValue and returns this instance.FieldSpecFieldwithSelected(Boolean newValue)Sets the selected property to the given newValue and returns this instance.FieldSpecFieldwithSortable(Boolean newValue)Sets the sortable property to the given newValue and returns this instance.FieldSpecFieldwithType(String newValue)Sets the type property to the given newValue and returns this instance.FieldSpecFieldwithTypeNamespace(String newValue)Sets the typeNamespace property to the given newValue and returns this instance.
-
-
-
Field Detail
-
name
protected String name
-
filterable
protected Boolean filterable
-
sortable
protected Boolean sortable
-
selectable
protected Boolean selectable
-
type
protected String type
-
typeNamespace
protected String typeNamespace
-
selected
protected Boolean selected
-
EMPTY_INSTANCE
public static final FieldSpecField EMPTY_INSTANCE
-
-
Method Detail
-
getName
public String getName()
Indicates a the name of the sort field- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isFilterable
public Boolean isFilterable()
Indicates a field is filterable- Returns:
- possible object is
Boolean
-
setFilterable
public void setFilterable(Boolean value)
Sets the value of the filterable property.- Parameters:
value- allowed object isBoolean
-
isSortable
public Boolean isSortable()
Indicates a field is sortable- Returns:
- possible object is
Boolean
-
setSortable
public void setSortable(Boolean value)
Sets the value of the sortable property.- Parameters:
value- allowed object isBoolean
-
isSelectable
public Boolean isSelectable()
Indicates a field is selectable- Returns:
- possible object is
Boolean
-
setSelectable
public void setSelectable(Boolean value)
Sets the value of the selectable property.- Parameters:
value- allowed object isBoolean
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getTypeNamespace
public String getTypeNamespace()
Indicates the field type's namespace- Returns:
- possible object is
String
-
setTypeNamespace
public void setTypeNamespace(String value)
Sets the value of the typeNamespace property.- Parameters:
value- allowed object isString
-
isSelected
public boolean isSelected()
Indicates a field is selected by default on import- Returns:
- possible object is
Boolean
-
setSelected
public void setSelected(Boolean value)
Sets the value of the selected property.- Parameters:
value- allowed object isBoolean
-
copy
public FieldSpecField copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
-
copy
public FieldSpecField copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
-
copy
protected FieldSpecField copy(FieldSpecField nobj, boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
-
withName
public FieldSpecField withName(String newValue)
Sets the name property to the given newValue and returns this instance.
-
withFilterable
public FieldSpecField withFilterable(Boolean newValue)
Sets the filterable property to the given newValue and returns this instance.
-
withSortable
public FieldSpecField withSortable(Boolean newValue)
Sets the sortable property to the given newValue and returns this instance.
-
withSelectable
public FieldSpecField withSelectable(Boolean newValue)
Sets the selectable property to the given newValue and returns this instance.
-
withType
public FieldSpecField withType(String newValue)
Sets the type property to the given newValue and returns this instance.
-
withTypeNamespace
public FieldSpecField withTypeNamespace(String newValue)
Sets the typeNamespace property to the given newValue and returns this instance.
-
withSelected
public FieldSpecField withSelected(Boolean newValue)
Sets the selected property to the given newValue and returns this instance.
-
-