|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ibatis.ibator.api.GeneratedFile
org.apache.ibatis.ibator.api.GeneratedJavaFile
public class GeneratedJavaFile
| Constructor Summary | |
|---|---|
GeneratedJavaFile(CompilationUnit compilationUnit,
java.lang.String targetProject)
Default constructor |
|
| Method Summary | |
|---|---|
CompilationUnit |
getCompilationUnit()
This method is required by the Eclipse Java merger. |
java.lang.String |
getFileName()
Get the file name (without any path). |
java.lang.String |
getFormattedContent()
This method returns the entire contents of the generated file. |
java.lang.String |
getTargetPackage()
Get the target package for the file. |
boolean |
isMergeable()
A Java file is mergeable if the getCompilationUnit() method returns a valid compilation unit. |
| Methods inherited from class org.apache.ibatis.ibator.api.GeneratedFile |
|---|
getTargetProject, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeneratedJavaFile(CompilationUnit compilationUnit,
java.lang.String targetProject)
| Method Detail |
|---|
public java.lang.String getFormattedContent()
GeneratedFile
getFormattedContent in class GeneratedFilepublic java.lang.String getFileName()
GeneratedFile
getFileName in class GeneratedFilepublic java.lang.String getTargetPackage()
GeneratedFile
getTargetPackage in class GeneratedFilepublic CompilationUnit getCompilationUnit()
public boolean isMergeable()
isMergeable in class GeneratedFile
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||