org.objectweb.speedo.generation.mivisitor
Class CascadeDeleteSetter

java.lang.Object
  extended by org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
      extended by org.objectweb.speedo.generation.mivisitor.AbstractMetaInfoVisitor
          extended by org.objectweb.speedo.generation.mivisitor.CascadeDeleteSetter
All Implemented Interfaces:
GeneratorComponent, MetaInfoVisitor

public class CascadeDeleteSetter
extends AbstractMetaInfoVisitor

Manage the cascade-delete option.

Author:
Y. Bersihand

Field Summary
 
Fields inherited from class org.objectweb.speedo.generation.mivisitor.AbstractMetaInfoVisitor
LOGGER_NAME
 
Fields inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
debug, logger, personality, scp
 
Constructor Summary
CascadeDeleteSetter(MetaInfoVisitor mim, Personality p)
           
CascadeDeleteSetter(Personality p)
           
 
Method Summary
protected  java.lang.String getLoggerName()
           
 java.lang.String getTitle()
           
 void visitField(SpeedoField sf)
           
 
Methods inherited from class org.objectweb.speedo.generation.mivisitor.AbstractMetaInfoVisitor
getNext, getSpeedoClass, init, process, setNext, visitClass, visitCompilerParameter, visitEnd, visitEndClass, visitExtension, visitIndex, visitPackage, visitSequence, visitXml
 
Methods inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
getLogger, getSpeedoCompilerParameter, getSummary, setLogger, setSpeedoCompilerParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CascadeDeleteSetter

public CascadeDeleteSetter(Personality p)

CascadeDeleteSetter

public CascadeDeleteSetter(MetaInfoVisitor mim,
                           Personality p)
Method Detail

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface GeneratorComponent
Overrides:
getTitle in class AbstractGeneratorComponent
Returns:
a short string (less than 30 characters) representing the title of the component. This string must indicate job of the component.

getLoggerName

protected java.lang.String getLoggerName()
Overrides:
getLoggerName in class AbstractMetaInfoVisitor

visitField

public void visitField(SpeedoField sf)
                throws SpeedoException
Specified by:
visitField in interface MetaInfoVisitor
Overrides:
visitField in class AbstractMetaInfoVisitor
Throws:
SpeedoException