java.lang.Object | |
↳ | org.mybatis.generator.api.GeneratedFile |
![]() |
Abstract class that holds information common to all generated files.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the file name (without any path).
| |||||||||||
This method returns the entire contents of the generated file.
| |||||||||||
Get the target package for the file.
| |||||||||||
Gets the target project.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Get the file name (without any path). Clients should use this method to determine how to save the results.
This method returns the entire contents of the generated file. Clients can simply save the value returned from this method as the file contents. Subclasses such as @see org.mybatis.generator.api.GeneratedJavaFile offer more fine grained access to file parts, but still implement this method in the event that the entire contents are desired.
Get the target package for the file. Clients should use this method to determine how to save the results.
Gets the target project. Clients can call this method to determine how to save the results.