Package org.apache.ojb.odmg.link

Examples of org.apache.ojb.odmg.link.LinkEntryMtoN


    }

    void addM2NLinkEntry(CollectionDescriptor cod, Object leftSource, Object rightSource)
    {
        if(!cod.isMtoNRelation()) throw new OJBRuntimeException("Expect a m:n releation, but specified a 1:n");
        m2nLinkList.add(new LinkEntryMtoN(leftSource, cod, rightSource, false));
    }
View Full Code Here


    }

    void addM2NUnlinkEntry(CollectionDescriptor cod, Object leftSource, Object rightSource)
    {
        if(!cod.isMtoNRelation()) throw new OJBRuntimeException("Expect a m:n releation, but specified a 1:n");
        m2nUnlinkList.add(new LinkEntryMtoN(leftSource, cod, rightSource, true));
    }
View Full Code Here

        }
    }

    void addM2NLinkEntry(CollectionDescriptor cld, Object leftSource, Object rightSource)
    {
        m2nLinkList.add(new LinkEntryMtoN(leftSource, cld, rightSource, false));
    }
View Full Code Here

        }
    }

    void addM2NUnlinkEntry(CollectionDescriptor cld, Object leftSource, Object rightSource)
    {
        m2nUnlinkList.add(new LinkEntryMtoN(leftSource, cld, rightSource, true));
    }
View Full Code Here

    }

    void addM2NLinkEntry(CollectionDescriptor cod, Object leftSource, Object rightSource)
    {
        if(!cod.isMtoNRelation()) throw new OJBRuntimeException("Expect a m:n releation, but specified a 1:n");
        m2nLinkList.add(new LinkEntryMtoN(leftSource, cod, rightSource, false));
    }
View Full Code Here

    }

    void addM2NUnlinkEntry(CollectionDescriptor cod, Object leftSource, Object rightSource)
    {
        if(!cod.isMtoNRelation()) throw new OJBRuntimeException("Expect a m:n releation, but specified a 1:n");
        m2nUnlinkList.add(new LinkEntryMtoN(leftSource, cod, rightSource, true));
    }
View Full Code Here

TOP

Related Classes of org.apache.ojb.odmg.link.LinkEntryMtoN

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.