ca.uhn.hl7v3.sourcegen
Class CMPAttributeGenerator

java.lang.Object
  extended by ca.uhn.hl7v3.sourcegen.CMPAttributeGenerator

public class CMPAttributeGenerator
extends java.lang.Object

Generates EJB code related to RIM class attributes, for an entity bean with container managed persistence.

Author:
Bryan Tripp

Constructor Summary
CMPAttributeGenerator()
          Creates a new instance of AttributeGenerator
 
Method Summary
 java.lang.String makeBeanAttribute(AttributeDefinition att)
          Returns public attribute declaration associated with this attribute in CMP Entity Bean.
 java.lang.String makeBeanCode(AttributeDefinition att)
          Returns source code for the methods that represent the given attribute in a CMP Entity EJB implementation.
 java.lang.String makeRemoteCode(AttributeDefinition att)
          Returns source code for the method signatures that represent the given attribute in the EJB remote interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMPAttributeGenerator

public CMPAttributeGenerator()
Creates a new instance of AttributeGenerator

Method Detail

makeRemoteCode

public java.lang.String makeRemoteCode(AttributeDefinition att)
Returns source code for the method signatures that represent the given attribute in the EJB remote interface.


makeBeanCode

public java.lang.String makeBeanCode(AttributeDefinition att)
Returns source code for the methods that represent the given attribute in a CMP Entity EJB implementation.


makeBeanAttribute

public java.lang.String makeBeanAttribute(AttributeDefinition att)
Returns public attribute declaration associated with this attribute in CMP Entity Bean.



Copyright © 2001-2011 University Health Network. All Rights Reserved.