|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dice.LimitDataAnswer
public class LimitDataAnswer
A block of data about service usage.
$RCSfile: LimitDataAnswer.html,v $
$Author: duket $
$Date: 2010/12/14 16:48:42 $
Original Author: duke _DOT_ takle _AT_ dice _DOT_ com
Date: February, 2010
| Field Summary | |
|---|---|
protected int |
groupHardLimit
Not used at this time. |
protected int |
groupSoftLimit
Not used at this time. |
protected int |
groupViewCount
Not used at this time. |
protected java.lang.String |
message
Some message about the quota view request if it was not successful |
protected int |
returnCode
The return code for the quota view request, 0 implies success. |
protected int |
userHardLimit
The number of calls to #viewCandidate() allowed by the user per month |
protected int |
userSoftLimit
The arbitrary threshold that indicates the user progressing toward the hard limit |
protected int |
userViewCount
The number of calls to #viewCandidate() the user has successfully made. |
| Constructor Summary | |
|---|---|
LimitDataAnswer()
|
|
| Method Summary | |
|---|---|
int |
getGroupHardLimit()
|
int |
getGroupSoftLimit()
|
int |
getGroupViewCount()
|
java.lang.String |
getMessage()
|
int |
getReturnCode()
|
int |
getUserHardLimit()
|
int |
getUserSoftLimit()
|
int |
getUserViewCount()
|
void |
setGroupHardLimit(int groupHardLimit)
|
void |
setGroupSoftLimit(int groupSoftLimit)
|
void |
setGroupViewCount(int groupViewCount)
|
void |
setMessage(java.lang.String message)
|
void |
setReturnCode(int returnCode)
|
void |
setUserHardLimit(int userHardLimit)
|
void |
setUserSoftLimit(int userSoftLimit)
|
void |
setUserViewCount(int userViewCount)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int returnCode
protected java.lang.String message
protected int userHardLimit
protected int groupHardLimit
protected int userSoftLimit
protected int groupSoftLimit
protected int userViewCount
protected int groupViewCount
| Constructor Detail |
|---|
public LimitDataAnswer()
| Method Detail |
|---|
public int getReturnCode()
public void setReturnCode(int returnCode)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public int getUserHardLimit()
public void setUserHardLimit(int userHardLimit)
public int getGroupHardLimit()
public void setGroupHardLimit(int groupHardLimit)
public int getUserSoftLimit()
public void setUserSoftLimit(int userSoftLimit)
public int getGroupSoftLimit()
public void setGroupSoftLimit(int groupSoftLimit)
public int getUserViewCount()
public void setUserViewCount(int userViewCount)
public int getGroupViewCount()
public void setGroupViewCount(int groupViewCount)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||