Class UserCreated
java.lang.Object
com.cloudimpl.outstack.runtime.domainspec.Event<User>
com.cloudimpl.outstack.domain.example.UserCreated
public class UserCreated extends Event<User>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudimpl.outstack.runtime.domainspec.Event
Event.Action, Event.Meta -
Constructor Summary
Constructors Constructor Description UserCreated(java.lang.String username, java.lang.String password) -
Method Summary
Modifier and Type Method Description java.lang.StringentityId()java.lang.Class<? extends Entity>getOwner()java.lang.StringgetPassword()java.lang.Class<? extends RootEntity>getRootOwner()java.lang.StringgetUsername()java.lang.StringrootEntityId()Methods inherited from class com.cloudimpl.outstack.runtime.domainspec.Event
getAction, getBRN, getEntityRN, getEntityTRN, getMeta, getRootEntityRN, getRootEntityTRN, getSeqNum, getTRN, id, isConsumed, isRootEvent, rootId, setAction, setId, setRootId, setSeqNum, setTenantId, tenantId, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
UserCreated
public UserCreated(java.lang.String username, java.lang.String password)
-
-
Method Details
-
getUsername
public java.lang.String getUsername() -
getPassword
public java.lang.String getPassword() -
getOwner
-
getRootOwner
- Specified by:
getRootOwnerin classEvent<User>
-
rootEntityId
public java.lang.String rootEntityId()- Specified by:
rootEntityIdin classEvent<User>
-
entityId
public java.lang.String entityId()
-