ch.sahits.model.java
Interface IGeneratedJavaClass2

All Superinterfaces:
java.lang.Cloneable, IGeneratedObject, IGeneratorClass, IGeneratorClass2
All Known Subinterfaces:
IGeneratedJavaClass, IGeneratedJavaDBClass, IGeneratedJavaDBClass2, IJavaForm
All Known Implementing Classes:
DataBaseTable, GeneratedJavaClass, GeneratedJavaDBClass

public interface IGeneratedJavaClass2
extends IGeneratorClass, IGeneratedObject

This interface defines a Java generated class

Since:
1.2.0
Author:
Andi Hotz

Method Summary
 java.lang.String getClassName()
           
 java.lang.String getGeneratorClassPath()
           
 java.lang.String getInputFilePath()
           
 java.lang.Class[] getInterfaces()
          Convenient method to retrieve an array of all interfaces
 java.lang.String getJetTemplatePath()
           
 IJavaProject getJProject()
           
 java.lang.String getPackageName()
          Get the package name if it exists
 java.lang.String getReferenceImplementationPath()
           
 java.lang.String getSrcPath()
           
 EVisibility getVisibility()
           
 java.util.List<java.lang.Class> interfaces()
           
 boolean isAbstract()
           
 boolean isAstTemplateUse()
          correspondence with CHECKBOX AST generation
 boolean isFinal()
           
 boolean isGeneratorClassPathInPlugin()
           
 boolean isGeneratorUse()
          correspondence with RADIO Button generator
 boolean isJetFileUse()
          correspondence with RADIO Button jetemplate
 boolean isJetTemplateInPlugin()
           
 boolean isJetTemplateUse()
          correspondence with CHECKBOX jetemplate
 boolean isPackageDefault()
          Check if the visibility is package default
 boolean isPrivate()
          Check if the visibility is private
 boolean isProtected()
          Check if the visibility is protected
 boolean isPublic()
          Check if the visibility is public
 boolean isSympleType(java.lang.Class c)
          Check if the class is of a simple type, ie a primitive type or a type from
 
Methods inherited from interface ch.sahits.model.IGeneratorClass
addSuperClass, setClassName
 
Methods inherited from interface ch.sahits.model.IGeneratorClass2
hasSuperClass, superclasses
 

Method Detail

getJProject

IJavaProject getJProject()
Returns:
the jProject

getSrcPath

java.lang.String getSrcPath()
Returns:
the srcPath

getPackageName

java.lang.String getPackageName()
Get the package name if it exists

Returns:
the packageName name of the package or empty string

getClassName

java.lang.String getClassName()
Specified by:
getClassName in interface IGeneratorClass2
Returns:
the className

interfaces

java.util.List<java.lang.Class> interfaces()
Returns:
the interfaces

getInterfaces

java.lang.Class[] getInterfaces()
Convenient method to retrieve an array of all interfaces

Returns:
Array with all interfaces

isJetFileUse

boolean isJetFileUse()
correspondence with RADIO Button jetemplate

Returns:
the jetFileUse

isGeneratorUse

boolean isGeneratorUse()
correspondence with RADIO Button generator

Returns:
the generatorUse

isJetTemplateUse

boolean isJetTemplateUse()
correspondence with CHECKBOX jetemplate

Returns:
the jetTemplateUse

isAstTemplateUse

boolean isAstTemplateUse()
correspondence with CHECKBOX AST generation

Returns:
the astTemplateUse

getInputFilePath

java.lang.String getInputFilePath()
Returns:
the inputFilePath

getJetTemplatePath

java.lang.String getJetTemplatePath()
Returns:
the jetTemplatePath

isJetTemplateInPlugin

boolean isJetTemplateInPlugin()
Returns:
the jetTemplateInPlugin

getGeneratorClassPath

java.lang.String getGeneratorClassPath()
Returns:
the generatorClassPath

isGeneratorClassPathInPlugin

boolean isGeneratorClassPathInPlugin()
Returns:
the generatorClassPathInPlugin

getReferenceImplementationPath

java.lang.String getReferenceImplementationPath()
Returns:
the referenceImplementationPath

isSympleType

boolean isSympleType(java.lang.Class c)
Check if the class is of a simple type, ie a primitive type or a type from

Parameters:
c - Class to be checked
Returns:
true if the class is a simple type

getVisibility

EVisibility getVisibility()
Returns:
the visibility

isFinal

boolean isFinal()
Returns:
the _final

isAbstract

boolean isAbstract()
Returns:
the _abstract

isPublic

boolean isPublic()
Check if the visibility is public

Returns:
true if the visibility is public

isPrivate

boolean isPrivate()
Check if the visibility is private

Returns:
true if the visibility is private

isPackageDefault

boolean isPackageDefault()
Check if the visibility is package default

Returns:
true if the visibility is package default

isProtected

boolean isProtected()
Check if the visibility is protected

Returns:
true if the visibility is protected