Package ch.inftec.ju.util.persistable.GenericMementoUtils

Examples of ch.inftec.ju.util.persistable.GenericMementoUtils.GenericMementoBuilder.newChild()


        GenericMementoBuilder groupBuilder = setBuilder.newChild()
          .add("groupName", group.getDescriptor().getName())
          .add("groupDescription", group.getDescriptor().getDescription());
         
        for (DbAction action : group.actions) {
          groupBuilder.newChild()
            .add("@type", DbChangeUtils.TYPE_HANDLER.getTypeName(action))
            .add(action.createMemento())
          .childDone();         
        }
       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.