public class Quota
extends java.lang.Object
implements java.io.Serializable
Quota
- A quota limit representation for a certain module.Constructor and Description |
---|
Quota()
Initializes a new
Quota . |
Quota(long limit,
java.lang.String module)
Initializes a new
Quota . |
Modifier and Type | Method and Description |
---|---|
long |
getLimit()
Gets the limit
|
java.lang.String |
getModule()
Gets the module
|
void |
setLimit(long limit)
Sets the limit
|
void |
setModule(java.lang.String module)
Sets the module
|
public Quota()
Quota
.public Quota(long limit, java.lang.String module)
Quota
.limit
- The limitmodule
- The module identifierpublic long getLimit()
public void setLimit(long limit)
limit
- The limit to setpublic java.lang.String getModule()
public void setModule(java.lang.String module)
module
- The module to set