|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bm.introspectors.AbstractPersistentClassIntrospector<T>
com.bm.introspectors.EntityBeanIntrospector<T>
T
- -
the type of the class to inspectpublic class EntityBeanIntrospector<T>
This class inspects all relevant fields of an entity bean and holds the information.
Field Summary |
---|
Fields inherited from class com.bm.introspectors.AbstractPersistentClassIntrospector |
---|
fieldInfo, pkFieldInfo |
Constructor Summary | |
---|---|
EntityBeanIntrospector(java.lang.Class<T> toInspect)
Constructor with the class to inspect. |
Method Summary | |
---|---|
java.lang.String |
getDiscriminatorName()
|
java.lang.Class<?> |
getDiscriminatorType()
Returns discriminator type used for the class that is inspected by this object, or null if not used. |
java.lang.String |
getDiscriminatorValue()
|
EmbeddedClassIntrospector<java.lang.Object> |
getEmbeddedPKClass()
Returns the embeddedPKClass. |
protected org.apache.log4j.Logger |
getLogger()
Returns the logger for this class. |
java.lang.String |
getPersistentClassName()
Returns the name of the class to inspect. |
java.lang.Object |
getPrimaryKey(T entityBean)
Returns the pk to delete one entity bean. |
java.lang.String |
getShemaName()
Returns the tableName. |
java.lang.String |
getTableName()
Returns the tableName. |
boolean |
hasEmbeddedPKClass()
Returns the hasPKClass. |
boolean |
hasIdClass()
Returns the hasPKClass. |
boolean |
hasSchema()
Returns if a chema name is persent. |
protected void |
processAccessTypeField(java.lang.Class<T> toInspect)
Overide the abstract implementation of this method, to handle with embedded classes |
boolean |
usesSingleTableInheritance()
|
Methods inherited from class com.bm.introspectors.AbstractPersistentClassIntrospector |
---|
extractGenerator, getField, getPersitentProperties, getPkFields, getPresistentFieldInfo, getPrimaryKeyInfo, getRepresentingClass, getTransientFields, processAccessTypeProperty, setField |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bm.introspectors.Introspector |
---|
getField, getPersitentProperties, getPkFields, getPresistentFieldInfo, getPrimaryKeyInfo, setField |
Constructor Detail |
---|
public EntityBeanIntrospector(java.lang.Class<T> toInspect)
toInspect
- -
the class to inspectMethod Detail |
---|
protected void processAccessTypeField(java.lang.Class<T> toInspect)
processAccessTypeField
in class AbstractPersistentClassIntrospector<T>
toInspect
- -
the class to inspectAbstractPersistentClassIntrospector.processAccessTypeField(java.lang.Class)
public java.lang.Object getPrimaryKey(T entityBean)
entityBean
- -
the entity bean instance
public java.lang.String getTableName()
public java.lang.String getShemaName()
public boolean hasSchema()
public EmbeddedClassIntrospector<java.lang.Object> getEmbeddedPKClass()
public boolean hasEmbeddedPKClass()
public boolean hasIdClass()
public java.lang.String getPersistentClassName()
protected org.apache.log4j.Logger getLogger()
getLogger
in class AbstractPersistentClassIntrospector<T>
public boolean usesSingleTableInheritance()
public java.lang.String getDiscriminatorName()
public java.lang.String getDiscriminatorValue()
public java.lang.Class<?> getDiscriminatorType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |