|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.metamodel.specloader.classsubstitutor.ClassSubstitutorAbstract
org.nakedobjects.plugins.hibernate.objectstore.specloader.classsubstitutor.HibernateClassSubstitutor
public class HibernateClassSubstitutor
| Constructor Summary | |
|---|---|
HibernateClassSubstitutor()
|
|
| Method Summary | |
|---|---|
java.lang.Class<?> |
getClass(java.lang.Class<?> cls)
Converts Hibernate's PersistentCollection classes to the correct collection type ( List,
Set or Map ). |
| Methods inherited from class org.nakedobjects.metamodel.specloader.classsubstitutor.ClassSubstitutorAbstract |
|---|
getIgnoredClasses, ignore, init, injectInto, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateClassSubstitutor()
| Method Detail |
|---|
public java.lang.Class<?> getClass(java.lang.Class<?> cls)
PersistentCollection classes to the correct collection type ( List,
Set or Map ).
TODO: this approach prevents programmers from subclassing collection classes. We will therefore need to revisit this area when we get around to adding actions to collection classes.
getClass in interface ClassSubstitutorgetClass in class ClassSubstitutorAbstract
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||