| 程序包 | 说明 |
|---|---|
| io.github.dddplus.model |
DDD patched building blocks.
|
| io.github.dddplus.model.spcification |
Implementation of Notification Pattern & Specification Pattern.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
BaseAggregateRoot.whenNotSatisfied(Notification notification)
业务规约没有满足时如何处理.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Notification |
Notification.build() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
OrSpecification.isSatisfiedBy(T candidate,
Notification notification) |
boolean |
ISpecification.isSatisfiedBy(T candidate,
Notification notification)
Same as
ISpecification.isSatisfiedBy(Object) except that it accepts Notification to pass more detailed error info. |
boolean |
AndSpecification.isSatisfiedBy(T candidate,
Notification notification) |
Copyright © 2020–2023. All rights reserved.