void setLink(Node node, Relation relation, Node childNode, NodeLink nodeLink)
    {
        nodeLink.setMultiplicity(relation.getType());

        EntityMetadata metadata = KunderaMetadataManager.getEntityMetadata(node.getPersistenceDelegator()
                .getKunderaMetadata(), node.getDataClass());
        nodeLink.setLinkProperties(getLinkProperties(metadata, relation, node.getPersistenceDelegator()
                .getKunderaMetadata()));

        // Add Parent node to this child
        childNode.addParentNode(nodeLink, node);

        // Add child node to this node
        node.addChildNode(nodeLink, childNode);
    }
void setLink ( Node node , Relation relation , Node childNode , NodeLink nodeLink ) { nodeLink . setMultiplicity ( relation . getType ( ) ) ; EntityMetadata metadata = KunderaMetadataManager . getEntityMetadata ( node . getPersistenceDelegator ( ) . getKunderaMetadata ( ) , node . getDataClass ( ) ) ; nodeLink . setLinkProperties ( getLinkProperties ( metadata , relation , node . getPersistenceDelegator ( ) . getKunderaMetadata ( ) ) ) ; childNode . addParentNode ( nodeLink , node ) ; node . addChildNode ( nodeLink , childNode ) ; }
Set link property

@param node
node
@param relation
relation
@param childNode
target node
@param nodeLink
node link(bridge)