Package org.vrspace.server.obj
Class GroupMessage
java.lang.Object
org.vrspace.server.obj.Entity
org.vrspace.server.obj.GroupMessage
-
Constructor Summary
ConstructorsConstructorDescriptionGroupMessage
(Client from, UserGroup group, String content, Instant timestamp) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected boolean
void
boolean
Attached filesMessage content (text)getFrom()
getGroup()
getLink()
URL shared, only one for the time being.getLocal()
Used along the link, true if the link points to a world on this serverWorld ID, used only for world invitations/sharesint
hashCode()
void
setAttachments
(List<Content> attachments) Attached filesvoid
setContent
(String content) Message content (text)void
void
void
URL shared, only one for the time being.void
Used along the link, true if the link points to a world on this servervoid
setTimestamp
(Instant timestamp) void
setWorldId
(String worldId) World ID, used only for world invitations/sharestoString()
Methods inherited from class org.vrspace.server.obj.Entity
dispose, getId, getObjectId, setId
-
Constructor Details
-
GroupMessage
-
GroupMessage
public GroupMessage()
-
-
Method Details
-
attach
-
detach
-
getFrom
-
getGroup
-
getContent
Message content (text) -
getLink
URL shared, only one for the time being. May be relative (e.g. for local worlds) or absolute (external) -
getWorldId
World ID, used only for world invitations/shares -
getTimestamp
-
getLocal
Used along the link, true if the link points to a world on this server -
getAttachments
Attached files -
setFrom
-
setGroup
-
setContent
Message content (text) -
setLink
URL shared, only one for the time being. May be relative (e.g. for local worlds) or absolute (external) -
setWorldId
World ID, used only for world invitations/shares -
setTimestamp
-
setLocal
Used along the link, true if the link points to a world on this server -
setAttachments
Attached files -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-