@Entity public class Role extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JOIN_POSITIONS
Pozwala dołączyć stanowiska, które posiadają role
|
Constructor and Description |
---|
Role(String packageId,
String processDefId,
String roleId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getId() |
String |
getPackageId() |
Set<Position> |
getPositions() |
String |
getProcessDefId() |
String |
getRoleId() |
String |
getRoleName() |
int |
hashCode() |
boolean |
isPackageLevel() |
boolean |
isProcessLevel() |
void |
setId(Long id) |
void |
setPackageId(String packageId) |
void |
setPositions(Set<Position> positions) |
void |
setProcessDefId(String processDefId) |
void |
setRoleId(String roleId) |
String |
toString() |
public static final String JOIN_POSITIONS
public Long getId()
public void setId(Long id)
id
- the id to setpublic String getRoleId()
public void setRoleId(String roleId)
roleId
- the roleId to setpublic String getPackageId()
public void setPackageId(String packageId)
packageId
- the packageId to setpublic String getProcessDefId()
public void setProcessDefId(String processDefId)
processDefId
- the processDefId to setpublic void setPositions(Set<Position> positions)
positions
- the positions to setpublic boolean isPackageLevel()
public boolean isProcessLevel()
public String getRoleName()
Copyright © 2019 Suncode. All rights reserved.