|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.redhat.rhn.domain.BaseDomainHelper
com.redhat.rhn.domain.server.Ram
public class Ram
Represents the amount of ram on a particular server.
| Constructor Summary | |
|---|---|
Ram()
Represents a servers memory information. |
|
| Method Summary | |
|---|---|
java.lang.Long |
getId()
Returns the database id of the ram object. |
long |
getRam()
Returns the amount of total ram on a server. |
Server |
getServer()
The parent server. |
long |
getSwap()
Returns the amount of total swap on a server. |
void |
setId(java.lang.Long idIn)
Sets the database id of the ram object. |
void |
setRam(long ramIn)
Sets the total amount of ram on a server |
void |
setServer(Server serverIn)
Sets the parent server. |
void |
setSwap(long swapIn)
Sets the total swap on a server. |
| Methods inherited from class com.redhat.rhn.domain.BaseDomainHelper |
|---|
getCreated, getModified, setCreated, setModified |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ram()
| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long idIn)
idIn - The id to set.public long getRam()
public void setRam(long ramIn)
ramIn - The total amount of ram on a server.public Server getServer()
public void setServer(Server serverIn)
serverIn - The server to set.public long getSwap()
public void setSwap(long swapIn)
swapIn - The total swap on a server.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||