|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.openexchange.admin.rmi.dataobjects.Filestore
public class Filestore
This class represents a filestore.
| Constructor Summary | |
|---|---|
Filestore()
Initiates an empty filestore object |
|
Filestore(Integer id)
Initiates a filestore object with given id set |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Integer |
getCurrentContexts()
Returns the current amount of contexts of this filestore object |
Integer |
getId()
Returns the id of this filestore object |
Integer |
getMaxContexts()
Returns the maximum amount of contexts of this filestore object |
Long |
getReserved()
|
Long |
getSize()
Returns the size of this filestore object (in MB) |
String |
getUrl()
Returns the url of this filestore object |
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(Integer currentContexts)
Sets the current amount of contexts for this filestore object |
void |
setId(Integer id)
Sets the id for this filestore object |
void |
setMaxContexts(Integer maxContexts)
Sets the maximum amount of contexts for this filestore object |
void |
setReserved(Long reserved)
|
void |
setSize(Long size)
Sets the size for this filestore object (in MB) |
void |
setUrl(String url)
Sets the url for this filestore object |
void |
setUsed(Long quota_used)
Sets the currently used size for this filestore object (in MB) |
String |
toString()
Constructs a String with all attributes in name = value
format. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Filestore()
public Filestore(Integer id)
id - An Integer containing the id| Method Detail |
|---|
public Integer getId()
Integer containing the idpublic void setId(Integer id)
id - An Integer containing the idpublic String getUrl()
String containing the urlpublic void setUrl(String url)
url - A String containing the urlpublic Long getSize()
Long containing the size (in MB)public void setSize(Long size)
size - A Long containing the size (in MB)public Integer getMaxContexts()
Integer containing the maximum amoung of contextspublic void setMaxContexts(Integer maxContexts)
maxContexts - A String containing the maximum amount of contextspublic Integer getCurrentContexts()
Integer containing the currentpublic void setCurrentContexts(Integer currentContexts)
currentContexts - An Integer containing the current amount of contextspublic Long getUsed()
Long containing the currently used size (in MB)public void setUsed(Long quota_used)
quota_used - A Long containing the currently used sizepublic String toString()
String with all attributes in name = value
format.
toString in class ObjectString representation of this object.public final Long getReserved()
public final void setReserved(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 Objectpublic boolean equals(Object obj)
equals in class Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||