|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.model.BasicModelGenerator
ch.sahits.codegen.generator.BasicAxis2ModelGenerator
public abstract class BasicAxis2ModelGenerator
This abstract class implements some of the required methods that are te same for all Axsis2 artefact generations.
| Field Summary | |
|---|---|
protected IOutputFileModel |
model
Model that defines the setup |
protected IWebservice |
ws
Model that is used for the generation |
| Constructor Summary | |
|---|---|
BasicAxis2ModelGenerator()
Default constructor doing nothing special |
|
| Method Summary | |
|---|---|
IGeneratedObject |
createModel(IProgressMonitor monitor,
IOutputFileModel model)
Create an arbitrary model for the generator class. |
protected java.lang.String |
getAbsolutOutputDirectory()
Retrieve the absolute path to the directory where the output is stored in. |
void |
init(IOutputFileModel outputModel,
IGeneratedObject model)
Initialize the model this generators model The model must be an instance of IWebservice. |
boolean |
isGeneratedOutputFile()
This generator class generate() method returns an IFile instance |
| Methods inherited from class ch.sahits.codegen.model.BasicModelGenerator |
|---|
createModelWithDBInputFile, createModelWithoutDB, initModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IOutputFileModel model
protected IWebservice ws
| Constructor Detail |
|---|
public BasicAxis2ModelGenerator()
| Method Detail |
|---|
public IGeneratedObject createModel(IProgressMonitor monitor,
IOutputFileModel model)
IWebservice from the object model.
monitor - to monitor the progressmodel - Model of the data of the wizard
init(IOutputFileModel, IGeneratedObject)
public void init(IOutputFileModel outputModel,
IGeneratedObject model)
IWebservice.
If the model is not of this type a ClassCastException is thrown
outputModel - IOutputFileModel that defines the setup of the generationmodel - IWebservicepublic boolean isGeneratedOutputFile()
protected java.lang.String getAbsolutOutputDirectory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||