Package org.jboss.jca.codegenerator.code
Class AoInterfaceCodeGen
java.lang.Object
org.jboss.jca.codegenerator.BaseGen
org.jboss.jca.codegenerator.code.AbstractCodeGen
org.jboss.jca.codegenerator.code.AoInterfaceCodeGen
An admin object interface CodeGen.
- Version:
- $Revision: $
- Author:
- Jeff Zhang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClassName(Definition def) get this class namegetConfigProps(Definition def) get list of ConfigPropTypeintGet the numOfAo.voidsetNumOfAo(int numOfAo) Set the numOfAo.voidwriteClassBody(Definition def, Writer out) Output classvoidwriteImport(Definition def, Writer out) Output class importMethods inherited from class org.jboss.jca.codegenerator.code.AbstractCodeGen
generate, getNumOfMcf, getSelfClassName, importLogging, setNumOfMcf, writeLoggingMethods inherited from class org.jboss.jca.codegenerator.BaseGen
writeEol, writeheader, writeIndent
-
Constructor Details
-
AoInterfaceCodeGen
public AoInterfaceCodeGen()constructor -
AoInterfaceCodeGen
public AoInterfaceCodeGen(int num) constructor- Parameters:
num- admin object order
-
-
Method Details
-
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
Output class- Specified by:
writeClassBodyin classAbstractCodeGen- Parameters:
def- definitionout- Writer- Throws:
IOException- ioException
-
writeImport
Output class import- Specified by:
writeImportin classAbstractCodeGen- Parameters:
def- definitionout- Writer- Throws:
IOException- ioException
-
getClassName
get this class name- Specified by:
getClassNamein classAbstractCodeGen- Parameters:
def- definition- Returns:
- String class name
-
getConfigProps
get list of ConfigPropType- Parameters:
def- definition- Returns:
- List
List of ConfigPropType
-