Constructor and Description |
---|
Server(int id,
java.util.UUID uuid,
java.lang.String name,
java.lang.String webAddress,
int maxPlayers) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Server other) |
boolean |
equals(java.lang.Object o) |
int |
getId() |
java.lang.String |
getIdentifiableName() |
int |
getMaxPlayers() |
java.lang.String |
getName() |
java.util.UUID |
getUuid() |
java.lang.String |
getWebAddress() |
int |
hashCode() |
boolean |
isNotProxy() |
boolean |
isProxy() |
void |
setId(int id) |
void |
setMaxPlayers(int maxPlayers) |
void |
setName(java.lang.String name) |
void |
setWebAddress(java.lang.String webAddress) |
java.lang.String |
toString() |
public Server(int id, java.util.UUID uuid, java.lang.String name, java.lang.String webAddress, int maxPlayers)
public int getId()
public void setId(int id)
public java.util.UUID getUuid()
public java.lang.String getName()
public java.lang.String getIdentifiableName()
public void setName(java.lang.String name)
public java.lang.String getWebAddress()
public void setWebAddress(java.lang.String webAddress)
public int getMaxPlayers()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(Server other)
compareTo
in interface java.lang.Comparable<Server>
public boolean isProxy()
public boolean isNotProxy()
public void setMaxPlayers(int maxPlayers)