Class CriteriaSearchProperties


  • public class CriteriaSearchProperties
    extends Object
    Stores the embedded values and asssociations of all entities in the system by type. Is used to determine the appropriate parameter name when an embedded value's property is referenced as the attribute to search by (as opposed to an association).
    Author:
    Chad Brandon
    • Constructor Detail

      • CriteriaSearchProperties

        public CriteriaSearchProperties()
    • Method Detail

      • getEmbeddedValues

        public static Collection getEmbeddedValues​(Class type)
        Attempts to get the embedded value list for the given type (or returns null if one doesn't exist).
        Parameters:
        type - the type of which to retrieve the value.
        Returns:
        the collection of embedded value names.
      • getNavigableAssociationEndType

        public static Class getNavigableAssociationEndType​(Class ownerType,
                                                           String name)
        Gets the type of the navigable association end given the ownerType and name
        Parameters:
        ownerType - the owner of the association.
        name - the name of the association end to find.
        Returns:
        the type of the association end.