toggle menu
Social-Network
0.1.0-archeo+31d6ff7
jvm
switch theme
search in API
friendship-service
/
social.friendship.domain
/
Message
Message
class
Message
:
AggregateRoot
<
Message.MessageID
>
Class to represent a message.
Members
Types
Companion
Link copied to clipboard
object
Companion
:
Factory
<
Message
>
Factory to create a message.
Message
ID
Link copied to clipboard
data
class
MessageID
constructor
(
val
value
:
UUID
)
:
ID
<
UUID
>
Data class to represent the message ID.
Properties
content
Link copied to clipboard
val
content
:
String
id
Link copied to clipboard
open
val
id
:
Message.MessageID
message
Id
Link copied to clipboard
val
messageId
:
UUID
receiver
Link copied to clipboard
val
receiver
:
User
sender
Link copied to clipboard
val
sender
:
User
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String