|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.util.objectwrapper.impl.AbstractWrapper
ch.elca.el4j.util.objectwrapper.impl.LinkedHibernateImpl
public class LinkedHibernateImpl
Hibernate annotation implementation of Linked.
| Field Summary |
|---|
| Fields inherited from class ch.elca.el4j.util.objectwrapper.impl.AbstractWrapper |
|---|
m_target, m_wrapper |
| Constructor Summary | |
|---|---|
LinkedHibernateImpl(SessionFactory sessionFactory)
Create the implementation. |
|
| Method Summary | |
|---|---|
void |
create()
Override this in implementations to instantiate an object. |
Object[] |
getAllLinked()
Convenience method that returns all linked objects regardless of their location. |
Collection<?> |
getCollectionLinkByName(String name)
Get a collection of links by name. |
String[] |
getCollectionLinkNames()
|
Object |
getlinkByName(String linkName)
Get a linked object by name. |
String[] |
getLinkNames()
|
| Methods inherited from class ch.elca.el4j.util.objectwrapper.impl.AbstractWrapper |
|---|
clone, setTarget, setWrapper |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkedHibernateImpl(SessionFactory sessionFactory)
sessionFactory - The session factory.| Method Detail |
|---|
public void create()
create in class AbstractWrapperpublic Object[] getAllLinked()
getAllLinked in interface Linkedpublic Collection<?> getCollectionLinkByName(String name)
getCollectionLinkByName in interface Linkedname - The collection link name.
public String[] getCollectionLinkNames()
getCollectionLinkNames in interface Linkedpublic String[] getLinkNames()
getLinkNames in interface Linkedpublic Object getlinkByName(String linkName)
getlinkByName in interface LinkedlinkName - The link name (from getLinkNames).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||