Package org.axonframework.sample.app.api

Examples of org.axonframework.sample.app.api.AddressChangedEvent


     * @param type    AddressType of the address to add or change
     * @param address Address to add or change
     */
    public void registerAddress(AddressType type, Address address) {
        if (addresses.containsKey(type)) {
            apply(new AddressChangedEvent(id, type, address));
        } else {
            apply(new AddressAddedEvent(id, type, address));
        }
    }
View Full Code Here

TOP

Related Classes of org.axonframework.sample.app.api.AddressChangedEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.