Package org.vrspace.server.obj
Class UserGroup
java.lang.Object
org.vrspace.server.obj.Entity
org.vrspace.server.obj.UserGroup
Group of users.
- Author:
- joe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@NonNull String
getName()
Group nameint
hashCode()
boolean
isDirect()
Group intended for direct messagingboolean
boolean
isPublic()
Public or private groupboolean
Temporary groups get deleted automaticallyvoid
setDirect
(boolean direct) Group intended for direct messagingvoid
Group namevoid
setPublic
(boolean isPublic) Public or private groupvoid
setTemporary
(boolean temporary) Temporary groups get deleted automaticallyvoid
toString()
Methods inherited from class org.vrspace.server.obj.Entity
dispose, getId, getObjectId, setId
-
Constructor Details
-
UserGroup
-
UserGroup
public UserGroup() -
UserGroup
-
-
Method Details
-
isPrivate
public boolean isPrivate() -
getName
Group name -
isPublic
public boolean isPublic()Public or private group -
isTemporary
public boolean isTemporary()Temporary groups get deleted automatically -
isDirect
public boolean isDirect()Group intended for direct messaging -
getUnread
-
setName
Group name -
setPublic
public void setPublic(boolean isPublic) Public or private group -
setTemporary
public void setTemporary(boolean temporary) Temporary groups get deleted automatically -
setDirect
public void setDirect(boolean direct) Group intended for direct messaging -
setUnread
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-