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 TypeMethodDescriptionvoidaddItem(MetaSelectItem item) Add the givenMetaSelectItemitem to theitemscollection.voidClear theitemscollection.booleangetId()getItems()getName()getXmlId()inthashCode()voidremoveItem(MetaSelectItem item) Remove the givenMetaSelectItemitem from theitemscollection.voidvoidsetItems(List<MetaSelectItem> items) voidvoidvoidsetPriority(Integer priority) voidtoString()Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOnMethods 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 givenMetaSelectItemitem to theitemscollection.It sets
item.select = thisto ensure the proper relationship.- Parameters:
item- the item to add
-
removeItem
Remove the givenMetaSelectItemitem from theitemscollection.- Parameters:
item- the item to remove
-
clearItems
public void clearItems()Clear theitemscollection. -
equals
-
hashCode
public int hashCode() -
toString
-