|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mybatis.generator.api.GeneratedFile
public abstract class GeneratedFile
Abstract class that holds information common to all generated files.
| Field Summary | |
|---|---|
protected String |
targetProject
|
| Constructor Summary | |
|---|---|
GeneratedFile(String targetProject)
|
|
| Method Summary | |
|---|---|
abstract String |
getFileName()
Get the file name (without any path). |
abstract String |
getFormattedContent()
This method returns the entire contents of the generated file. |
abstract String |
getTargetPackage()
Get the target package for the file. |
String |
getTargetProject()
Gets the target project. |
abstract boolean |
isMergeable()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String targetProject
| Constructor Detail |
|---|
public GeneratedFile(String targetProject)
| Method Detail |
|---|
public abstract String getFormattedContent()
public abstract String getFileName()
public String getTargetProject()
public abstract String getTargetPackage()
public String toString()
toString in class Objectpublic abstract boolean isMergeable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||