|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.CriteriaSearchProperties
public class CriteriaSearchProperties
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).
Nested Class Summary | |
---|---|
protected static class |
CriteriaSearchProperties.PropertyType
A private class storing the name and type. |
Constructor Summary | |
---|---|
CriteriaSearchProperties()
|
Method Summary | |
---|---|
static java.util.Collection |
getEmbeddedValues(java.lang.Class type)
Attempts to get the embedded value list for the given type (or returns null if one doesn't exist). |
static java.lang.Class |
getEmbeddedValueType(java.lang.Class ownerType,
java.lang.String name)
Gets the type of the embedded value given the ownerType
and name |
static java.lang.Class |
getNavigableAssociationEndType(java.lang.Class ownerType,
java.lang.String name)
Gets the type of the navigable association end given the ownerType
and name |
static java.lang.Class |
getPropertyType(java.lang.Class ownerType,
java.lang.String name)
Gets the type of the property given the ownerType
and name |
static java.lang.Class |
getPropertyType(java.util.Map properties,
java.lang.Class ownerType,
java.lang.String name)
Gets the type of the embedded value given the ownerType
and name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CriteriaSearchProperties()
Method Detail |
---|
public static java.util.Collection getEmbeddedValues(java.lang.Class type)
type
- the type of which to retrieve the value.
public static java.lang.Class getNavigableAssociationEndType(java.lang.Class ownerType, java.lang.String name)
ownerType
and name
ownerType
- the owner of the association.name
- the name of the association end to find.
public static java.lang.Class getEmbeddedValueType(java.lang.Class ownerType, java.lang.String name)
ownerType
and name
ownerType
- the owner of the association.name
- the name of the association end to find.
public static java.lang.Class getPropertyType(java.util.Map properties, java.lang.Class ownerType, java.lang.String name)
ownerType
and name
ownerType
- the owner of the association.name
- the name of the association end to find.
public static java.lang.Class getPropertyType(java.lang.Class ownerType, java.lang.String name)
ownerType
and name
ownerType
- the owner of the association.name
- the name of the association end to find.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |