001    /*
002     * This class is an auto-generated source file for a HAPI
003     * HL7 v2.x standard structure class.
004     *
005     * For more information, visit: http://hl7api.sourceforge.net/
006     */
007    
008    package ca.uhn.hl7v2.model.v24.segment;
009    
010    // import ca.uhn.hl7v2.model.v24.group.*;
011    import ca.uhn.hl7v2.model.v24.datatype.*;
012    import ca.uhn.log.HapiLogFactory;
013    import ca.uhn.hl7v2.HL7Exception;
014    import ca.uhn.hl7v2.parser.ModelClassFactory;
015    import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
016    import ca.uhn.hl7v2.model.AbstractMessage;
017    import ca.uhn.hl7v2.model.Group;
018    import ca.uhn.hl7v2.model.Type;
019    import ca.uhn.hl7v2.model.AbstractSegment;
020    import ca.uhn.hl7v2.model.Varies;
021    
022    /**
023     *<p>Represents an HL7 Hxx message segment (${typeDescription}). 
024     * This segment has the following fields:</p>
025     * <ul>
026     * </ul>
027     */
028    public class Hxx extends AbstractSegment {
029    
030        /** 
031         * Creates a new Hxx segment
032         */
033        public Hxx(Group parent, ModelClassFactory factory) {
034           super(parent, factory);
035           init(factory);
036        }
037    
038        private void init(ModelClassFactory factory) {
039        }
040    
041    
042    
043    
044    
045        /** {@inheritDoc} */   
046        protected Type createNewTypeWithoutReflection(int field) {
047           switch (field) {
048              default: return null;
049           }
050       }
051    
052    
053    }
054