| |
|
| java.lang.Object net.jforum.entities.QuotaLimit
QuotaLimit | public class QuotaLimit (Code) | | author: Rafael Steil version: $Id: QuotaLimit.java,v 1.5 2005/07/26 03:04:51 rafaelsteil Exp $ |
Field Summary | |
final public static int | KB | final public static int | MB |
KB | final public static int KB(Code) | | |
MB | final public static int MB(Code) | | |
exceedsQuota | public boolean exceedsQuota(long size)(Code) | | Checks if the size passed as argument
is greater than the quota's limit.
Parameters: size - The size to check true if the size is greater thanquota's limit. |
getDescription | public String getDescription()(Code) | | Returns the description. |
getId | public int getId()(Code) | | Returns the id. |
getSize | public int getSize()(Code) | | Returns the size. |
getSizeInBytes | public int getSizeInBytes()(Code) | | |
getType | public int getType()(Code) | | Returns the type. |
setDescription | public void setDescription(String description)(Code) | | Parameters: description - The description to set. |
setId | public void setId(int id)(Code) | | Parameters: id - The id to set. |
setSize | public void setSize(int size)(Code) | | Parameters: size - The size to set. |
setType | public void setType(int type)(Code) | | Parameters: type - The type to set. |
|
|
|