|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openexchange.admin.rmi.dataobjects.Server
public class Server
This class represents a server.
Constructor Summary | |
---|---|
Server()
Initiates an empty server object |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Integer |
getId()
Returns the id of this server object |
String |
getName()
Returns the name of this server object |
int |
hashCode()
|
boolean |
isIdset()
Used to check if the id field of this server object has been changed |
boolean |
isNameset()
Used to check if the name field of this server object has been changed |
void |
setId(Integer id)
Sets the id for this server object |
void |
setName(String name)
Sets the name for this server object |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Server()
Method Detail |
---|
public Integer getId()
getId
in interface NameAndIdObject
Integer
containing the idpublic void setId(Integer id)
setId
in interface NameAndIdObject
id
- An Integer
containing the idpublic String getName()
getName
in interface NameAndIdObject
String
containing the namepublic void setName(String name)
setName
in interface NameAndIdObject
name
- A String
containing the namepublic String toString()
toString
in class Object
public boolean isIdset()
public boolean isNameset()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |