Hi,
I am trying to add relationship between two objects say A (parent) and B (child). Can i add the relationship as virtual even when none of the documents are virtual? What does it signify by saying virtual relationship. Some where i read in long run having a virtual relationship is better than other. Is this statement true or it doesn't matter if use "peer"?
ObjectRelationship objectRelationship = new ObjectRelationship();
objectRelationship.setTarget(retrieveDataObjects(parentID));
objectRelationship.setName(Relationship.VIRTUAL_DOCUMENT_RELATIONSHIP);
objectRelationship.setTargetRole(Relationship.ROLE_CHILD);
Thanks,
Riya