| java.lang.Object org.jpox.util.ViewUtils
ViewUtils | public class ViewUtils (Code) | | Utilities for handling Views.
version: $Revision: 1.4 $ |
checkForCircularViewReferences | public static void checkForCircularViewReferences(Map viewReferences, String referencer_name, String referencee_name, List referenceChain)(Code) | | Check for any circular view references between referencer and referencee.
If one is found, throw a JPOXUserException with the chain of references.
Parameters: viewReferences - The Map of view references to check. Parameters: referencer_name - Name of the class that has the reference. Parameters: referencee_name - Name of the class that is being referenced. Parameters: referenceChain - The List of class names that have been referenced throws: JPOXUserException - If a circular reference is found in the view definitions. |
|
|