com.hyper9.simdk.codegen.impls
Class DataObjectTypeImpl
java.lang.Object
   com.hyper9.simdk.codegen.impls.MetaTypeImpl
com.hyper9.simdk.codegen.impls.MetaTypeImpl
       com.hyper9.simdk.codegen.impls.MetaClassTypeImpl
com.hyper9.simdk.codegen.impls.MetaClassTypeImpl
           com.hyper9.simdk.codegen.impls.DataObjectTypeImpl
com.hyper9.simdk.codegen.impls.DataObjectTypeImpl
- All Implemented Interfaces: 
- DataObjectType, MetaType
- Direct Known Subclasses: 
- FaultTypeImpl
- public class DataObjectTypeImpl 
- extends MetaClassTypeImpl- implements DataObjectType
A meta type for VMware data objects.
- Author:
- akutz
 
| Constructor Summary | 
| protected  | DataObjectTypeImpl(Class<?> inType,
                   String inTypeSourceFilePath)Creates a new instance of the DataObjectTypeImpl 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.
 | 
|  void | writeToFile(String path)Writes the meta type to a file.
 | 
 
 
| 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 | 
 
 
ID_PATT
protected static final String ID_PATT
- See Also:
- Constant Field Values
DataObjectTypeImpl
protected DataObjectTypeImpl(Class<?> inType,
                             String inTypeSourceFilePath)
- Creates a new instance of the DataObjectTypeImpl class.
 
- Parameters:
- inType- The VMware type the MetaType is based on.
- inTypeSourceFilePath- The full path to the In type's source file.
 
build
public void build()
           throws Exception
- Description copied from interface: MetaType
- Builds the type to be written.
 
- 
- Specified by:
- buildin interface- MetaType
- Overrides:
- buildin class- MetaClassTypeImpl
 
- 
- Throws:
- Exception
 
writeToFile
public void writeToFile(String path)
                 throws Exception
- Description copied from interface: MetaType
- Writes the meta type to a file.
 
- 
- Specified by:
- writeToFilein interface- MetaType
- Overrides:
- writeToFilein class- MetaTypeImpl
 
- 
- Parameters:
- path- The path of the root directory to write the file.
- Throws:
- Exception- When an error occurs.
 
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:
- writeCompilationTypeContentin interface- MetaType
- Overrides:
- writeCompilationTypeContentin class- MetaClassTypeImpl
 
- 
- Parameters:
- out- The writer.
- Throws:
- Exception
 
Copyright © 2009-2010 Hyper9. All Rights Reserved.