ca.uhn.hl7v2.conf.classes.generator.builders
Class ConformanceSegGroupBuilder

java.lang.Object
  extended by ca.uhn.hl7v2.conf.classes.generator.builders.ConformanceSegGroupBuilder

public class ConformanceSegGroupBuilder
extends java.lang.Object

This Class builds Conformance SegGroup Classes

Author:
James AgnewPaul BrohmanMitch DelachevrotiereShawn DyckCory Metcalf

Constructor Summary
ConformanceSegGroupBuilder(java.lang.String packageName, java.lang.String version, DeploymentManager depManager, java.lang.String structID)
          This constructor will create a new ConformanceSegmentBuilder
 
Method Summary
 void buildClass(SegGroup segGroup, java.lang.String parentUnderlyingType, ProfileName profileName)
          This method will build all the field children for this Segment
static java.lang.String generateSegGroupName(SegGroup segGroup)
          This method creates the segment group name which is comprised of all the underlying segments names put together
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConformanceSegGroupBuilder

public ConformanceSegGroupBuilder(java.lang.String packageName,
                                  java.lang.String version,
                                  DeploymentManager depManager,
                                  java.lang.String structID)
This constructor will create a new ConformanceSegmentBuilder

Parameters:
packageName - the name of the package
versionString - the version of HL7 which these classes are conforming to
depManager - the instance of DeploymentManager
Method Detail

buildClass

public void buildClass(SegGroup segGroup,
                       java.lang.String parentUnderlyingType,
                       ProfileName profileName)
This method will build all the field children for this Segment

Parameters:
segGroup - the SegGroup to build
parentUnderlyingType - the data type of the parent Message for this field example "ca.uhn.hl7v2.model.v24.group.ADR_A19_..."
profileName - this is the profile name associated with this Class

generateSegGroupName

public static java.lang.String generateSegGroupName(SegGroup segGroup)
This method creates the segment group name which is comprised of all the underlying segments names put together

Parameters:
segGroup - the SegGroup to build