Package com.axelor.meta.db
Class MetaSelect
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaSelect
This object stores the selects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addItem
(MetaSelectItem item) Add the givenMetaSelectItem
item to theitems
collection.void
Clear theitems
collection.boolean
getId()
getItems()
getName()
getXmlId()
int
hashCode()
void
removeItem
(MetaSelectItem item) Remove the givenMetaSelectItem
item from theitems
collection.void
void
setItems
(List<MetaSelectItem> items) void
void
void
setPriority
(Integer priority) void
toString()
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
Methods inherited from class com.axelor.db.Model
getArchived, getCid, getVersion, isSelected, setArchived, setCid, setSelected, setVersion
-
Constructor Details
-
MetaSelect
public MetaSelect() -
MetaSelect
-
-
Method Details
-
getId
-
setId
-
getXmlId
-
setXmlId
-
getName
-
setName
-
getPriority
-
setPriority
-
getModule
-
setModule
-
getItems
-
setItems
-
addItem
Add the givenMetaSelectItem
item to theitems
collection.It sets
item.select = this
to ensure the proper relationship.- Parameters:
item
- the item to add
-
removeItem
Remove the givenMetaSelectItem
item from theitems
collection.- Parameters:
item
- the item to remove
-
clearItems
public void clearItems()Clear theitems
collection. -
equals
-
hashCode
public int hashCode() -
toString
-