org.jboss.jca.codegenerator.code
Class AoInterfaceCodeGen

java.lang.Object
  extended by org.jboss.jca.codegenerator.BaseGen
      extended by org.jboss.jca.codegenerator.code.AbstractCodeGen
          extended by org.jboss.jca.codegenerator.code.AoInterfaceCodeGen

public class AoInterfaceCodeGen
extends AbstractCodeGen

An admin object interface CodeGen.

Version:
$Revision: $
Author:
Jeff Zhang

Constructor Summary
AoInterfaceCodeGen()
          constructor
AoInterfaceCodeGen(int num)
          constructor
 
Method Summary
 String getClassName(Definition def)
          get this class name
 List<ConfigPropType> getConfigProps(Definition def)
          get list of ConfigPropType
 int getNumOfAo()
          Get the numOfAo.
 void setNumOfAo(int numOfAo)
          Set the numOfAo.
 void writeClassBody(Definition def, Writer out)
          Output class
 void writeImport(Definition def, Writer out)
          Output class import
 
Methods inherited from class org.jboss.jca.codegenerator.code.AbstractCodeGen
generate, getNumOfMcf, setNumOfMcf
 
Methods inherited from class org.jboss.jca.codegenerator.BaseGen
writeEol, writeheader, writeIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AoInterfaceCodeGen

public AoInterfaceCodeGen()
constructor


AoInterfaceCodeGen

public AoInterfaceCodeGen(int num)
constructor

Parameters:
num - admin object order
Method Detail

getNumOfAo

public int getNumOfAo()
Get the numOfAo.

Returns:
the numOfAo.

setNumOfAo

public void setNumOfAo(int numOfAo)
Set the numOfAo.

Parameters:
numOfAo - The numOfAo to set.

writeClassBody

public void writeClassBody(Definition def,
                           Writer out)
                    throws IOException
Output class

Specified by:
writeClassBody in class AbstractCodeGen
Parameters:
def - definition
out - Writer
Throws:
IOException - ioException

writeImport

public void writeImport(Definition def,
                        Writer out)
                 throws IOException
Output class import

Specified by:
writeImport in class AbstractCodeGen
Parameters:
def - definition
out - Writer
Throws:
IOException - ioException

getClassName

public String getClassName(Definition def)
get this class name

Specified by:
getClassName in class AbstractCodeGen
Parameters:
def - definition
Returns:
String class name

getConfigProps

public List<ConfigPropType> getConfigProps(Definition def)
get list of ConfigPropType

Parameters:
def - definition
Returns:
List List of ConfigPropType


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)