Modifier and Type | Method and Description |
---|---|
void |
addRole(Role item)
Add the given
Role item to the roles . |
void |
clearRoles()
Clear the
roles 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 given
Role item from the roles . |
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() |
getArchived, getVersion, isSelected, setArchived, setSelected, setVersion
public MetaAttrs()
public MetaAttrs(String name)
public String getModel()
public void setModel(String model)
public String getView()
public void setView(String view)
public String getField()
public void setField(String field)
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public String getCondition()
public void setCondition(String condition)
public Integer getOrder()
public void setOrder(Integer order)
public void addRole(Role item)
Role
item to the roles
.item
- the item to addpublic void removeRole(Role item)
Role
item from the roles
.item
- the item to removepublic void clearRoles()
roles
collection.