public class Filestore
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Filestore()
Initiates an empty filestore object
|
Filestore(java.lang.Integer id)
Initiates a filestore object with given id set
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCurrentContexts()
Returns the current amount of contexts of this filestore object
|
java.lang.Integer |
getId()
Returns the id of this filestore object
|
java.lang.Integer |
getMaxContexts()
Returns the maximum amount of contexts of this filestore object
|
java.lang.Long |
getReserved() |
java.lang.Long |
getSize()
Returns the size of this filestore object (in MB)
|
java.lang.String |
getUrl()
Returns the url of this filestore object
|
java.lang.Long |
getUsed()
Returns the currently used size of this filestore object (in MB)
|
int |
hashCode() |
boolean |
isCurrentContextsset() |
boolean |
isIdset() |
boolean |
isMaxContextsset() |
boolean |
isReservedset() |
boolean |
isSizeset() |
boolean |
isUrlset() |
boolean |
isUsedset() |
void |
setCurrentContexts(java.lang.Integer currentContexts)
Sets the current amount of contexts for this filestore object
|
void |
setId(java.lang.Integer id)
Sets the id for this filestore object
|
void |
setMaxContexts(java.lang.Integer maxContexts)
Sets the maximum amount of contexts for this filestore object
|
void |
setReserved(java.lang.Long reserved) |
void |
setSize(java.lang.Long size)
Sets the size for this filestore object (in MB)
|
void |
setUrl(java.lang.String url)
Sets the url for this filestore object
|
void |
setUsed(java.lang.Long quota_used)
Sets the currently used size for this filestore object (in MB)
|
java.lang.String |
toString()
Constructs a
String with all attributes in name = value
format. |
public Filestore()
public Filestore(java.lang.Integer id)
id - An Integer containing the idpublic java.lang.Integer getId()
Integer containing the idpublic void setId(java.lang.Integer id)
id - An Integer containing the idpublic java.lang.String getUrl()
String containing the urlpublic void setUrl(java.lang.String url)
url - A String containing the urlpublic java.lang.Long getSize()
Long containing the size (in MB)public void setSize(java.lang.Long size)
size - A Long containing the size (in MB)public java.lang.Integer getMaxContexts()
Integer containing the maximum amoung of contextspublic void setMaxContexts(java.lang.Integer maxContexts)
maxContexts - A String containing the maximum amount of contextspublic java.lang.Integer getCurrentContexts()
Integer containing the currentpublic void setCurrentContexts(java.lang.Integer currentContexts)
currentContexts - An Integer containing the current amount of contextspublic java.lang.Long getUsed()
Long containing the currently used size (in MB)public void setUsed(java.lang.Long quota_used)
quota_used - A Long containing the currently used sizepublic java.lang.String toString()
String with all attributes in name = value
format.toString in class java.lang.ObjectString representation of this object.public final java.lang.Long getReserved()
public final void setReserved(java.lang.Long reserved)
reserved - the reserved to setpublic boolean isCurrentContextsset()
public boolean isIdset()
public boolean isMaxContextsset()
public boolean isReservedset()
public boolean isSizeset()
public boolean isUrlset()
public boolean isUsedset()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object