org.granite.generator.as3
Class DefaultEntityFactory

java.lang.Object
  extended by org.granite.generator.as3.DefaultEntityFactory
All Implemented Interfaces:
EntityFactory
Direct Known Subclasses:
BVEntityFactory, HVEntityFactory

public class DefaultEntityFactory
extends java.lang.Object
implements EntityFactory


Constructor Summary
DefaultEntityFactory()
           
 
Method Summary
 boolean isEntity(java.lang.Class<?> clazz)
           
 boolean isId(JavaFieldProperty fieldProperty)
           
 boolean isLazy(JavaProperty property)
           
 boolean isVersion(JavaProperty property)
           
 JavaType newEntity(JavaTypeFactory provider, java.lang.Class<?> type, java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEntityFactory

public DefaultEntityFactory()
Method Detail

isEntity

public boolean isEntity(java.lang.Class<?> clazz)
Specified by:
isEntity in interface EntityFactory

newEntity

public JavaType newEntity(JavaTypeFactory provider,
                          java.lang.Class<?> type,
                          java.net.URL url)
Specified by:
newEntity in interface EntityFactory

isId

public boolean isId(JavaFieldProperty fieldProperty)
Specified by:
isId in interface EntityFactory

isVersion

public boolean isVersion(JavaProperty property)
Specified by:
isVersion in interface EntityFactory

isLazy

public boolean isLazy(JavaProperty property)
Specified by:
isLazy in interface EntityFactory