Class ClassBuffer
java.lang.Object
org.eclipse.persistence.sdo.helper.ClassBuffer
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getUri()
boolean
void
setAttributeBuffer
(StringBuffer attributeBuffer) void
setClassBuffer
(StringBuffer classBuffer) void
setClassName
(String className) void
setGenerateInterface
(boolean generateInterface) void
setInterfaceBuffer
(StringBuffer interfaceBuffer) void
setInterfaceName
(String interfaceName) void
setMethodBuffer
(StringBuffer methodBuffer) void
setPackageName
(String packageName) void
setSdoType
(SDOType sdoType) void
setSdoTypeName
(String sdoTypeName) void
-
Constructor Details
-
ClassBuffer
-
-
Method Details
-
setAttributeBuffer
-
getAttributeBuffer
-
setMethodBuffer
-
getMethodBuffer
-
setClassBuffer
-
getClassBuffer
-
setInterfaceBuffer
-
getInterfaceBuffer
-
close
public void close() -
setGenerateInterface
public void setGenerateInterface(boolean generateInterface) -
isGenerateInterface
public boolean isGenerateInterface() -
setInterfaceName
-
getInterfaceName
-
setClassName
-
getClassName
-
setPackageName
-
getPackageName
-
setUri
-
getUri
-
setSdoTypeName
-
getSdoTypeName
-
setSdoType
-
getSdoType
-