org.keridwen.core.messaging
Class DefaultEventKey<ReturnType,MessageType>
java.lang.Object
org.keridwen.core.messaging.DefaultEventKey<ReturnType,MessageType>
- Type Parameters:
ReturnType
- MessageType
-
- All Implemented Interfaces:
- EventKey
public class DefaultEventKey<ReturnType,MessageType>
- extends Object
- implements EventKey
Default event.
- Author:
- B.Thiebault, Artenum SARL
DefaultEventKey
public DefaultEventKey(Class<? extends Command<ReturnType,MessageType>> classToSet)
DefaultEventKey
public DefaultEventKey(String anId,
Class<? extends Command<ReturnType,MessageType>> classToSet)
getCommand
public Class<? extends Command<ReturnType,MessageType>> getCommand()
toString
public String toString()
- Overrides:
toString
in class Object
getId
public String getId()
- Specified by:
getId
in interface EventKey
Copyright © 2010-2013 Artenum. All Rights Reserved.