|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.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 AbstractWrapper
public Object[] getAllLinked()
getAllLinked
in interface Linked
public Collection<?> getCollectionLinkByName(String name)
getCollectionLinkByName
in interface Linked
name
- The collection link name.
public String[] getCollectionLinkNames()
getCollectionLinkNames
in interface Linked
public String[] getLinkNames()
getLinkNames
in interface Linked
public Object getlinkByName(String linkName)
getlinkByName
in interface Linked
linkName
- The link name (from getLinkNames).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |