Package org.apache.ojb.broker

Examples of org.apache.ojb.broker.MtoNImplementor


     */
    public void unlink(Object source, CollectionDescriptor cds, Object referenceToUnlink)
    {
        if(cds.isMtoNRelation())
        {
            m_broker.deleteMtoNImplementor(new MtoNImplementor(cds, source, referenceToUnlink));
        }
        else
        {
            ClassDescriptor cld = m_broker.getClassDescriptor(referenceToUnlink.getClass());
            m_broker.unlinkFK(referenceToUnlink, cld, cds);
View Full Code Here


     */
    public void link(Object source, CollectionDescriptor cds, Object referenceToLink)
    {
        if(cds.isMtoNRelation())
        {
            m_broker.addMtoNImplementor(new MtoNImplementor(cds, source, referenceToLink));
        }
        else
        {
            ClassDescriptor cld = m_broker.getClassDescriptor(referenceToLink.getClass());
            m_broker.link(referenceToLink, cld, cds, source, false);
View Full Code Here

     */
    public void unlink(Object source, CollectionDescriptor cds, Object referenceToUnlink)
    {
        if(cds.isMtoNRelation())
        {
            m_broker.deleteMtoNImplementor(new MtoNImplementor(source, referenceToUnlink));
        }
        else
        {
            ClassDescriptor cld = m_broker.getClassDescriptor(referenceToUnlink.getClass());
            m_broker.unlinkFK(referenceToUnlink, cld, cds);
View Full Code Here

     */
    public void link(Object source, CollectionDescriptor cds, Object referenceToLink)
    {
        if(cds.isMtoNRelation())
        {
            m_broker.addMtoNImplementor(new MtoNImplementor(source, referenceToLink));
        }
        else
        {
            ClassDescriptor cld = m_broker.getClassDescriptor(referenceToLink.getClass());
            m_broker.link(referenceToLink, cld, cds, source, false);
View Full Code Here

     */
    public void unlink(Object source, CollectionDescriptor cds, Object referenceToUnlink)
    {
        if(cds.isMtoNRelation())
        {
            m_broker.deleteMtoNImplementor(new MtoNImplementor(source, referenceToUnlink));
        }
        else
        {
            ClassDescriptor cld = m_broker.getClassDescriptor(referenceToUnlink.getClass());
            m_broker.unlinkFK(referenceToUnlink, cld, cds);
View Full Code Here

     */
    public void link(Object source, CollectionDescriptor cds, Object referenceToLink)
    {
        if(cds.isMtoNRelation())
        {
            m_broker.addMtoNImplementor(new MtoNImplementor(source, referenceToLink));
        }
        else
        {
            ClassDescriptor cld = m_broker.getClassDescriptor(referenceToLink.getClass());
            m_broker.link(referenceToLink, cld, cds, source, false);
View Full Code Here

TOP

Related Classes of org.apache.ojb.broker.MtoNImplementor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.