public interface JormCompilerParameter
extends Cloneable, org.objectweb.jorm.util.api.Loggable
A JormCompilerParameter object is an object which manages informations
read by the command line parser. These informations are needed to
the compiler system to parse, generate, and compile.
clone
public Object clone()
computePBindingInheritance
public String computePBindingInheritance(String cn)
Computes the actual class name which the generated PBinding class
must extend.
cn
- The class name of the persistent class for which the
code is generated.
- The computed class name.
computePClassMappingInheritance
public String computePClassMappingInheritance(String cn)
Computes the actual class name which the generated PClassMapping class
must extend.
cn
- The class name of the persistent class for which the
code is generated.
- The computed class name.
getBindingInheritance
public String getBindingInheritance()
- the name of the class inherited by the generated XXXBinding
getClassMappingInheritance
public String getClassMappingInheritance()
getClasspath
public org.objectweb.jorm.util.io.api.PathExplorer getClasspath()
getDtdLocations
public ArrayList getDtdLocations()
getInputFiles
public Collection getInputFiles()
getJavacName
public String getJavacName()
getOutput
public String getOutput()
- the output directory where the generated will be put
getProjectName
public String getProjectName()
isBindingAbstract
public boolean isBindingAbstract()
isGeneratedPDFiles
public boolean isGeneratedPDFiles()
isGeneratedWithMapperPackage
public boolean isGeneratedWithMapperPackage()
isJavac
public boolean isJavac()
isKeepSrc
public boolean isKeepSrc()
isParseOnly
public boolean isParseOnly()
isVerbose
public boolean isVerbose()
- a boolean value indicating if the verbose mode is activated
loadConfFile
public void loadConfFile(InputStream in,
Iterator knownmappers)
throws PException
Load a jorm configuration file.
in
- the input stream of the jorm configuration file
loadConfFile
public void loadConfFile(String file,
Iterator knownmappers)
throws PException
Load a jorm configuration file.
file
- the name of the jorm configuration file
print
public void print()
Prints informations managed by the current object.
setBindingAbstract
public void setBindingAbstract(boolean bindingAbstract)
setBindingInheritance
public void setBindingInheritance(String bindingInheritance)
setClassMappingInheritance
public void setClassMappingInheritance(String classMappingInheritance)
setClasspath
public void setClasspath(org.objectweb.jorm.util.io.api.PathExplorer classpath)
setDtdLocations
public void setDtdLocations(ArrayList dtdLocations)
setGeneratedPDFiles
public void setGeneratedPDFiles(boolean generatedPDFiles)
setGeneratedWithMapperPackage
public void setGeneratedWithMapperPackage(boolean generatedWithMapperPackage)
setInputFiles
public void setInputFiles(Collection inputFiles)
setJavac
public void setJavac(boolean javac)
setKeepSrc
public void setKeepSrc(boolean keepSrc)
setLogConfFile
public void setLogConfFile(String logConfFile)
setOutput
public void setOutput(String output)
setProjectName
public void setProjectName(String projectName)
setVerbose
public void setVerbose(boolean verbose)