com.bm.introspectors
Class EmbeddedClassIntrospector<T>

java.lang.Object
  extended by com.bm.introspectors.AbstractPersistentClassIntrospector<T>
      extended by com.bm.introspectors.EmbeddedClassIntrospector<T>
Type Parameters:
T - - the type of the embedded class
All Implemented Interfaces:
Introspector<T>

public class EmbeddedClassIntrospector<T>
extends AbstractPersistentClassIntrospector<T>
implements Introspector<T>

This class inspects all relevant fields of an embedded class and holds the information.

Since:
07.10.2005
Author:
Daniel Wiese

Field Summary
 
Fields inherited from class com.bm.introspectors.AbstractPersistentClassIntrospector
fieldInfo, pkFieldInfo
 
Constructor Summary
EmbeddedClassIntrospector(Property toInspect)
          Constructor with the class to inspect.
 
Method Summary
 Property getAttibuteName()
          Returns the filed/gett/setter Name of the source class.
 java.lang.Class getEmbeddedClassName()
          Returns the embeddedClassName.
protected  org.apache.log4j.Logger getLogger()
          Returns the logger for this class.
 
Methods inherited from class com.bm.introspectors.AbstractPersistentClassIntrospector
extractGenerator, getField, getPersitentProperties, getPkFields, getPresistentFieldInfo, getPrimaryKeyInfo, getRepresentingClass, getTransientFields, processAccessTypeField, 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

EmbeddedClassIntrospector

public EmbeddedClassIntrospector(Property toInspect)
Constructor with the class to inspect.

Parameters:
toInspect - - the class to inspect
Method Detail

getEmbeddedClassName

public java.lang.Class getEmbeddedClassName()
Returns the embeddedClassName.

Returns:
Returns the embeddedClassName.

getAttibuteName

public Property getAttibuteName()
Returns the filed/gett/setter Name of the source class.

Returns:
Returns the attibuteName.

getLogger

protected org.apache.log4j.Logger getLogger()
Returns the logger for this class.

Specified by:
getLogger in class AbstractPersistentClassIntrospector<T>
Returns:


Copyright © 2008. All Rights Reserved.