net
.
glorat
.
cqrs
.
example
InventoryItem
Related Docs:
object InventoryItem
|
package example
class
InventoryItem
extends
AggregateRoot
Linear Supertypes
AggregateRoot
,
Logging
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
InventoryItem
AggregateRoot
Logging
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
InventoryItem
(
id_:
GUID
,
name_:
String
)
new
InventoryItem
()
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
applyChange
(
e:
DomainEvent
,
isNew:
Boolean
=
true
)
:
Unit
Definition Classes
AggregateRoot
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
changeName
(
newName:
String
)
:
Unit
def
checkIn
(
count:
Int
)
:
Unit
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
deactivate
()
:
Unit
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getRevision
:
Int
Definition Classes
AggregateRoot
def
getState
:
InventoryItemState
Definition Classes
InventoryItem
→
AggregateRoot
def
getUncommittedChanges
:
Iterable
[
DomainEvent
]
Definition Classes
AggregateRoot
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
id
:
GUID
Definition Classes
InventoryItem
→
AggregateRoot
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
loadFromHistory
(
history:
Traversable
[
DomainEvent
]
,
newRevision:
Int
)
:
Unit
Definition Classes
AggregateRoot
def
loadFromMemento
(
state:
AggregateRootState
,
streamId:
GUID
,
streamRevision:
Int
)
:
Unit
Definition Classes
AggregateRoot
def
loadState
(
savedState:
AggregateRootState
)
:
Unit
Attributes
protected
Definition Classes
AggregateRoot
lazy val
log
:
Logger
Definition Classes
Logging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
remove
(
count:
Int
)
:
Unit
var
state
:
AggregateRootState
Attributes
protected
Definition Classes
InventoryItem
→
AggregateRoot
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AggregateRoot
Inherited from
Logging
Inherited from
AnyRef
Inherited from
Any
Ungrouped