com.caucho.amber.gen
Class EntityComponent

java.lang.Object
  extended by com.caucho.java.gen.ClassComponent
      extended by com.caucho.amber.gen.AmberMappedComponent
          extended by com.caucho.amber.gen.EntityComponent

public class EntityComponent
extends AmberMappedComponent

Generates the Java code for the wrapped object.


Constructor Summary
EntityComponent()
           
 
Method Summary
 EntityType getEntityType()
          Gets the entity type.
 void setEntityType(EntityType entityType)
          Sets the bean info for the generator
 
Methods inherited from class com.caucho.amber.gen.AmberMappedComponent
generate, generateLogFine, generateLogFinest, getBaseClassName, getBeanClassName, getClassName, getDependencies, isEntityParent, setBaseClassName, setExtClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityComponent

public EntityComponent()
Method Detail

getEntityType

public EntityType getEntityType()
Gets the entity type.

Overrides:
getEntityType in class AmberMappedComponent

setEntityType

public void setEntityType(EntityType entityType)
Sets the bean info for the generator