public class AccessRight extends Object implements Serializable
Constructor and Description |
---|
AccessRight()
Constructor.
|
AccessRight(String userId,
String serviceId,
boolean permitted)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
String |
getServiceId()
Gets service ID.
|
String |
getUserId()
Gets user ID.
|
int |
hashCode() |
boolean |
isPermitted()
Gets permission flag.
|
void |
setPermitted(boolean permitted)
Sets permission flag.
|
void |
setServiceId(String serviceId)
Sets service ID.
|
void |
setUserId(String userId)
Sets user ID.
|
String |
toString() |
public String getUserId()
public void setUserId(String userId)
userId
- User IDpublic String getServiceId()
public void setServiceId(String serviceId)
serviceId
- Service IDpublic boolean isPermitted()
public void setPermitted(boolean permitted)
permitted
- Permission flag