pt.moredata.netbeans.modules.moredatatemplates.generator
Interface Generator

All Known Implementing Classes:
DataEntryGenerator

public interface Generator

DataEntryGenerator.java Company MoreData

Version:
$Revision: 1.1 $
Author:
pcarmo

Method Summary
 org.openide.filesystems.FileObject generate()
          Gera todo o codigo atraves do DataEntryModel.
 void setDataEntryModel(DataEntryModel _model)
          Store the reference to the data information
 boolean validateInformation()
          Validate if the information stored is correct to generate the data entry
 

Method Detail

generate

public org.openide.filesystems.FileObject generate()
                                            throws java.io.IOException
Gera todo o codigo atraves do DataEntryModel.

Returns:
The file object containing the code generated
Throws:
java.io.IOException - An exception trying openning the files or datanot setted

setDataEntryModel

public void setDataEntryModel(DataEntryModel _model)
Store the reference to the data information


validateInformation

public boolean validateInformation()
Validate if the information stored is correct to generate the data entry