com.hyper9.simdk.codegen.impls
Class MetaClassTypeImpl

java.lang.Object
  extended by com.hyper9.simdk.codegen.impls.MetaTypeImpl
      extended by com.hyper9.simdk.codegen.impls.MetaClassTypeImpl
All Implemented Interfaces:
MetaType
Direct Known Subclasses:
DataObjectTypeImpl, ManagedObjectTypeImpl

public abstract class MetaClassTypeImpl
extends MetaTypeImpl


Constructor Summary
protected MetaClassTypeImpl(Class<?> inType, String inTypeSourceFilePath)
           
 
Method Summary
 void build()
          Builds the type to be written.
 String getCompilationType()
          Gets a string that represents the compilation type (class, interface, enum) of this meta type.
 void writeCompilationTypeContent(Writer out)
          This method is called by the writeToFile method after the beginning of the compilation type is written and before the end of the compilation type is written.
 
Methods inherited from class com.hyper9.simdk.codegen.impls.MetaTypeImpl
addOutImportType, addXmlTypeName, getAnnotations, getInType, getInTypeSourceFilePath, getMethods, getOutImports, getOutType, getPathToOutFile, getProperties, isTypeObject, upCaseFirstChar, writeToFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaClassTypeImpl

protected MetaClassTypeImpl(Class<?> inType,
                            String inTypeSourceFilePath)
Method Detail

build

public void build()
           throws Exception
Description copied from interface: MetaType
Builds the type to be written.

Specified by:
build in interface MetaType
Overrides:
build in class MetaTypeImpl
Throws:
Exception

getCompilationType

public String getCompilationType()
Description copied from interface: MetaType
Gets a string that represents the compilation type (class, interface, enum) of this meta type.

Returns:
A string that represents the compilation type (class, interface, enum) of this meta type.

writeCompilationTypeContent

public void writeCompilationTypeContent(Writer out)
                                 throws Exception
Description copied from interface: MetaType
This method is called by the writeToFile method after the beginning of the compilation type is written and before the end of the compilation type is written.

Parameters:
out - The writer.
Throws:
Exception


Copyright © 2009-2010 Hyper9. All Rights Reserved.