DefaultAggregateId

data class DefaultAggregateId(val namedAggregate: NamedAggregate, val id: String, val tenantId: String = TenantId.DEFAULT_TENANT_ID) : AggregateId

Constructors

Link copied to clipboard
constructor(namedAggregate: NamedAggregate, id: String, tenantId: String = TenantId.DEFAULT_TENANT_ID)

Properties

Link copied to clipboard
abstract val aggregateName: String
Link copied to clipboard
abstract val contextName: String
Link copied to clipboard
open override val id: String
Link copied to clipboard
open override val namedAggregate: NamedAggregate
Link copied to clipboard
open override val tenantId: String

Functions

Link copied to clipboard
fun NamedAggregate.aggregateId(id: String = generateId(), tenantId: String = TenantId.DEFAULT_TENANT_ID): DefaultAggregateId
Link copied to clipboard
Link copied to clipboard
open operator override fun compareTo(other: AggregateId): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
fun NamedBoundedContext.getContextAlias(boundedContext: BoundedContext? = MetadataSearcher.metadata.contexts[contextName]): String
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard