1 package ca.uhn.hl7v2.model; 2 3 import java.util.List; 4 import java.util.Set; 5 6 /** 7 * Represents a {@link Message} or {@link Group} which contains child elements 8 * for more than one structure type. Super structures are used for convenience since 9 * they allow you to use the same code to handle multiple message types. 10 */ 11 public interface SuperStructure extends Group { 12 13 Set<String> getStructuresWhichChildAppliesTo(String theChildName); 14 15 List<String> getChildNamesForStructure(String theStructure); 16 17 /** 18 * Returns a set containing any non-standard element names that were added 19 * to this structure 20 */ 21 Set<String> getNonStandardNames(); 22 23 }