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 FieldSpecField
EMPTY_INSTANCE
protected Boolean
filterable
protected String
name
protected Boolean
selectable
protected Boolean
selected
protected Boolean
sortable
protected String
type
protected String
typeNamespace
-
Constructor Summary
Constructors Constructor Description FieldSpecField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldSpecField
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.FieldSpecField
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.protected FieldSpecField
copy(FieldSpecField nobj, boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.boolean
equals(Object o)
String
getName()
Indicates a the name of the sort fieldString
getType()
Indicates the field typeString
getTypeNamespace()
Indicates the field type's namespaceint
hashCode()
Boolean
isFilterable()
Indicates a field is filterableBoolean
isSelectable()
Indicates a field is selectableboolean
isSelected()
Indicates a field is selected by default on importBoolean
isSortable()
Indicates a field is sortablevoid
setFilterable(Boolean value)
Sets the value of the filterable property.void
setName(String value)
Sets the value of the name property.void
setSelectable(Boolean value)
Sets the value of the selectable property.void
setSelected(Boolean value)
Sets the value of the selected property.void
setSortable(Boolean value)
Sets the value of the sortable property.void
setType(String value)
Sets the value of the type property.void
setTypeNamespace(String value)
Sets the value of the typeNamespace property.String
toString()
FieldSpecField
withFilterable(Boolean newValue)
Sets the filterable property to the given newValue and returns this instance.FieldSpecField
withName(String newValue)
Sets the name property to the given newValue and returns this instance.FieldSpecField
withSelectable(Boolean newValue)
Sets the selectable property to the given newValue and returns this instance.FieldSpecField
withSelected(Boolean newValue)
Sets the selected property to the given newValue and returns this instance.FieldSpecField
withSortable(Boolean newValue)
Sets the sortable property to the given newValue and returns this instance.FieldSpecField
withType(String newValue)
Sets the type property to the given newValue and returns this instance.FieldSpecField
withTypeNamespace(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.
-
-