Package com.axelor.meta.db
Class MetaAttrs
- java.lang.Object
-
- com.axelor.db.Model
-
- com.axelor.meta.db.MetaAttrs
-
@Entity public class MetaAttrs extends Model
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRole(Role item)
Add the givenRole
item to theroles
collection.void
clearRoles()
Clear theroles
collection.boolean
equals(Object obj)
String
getCondition()
String
getField()
Long
getId()
String
getModel()
String
getName()
Integer
getOrder()
Set<Role>
getRoles()
String
getValue()
String
getView()
int
hashCode()
void
removeRole(Role item)
Remove the givenRole
item from theroles
collection.void
setCondition(String condition)
void
setField(String field)
void
setId(Long id)
void
setModel(String model)
void
setName(String name)
void
setOrder(Integer order)
void
setRoles(Set<Role> roles)
void
setValue(String value)
void
setView(String view)
String
toString()
-
Methods inherited from class com.axelor.db.Model
getArchived, getVersion, isSelected, setArchived, setSelected, setVersion
-
-
-
-
Constructor Detail
-
MetaAttrs
public MetaAttrs()
-
MetaAttrs
public MetaAttrs(String name)
-
-
Method Detail
-
getModel
public String getModel()
-
setModel
public void setModel(String model)
-
getView
public String getView()
-
setView
public void setView(String view)
-
getField
public String getField()
-
setField
public void setField(String field)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getCondition
public String getCondition()
-
setCondition
public void setCondition(String condition)
-
getOrder
public Integer getOrder()
-
setOrder
public void setOrder(Integer order)
-
addRole
public void addRole(Role item)
Add the givenRole
item to theroles
collection.- Parameters:
item
- the item to add
-
removeRole
public void removeRole(Role item)
Remove the givenRole
item from theroles
collection.- Parameters:
item
- the item to remove
-
clearRoles
public void clearRoles()
Clear theroles
collection.
-
-