com.hyper9.simdk.codegen.impls
Class FaultTypeImpl

java.lang.Object
  extended by com.hyper9.simdk.codegen.impls.MetaTypeImpl
      extended by com.hyper9.simdk.codegen.impls.MetaClassTypeImpl
          extended by com.hyper9.simdk.codegen.impls.DataObjectTypeImpl
              extended by com.hyper9.simdk.codegen.impls.FaultTypeImpl
All Implemented Interfaces:
DataObjectType, FaultType, MetaType

public class FaultTypeImpl
extends DataObjectTypeImpl
implements FaultType

A type for representing Vim faults.

Author:
akutz

Field Summary
 
Fields inherited from class com.hyper9.simdk.codegen.impls.DataObjectTypeImpl
ID_PATT
 
Constructor Summary
protected FaultTypeImpl(Class<?> inType, String inTypeSourceFilePath)
          Creates a new instance of the FaultTypeImpl class.
 
Method Summary
 void build()
          Builds the type to be written.
 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.DataObjectTypeImpl
writeToFile
 
Methods inherited from class com.hyper9.simdk.codegen.impls.MetaClassTypeImpl
getCompilationType
 
Methods inherited from class com.hyper9.simdk.codegen.impls.MetaTypeImpl
addOutImportType, addXmlTypeName, getAnnotations, getInType, getInTypeSourceFilePath, getMethods, getOutImports, getOutType, getPathToOutFile, getProperties, isTypeObject, upCaseFirstChar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hyper9.simdk.codegen.types.MetaType
getAnnotations, getCompilationType, getInType, getInTypeSourceFilePath, getMethods, getOutImports, getOutType, getProperties, writeToFile
 

Constructor Detail

FaultTypeImpl

protected FaultTypeImpl(Class<?> inType,
                        String inTypeSourceFilePath)
Creates a new instance of the FaultTypeImpl class.

Parameters:
inType - The VMware type the MetaType is based on.
inTypeSourceFilePath - The full path to the In type's source file.
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 DataObjectTypeImpl
Throws:
Exception

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.

Specified by:
writeCompilationTypeContent in interface MetaType
Overrides:
writeCompilationTypeContent in class DataObjectTypeImpl
Parameters:
out - The writer.
Throws:
Exception


Copyright © 2009-2010 Hyper9. All Rights Reserved.