Package com.axelor.meta.db
Class MetaSelect
- java.lang.Object
-
- com.axelor.db.Model
-
- com.axelor.auth.db.AuditableModel
-
- com.axelor.meta.db.MetaSelect
-
@Entity public class MetaSelect extends AuditableModel
This object stores the selects.
-
-
Constructor Summary
Constructors Constructor Description MetaSelect()
MetaSelect(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addItem(MetaSelectItem item)
Add the givenMetaSelectItem
item to theitems
collection.void
clearItems()
Clear theitems
collection.boolean
equals(Object obj)
Long
getId()
List<MetaSelectItem>
getItems()
String
getModule()
String
getName()
Integer
getPriority()
String
getXmlId()
int
hashCode()
void
removeItem(MetaSelectItem item)
Remove the givenMetaSelectItem
item from theitems
collection.void
setId(Long id)
void
setItems(List<MetaSelectItem> items)
void
setModule(String module)
void
setName(String name)
void
setPriority(Integer priority)
void
setXmlId(String xmlId)
String
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 Detail
-
MetaSelect
public MetaSelect()
-
MetaSelect
public MetaSelect(String name)
-
-
Method Detail
-
getXmlId
public String getXmlId()
-
setXmlId
public void setXmlId(String xmlId)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getPriority
public Integer getPriority()
-
setPriority
public void setPriority(Integer priority)
-
getModule
public String getModule()
-
setModule
public void setModule(String module)
-
getItems
public List<MetaSelectItem> getItems()
-
setItems
public void setItems(List<MetaSelectItem> items)
-
addItem
public void addItem(MetaSelectItem item)
Add the givenMetaSelectItem
item to theitems
collection.It sets
item.select = this
to ensure the proper relationship.- Parameters:
item
- the item to add
-
removeItem
public void removeItem(MetaSelectItem item)
Remove the givenMetaSelectItem
item from theitems
collection.- Parameters:
item
- the item to remove
-
clearItems
public void clearItems()
Clear theitems
collection.
-
-