Package com.soffid.iam.model.criteria
Class CriteriaSearchProperties
- java.lang.Object
-
- com.soffid.iam.model.criteria.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
CriteriaSearchProperties.AssociationType
A private class storing the association name and type.
-
Constructor Summary
Constructors Constructor Description CriteriaSearchProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection
getEmbeddedValues(Class type)
Attempts to get the embedded value list for the given type (or returns null if one doesn't exist).static Class
getNavigableAssociationEndType(Class ownerType, String name)
Gets the type of the navigable association end given theownerType
andname
-
-
-
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 theownerType
andname
- Parameters:
ownerType
- the owner of the association.name
- the name of the association end to find.- Returns:
- the type of the association end.
-
-