public class Ram extends BaseDomainHelper
Constructor and Description |
---|
Ram()
Represents a servers memory information.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getCreated, getModified, setCreated, setModified, toString
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.