org.eclipse.persistence.sdo.helper
Class ClassBuffer
java.lang.Object
org.eclipse.persistence.sdo.helper.ClassBuffer
public class ClassBuffer
- extends java.lang.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassBuffer
public ClassBuffer(SDOClassGeneratorListener sdoClassGeneratorListener)
setAttributeBuffer
public void setAttributeBuffer(java.lang.StringBuffer attributeBuffer)
getAttributeBuffer
public java.lang.StringBuffer getAttributeBuffer()
setMethodBuffer
public void setMethodBuffer(java.lang.StringBuffer methodBuffer)
getMethodBuffer
public java.lang.StringBuffer getMethodBuffer()
setClassBuffer
public void setClassBuffer(java.lang.StringBuffer classBuffer)
getClassBuffer
public java.lang.StringBuffer getClassBuffer()
setInterfaceBuffer
public void setInterfaceBuffer(java.lang.StringBuffer interfaceBuffer)
getInterfaceBuffer
public java.lang.StringBuffer getInterfaceBuffer()
close
public void close()
setGenerateInterface
public void setGenerateInterface(boolean generateInterface)
isGenerateInterface
public boolean isGenerateInterface()
setInterfaceName
public void setInterfaceName(java.lang.String interfaceName)
getInterfaceName
public java.lang.String getInterfaceName()
setClassName
public void setClassName(java.lang.String className)
getClassName
public java.lang.String getClassName()
setPackageName
public void setPackageName(java.lang.String packageName)
getPackageName
public java.lang.String getPackageName()
setUri
public void setUri(java.lang.String uri)
getUri
public java.lang.String getUri()
setSdoTypeName
public void setSdoTypeName(java.lang.String sdoTypeName)
getSdoTypeName
public java.lang.String getSdoTypeName()
setSdoType
public void setSdoType(SDOType sdoType)
getSdoType
public SDOType getSdoType()