org.pandora.client.admin
Class PandoraInstance

java.lang.Object
  extended by org.pandora.client.admin.PandoraInstance

@Entity
public class PandoraInstance
extends java.lang.Object


Constructor Summary
PandoraInstance()
           
PandoraInstance(java.lang.String database)
           
 
Method Summary
 boolean equals(java.lang.Object instance)
           
 java.util.List<User> getAdmins()
           
 int getConnects()
           
 java.lang.String getDatabase()
           
 java.lang.String getDescription()
           
 java.util.Calendar getLastConnected()
           
 java.lang.String getLastConnectedUser()
           
 java.util.Calendar getOldLastConnected()
           
 java.lang.String getOldLastConnectedUser()
           
 java.util.List<User> getUsers()
           
 int hashCode()
           
 boolean isAdult()
           
 boolean isPrivate()
           
 void setAdmins(java.util.List<User> admins)
           
 void setAdult(boolean isAdult)
           
 void setConnects(int connects)
           
 void setDatabase(java.lang.String database)
           
 void setDescription(java.lang.String description)
           
 void setLastConnected(java.util.Calendar lastConnected)
           
 void setLastConnectedUser(java.lang.String lastConnectedUser)
           
 void setOldLastConnected(java.util.Calendar oldLastConnected)
           
 void setOldLastConnectedUser(java.lang.String oldLastConnectedUser)
           
 void setPrivate(boolean isPrivate)
           
 void setUsers(java.util.List<User> users)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PandoraInstance

public PandoraInstance()

PandoraInstance

public PandoraInstance(java.lang.String database)
Method Detail

getDatabase

public java.lang.String getDatabase()

setDatabase

public void setDatabase(java.lang.String database)

isPrivate

public boolean isPrivate()

setPrivate

public void setPrivate(boolean isPrivate)

getAdmins

public java.util.List<User> getAdmins()

setAdmins

public void setAdmins(java.util.List<User> admins)

getUsers

public java.util.List<User> getUsers()

setUsers

public void setUsers(java.util.List<User> users)

getOldLastConnectedUser

public java.lang.String getOldLastConnectedUser()

setOldLastConnectedUser

public void setOldLastConnectedUser(java.lang.String oldLastConnectedUser)

getOldLastConnected

public java.util.Calendar getOldLastConnected()

setOldLastConnected

public void setOldLastConnected(java.util.Calendar oldLastConnected)

getLastConnectedUser

public java.lang.String getLastConnectedUser()

setLastConnectedUser

public void setLastConnectedUser(java.lang.String lastConnectedUser)

isAdult

public boolean isAdult()

setAdult

public void setAdult(boolean isAdult)

getConnects

public int getConnects()

setConnects

public void setConnects(int connects)

getLastConnected

public java.util.Calendar getLastConnected()

setLastConnected

public void setLastConnected(java.util.Calendar lastConnected)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object instance)
Overrides:
equals in class java.lang.Object

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object