public class Selection extends BaseObject implements Serializable
Selection
is used to filter a Resultset
or to display a FieldDef
which uses a list-type (e.g FieldType.LIST_SELECT
).Modifier and Type | Field and Description |
---|---|
protected Boolean |
autosubmit |
protected String |
format |
protected String |
id |
protected List<OptionGroup> |
optionGroups |
protected List<Option> |
options |
protected Label |
title |
protected SelectionType |
type |
Constructor and Description |
---|
Selection() |
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
The format applied to the users-inputs, if any.
|
String |
getId()
The unique id of the selection within the
SelectionGroup . |
List<OptionGroup> |
getOptionGroups()
Gets the value of the optionGroups property.
|
List<Option> |
getOptions()
Gets the value of the options property.
|
Label |
getTitle()
Gets the value of the title property.
|
SelectionType |
getType()
The type of the selection.
|
boolean |
isAutosubmit()
If set to true, a change of the selection value will cause the submission of the data.
|
void |
setAutosubmit(Boolean value)
Sets the value of the autosubmit property.
|
void |
setFormat(String value)
Sets the value of the format property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setTitle(Label value)
Sets the value of the title property.
|
void |
setType(SelectionType value)
Sets the value of the type property.
|
protected Label title
protected List<OptionGroup> optionGroups
protected String id
protected SelectionType type
protected String format
protected Boolean autosubmit
public Label getTitle()
Label
public void setTitle(Label value)
value
- allowed object is
Label
public List<Option> getOptions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the options property.
For example, to add a new item, do as follows:
getOptions().add(newItem);
Objects of the following type(s) are allowed in the list
Option
public List<OptionGroup> getOptionGroups()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the optionGroups property.
For example, to add a new item, do as follows:
getOptionGroups().add(newItem);
Objects of the following type(s) are allowed in the list
OptionGroup
public String getId()
SelectionGroup
.String
public void setId(String value)
value
- allowed object is
String
public SelectionType getType()
SelectionType
public void setType(SelectionType value)
value
- allowed object is
SelectionType
public String getFormat()
String
public void setFormat(String value)
value
- allowed object is
String
public boolean isAutosubmit()
Boolean
Copyright © 2011–2018 aiticon GmbH. All rights reserved.