|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.uhn.hl7v2.conf.classes.generator.builders.DocumentationBuilder
public final class DocumentationBuilder
This Class contains some of the Documentation for the Class to be generated
| Method Summary | |
|---|---|
void |
decorateComponent(GeneratedConformanceContainer genClass,
Component comp)
Adds a table of comments to a Generated Component Class |
void |
decorateConformanceMessage(GeneratedConformanceMessage genClass,
RuntimeProfile runtimeProfile)
Adds a table of comments to a Conformance Message Class |
void |
decorateConstantValue(GeneratedMethod genMethod)
Adds Class Comments to a getMaxLength method |
void |
decorateConstructor(GeneratedMethod constructor,
java.lang.String className)
Adds comments to a generated constructor |
void |
decorateField(GeneratedConformanceContainer genClass,
Field field)
Adds Class Comments to a Generated Field Class |
void |
decorateMaxLength(GeneratedMethod genMethod)
Adds Class Comments to a getMaxLength method |
void |
decorateMaxReps(GeneratedMethod genMethod)
Adds Class Comments to a Maximum Repition Method |
void |
decorateMinReps(GeneratedMethod genMethod)
Adds Class Comments to a Minimum Repition Method |
void |
decoratePrimitive(GeneratedPrimitive genClass,
AbstractComponent ac)
Adds Class Comments to a Generated Primitive Class |
void |
decorateProfileStructure(GeneratedConformanceContainer genClass,
ProfileStructure ps)
Adds Class Comments to a Generated Class |
void |
decorateRepGetter(GeneratedRepGetter genMethod,
Field field,
java.lang.String repType)
Adds Class Comments to a Generated Method |
void |
decorateRepGetter(GeneratedRepGetter genMethod,
ProfileStructure profileStructure,
java.lang.String repType)
Adds Class Comments to a Generated Method |
void |
decorateSegGroup(GeneratedConformanceContainer genClass,
SegGroup segGroup)
Adds Class Comments to a Generated SegGroup Class |
void |
decorateSegment(GeneratedConformanceContainer genClass,
Seg seg)
Adds Class Comments to a Generated Segment Class |
void |
decorateSetValue(GeneratedMethod genMethod,
long maxLength)
|
static DocumentationBuilder |
getDocumentationBuilder()
Returns the singleton instance of the DocumentationBuilder |
java.lang.String |
getGeneratedClassHeader()
Contains the License agreement for the Generated Classes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DocumentationBuilder getDocumentationBuilder()
public void decorateComponent(GeneratedConformanceContainer genClass,
Component comp)
genClass - a GeneratedConformanceContainercomp - the component for which the comments are being added to
public void decorateConformanceMessage(GeneratedConformanceMessage genClass,
RuntimeProfile runtimeProfile)
genClass - a GeneratedConformanceMessageruntimeProfile - the runtimeProfile for which the comments are being added topublic void decorateConstantValue(GeneratedMethod genMethod)
genMethod - the Generated Method to add the constant value comments to
public void decorateConstructor(GeneratedMethod constructor,
java.lang.String className)
constructor - a constructor to add comments tomsg - the message
public void decorateField(GeneratedConformanceContainer genClass,
Field field)
genClass - a GeneratedConformanceContainerfield - the field for which the comments are being added topublic void decorateMaxLength(GeneratedMethod genMethod)
genMethod - a GeneratedMethodpublic void decorateMaxReps(GeneratedMethod genMethod)
genClass - a GeneratedConformanceContainergenMethod - the GeneratedMethod for which the comments are being added topublic void decorateMinReps(GeneratedMethod genMethod)
genClass - a GeneratedConformanceContainergenMethod - the GeneratedMethod for which the comments are being added to
public void decoratePrimitive(GeneratedPrimitive genClass,
AbstractComponent ac)
genClass - a GeneratedConformanceContainerac - the AbstractComponent for which the comments are being added to
public void decorateProfileStructure(GeneratedConformanceContainer genClass,
ProfileStructure ps)
genClass - a GeneratedConformanceContainerps - the Profile Structure for which the comments are being added to
public void decorateRepGetter(GeneratedRepGetter genMethod,
Field field,
java.lang.String repType)
genMethod - a GeneratedRepGetterfield - the field for which the comments are being added torepType - the repetition Type
public void decorateRepGetter(GeneratedRepGetter genMethod,
ProfileStructure profileStructure,
java.lang.String repType)
genMethod - a GeneratedRepGetterprofileStructure - the Profile Structure for which the comments are being added torepType - the repetition Type
public void decorateSegGroup(GeneratedConformanceContainer genClass,
SegGroup segGroup)
genClass - a GeneratedConformanceContainersegGroup - the SegGroup for which the comments are being added to
public void decorateSegment(GeneratedConformanceContainer genClass,
Seg seg)
genClass - a GeneratedConformanceContainerseg - the Segment for which the comments are being added to
public void decorateSetValue(GeneratedMethod genMethod,
long maxLength)
public java.lang.String getGeneratedClassHeader()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||