gov.nih.nci.cagrid.data.cql.cacore
Class AssociationManyCheckCache

java.lang.Object
  extended by gov.nih.nci.cagrid.data.cql.cacore.AssociationManyCheckCache

public class AssociationManyCheckCache
extends java.lang.Object

AssociationManyCheckCache Checks for an association being a 'many' end of an association (eg. Collection or Array) and caches result

Version:
$Id$
Author:
David W. Ervin

Constructor Summary
AssociationManyCheckCache()
           
 
Method Summary
static boolean isManyAssociation(Object parent, Association target)
          Returns true if the association from parent to target is a many to [one | many] association
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationManyCheckCache

public AssociationManyCheckCache()
Method Detail

isManyAssociation

public static boolean isManyAssociation(Object parent,
                                        Association target)
                                 throws QueryProcessingException
Returns true if the association from parent to target is a many to [one | many] association

Parameters:
parent -
target -
Returns:
True if association starts with many
Throws:
QueryProcessingException