toggle menu
piper-kt
9.3.0
common
js
jvm
switch theme
search in API
commons
/
piperkt.common.ddd
Package-level
declarations
Types
Functions
Types
Aggregate
Root
Link copied to clipboard
open
class
AggregateRoot
<
Id
:
EntityId
<
*
>
>
(
id
:
Id
)
:
Entity
<
Id
>
Entity
Link copied to clipboard
open
class
Entity
<
Id
:
EntityId
<
*
>
>
(
val
id
:
Id
)
Entity
Id
Link copied to clipboard
open
class
EntityId
<
Id
>
(
val
value
:
Id
)
Factory
Link copied to clipboard
interface
Factory
<
E
:
Entity
<
*
>
>
Repository
Link copied to clipboard
interface
Repository
<
Id
:
EntityId
<
*
>
,
E
:
AggregateRoot
<
Id
>
>
UUIDEntity
Id
Link copied to clipboard
open
class
UUIDEntityId
(
value
:
String
=
newId()
)
:
EntityId
<
String
>
Value
Object
Link copied to clipboard
interface
ValueObject
Functions
get
UUID
Link copied to clipboard
common
js
jvm
expect
fun
getUUID
(
)
:
String
actual
fun
getUUID
(
)
:
String
actual
fun
getUUID
(
)
:
String