Class ClassBuffer

java.lang.Object
org.eclipse.persistence.sdo.helper.ClassBuffer

public class ClassBuffer extends Object

Purpose: This class maintains information about a generated class and its corresponding interface

Responsibilities:

  • Hold the StringBuffer contents of the class and interface
  • When the close() method is called the attribute and method buffers are appended to the classbuffer and both the interface buffer and class buffer have the closing brace appended
  • Constructor Details

  • Method Details

    • setAttributeBuffer

      public void setAttributeBuffer(StringBuffer attributeBuffer)
    • getAttributeBuffer

      public StringBuffer getAttributeBuffer()
    • setMethodBuffer

      public void setMethodBuffer(StringBuffer methodBuffer)
    • getMethodBuffer

      public StringBuffer getMethodBuffer()
    • setClassBuffer

      public void setClassBuffer(StringBuffer classBuffer)
    • getClassBuffer

      public StringBuffer getClassBuffer()
    • setInterfaceBuffer

      public void setInterfaceBuffer(StringBuffer interfaceBuffer)
    • getInterfaceBuffer

      public StringBuffer getInterfaceBuffer()
    • close

      public void close()
    • setGenerateInterface

      public void setGenerateInterface(boolean generateInterface)
    • isGenerateInterface

      public boolean isGenerateInterface()
    • setInterfaceName

      public void setInterfaceName(String interfaceName)
    • getInterfaceName

      public String getInterfaceName()
    • setClassName

      public void setClassName(String className)
    • getClassName

      public String getClassName()
    • setPackageName

      public void setPackageName(String packageName)
    • getPackageName

      public String getPackageName()
    • setUri

      public void setUri(String uri)
    • getUri

      public String getUri()
    • setSdoTypeName

      public void setSdoTypeName(String sdoTypeName)
    • getSdoTypeName

      public String getSdoTypeName()
    • setSdoType

      public void setSdoType(SDOType sdoType)
    • getSdoType

      public SDOType getSdoType()