public class AccessLimit extends Object implements Serializable
Constructor and Description |
---|
AccessLimit()
Constructor.
|
AccessLimit(String userId,
String serviceId,
String period,
String limitType,
int limitCount)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
int |
getLimitCount()
Returns restriction value.
|
String |
getLimitType()
Returns limitType.
|
String |
getPeriod()
Returns the type of period.
|
String |
getServiceId()
Returns serviceId.
|
String |
getUserId()
Returns userId.
|
int |
hashCode() |
void |
setLimitCount(int limitCount)
Sets restriction value.
|
void |
setLimitType(String limitType)
Sets limitType.
|
void |
setPeriod(String period)
Sets the type of period.
|
void |
setServiceId(String serviceId)
Sets serviceId.
|
void |
setUserId(String userId)
Sets userId.
|
String |
toString() |
public String getUserId()
public void setUserId(String userId)
public String getServiceId()
public void setServiceId(String serviceId)
public String getPeriod()
public void setPeriod(String period)
period
- Type of periodpublic String getLimitType()
public void setLimitType(String limitType)
public int getLimitCount()
public void setLimitCount(int limitCount)
limitCount
- Restriction value