/** Perform Mapping. */ public void doMapping() { // Create Entry Set and Entry entrySet = new EntrySet(); entrySet.setLevel(2); entrySet.setVersion(5); EntrySet.Entry entry = new EntrySet.Entry(); // Get Interactor List EntrySet.Entry.InteractorList interactorList = getInteractorList(); // Get Interaction List EntrySet.Entry.InteractionList interactionList = getInteractionList(); // Add to Entry node entry.setInteractorList(interactorList); entry.setInteractionList(interactionList); entrySet.getEntry().add(entry); }