|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anasoft.os.daofusion.cto.server.NestedPropertyMapping
public abstract class NestedPropertyMapping
Generic persistent entity criteria transfer object mapping supporting a nested property of the target persistent entity.
NestedPropertyMappingGroup,
NestedPropertyCriterion| Constructor Summary | |
|---|---|
NestedPropertyMapping(java.lang.String propertyId,
AssociationPath associationPath,
java.lang.String targetPropertyName)
Creates a new property mapping. |
|
NestedPropertyMapping(java.lang.String propertyId,
java.lang.String propertyPath,
NestedPropertyJoinType associationJoinType)
Deprecated. propertyPath / associationJoinType concept is now deprecated in favor of the associationPath / targetPropertyName approach. |
|
| Method Summary | |
|---|---|
abstract void |
apply(FilterAndSortCriteria clientSideCriteria,
NestedPropertyCriteria serverSideCriteria)
Applies query constraints defined by the clientSideCriteria to the serverSideCriteria according to the property mapping implementation. |
AssociationPath |
getAssociationPath()
|
java.lang.String |
getPropertyId()
|
java.lang.String |
getTargetPropertyName()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public NestedPropertyMapping(java.lang.String propertyId,
java.lang.String propertyPath,
NestedPropertyJoinType associationJoinType)
propertyId - Symbolic persistent entity property identifier.propertyPath - Dot-separated logical path to the target property.associationJoinType - Type of join to use in case of a nested
(non-direct) persistent entity property (can be null otherwise).
public NestedPropertyMapping(java.lang.String propertyId,
AssociationPath associationPath,
java.lang.String targetPropertyName)
propertyId - Symbolic persistent entity property identifier.associationPath - AssociationPath which points
to the given property of the target persistent entity.targetPropertyName - Name of the target property of
the given persistent entity.| Method Detail |
|---|
public java.lang.String getPropertyId()
public java.lang.String getTargetPropertyName()
public AssociationPath getAssociationPath()
AssociationPath which points to the given
property of the target persistent entity.
public abstract void apply(FilterAndSortCriteria clientSideCriteria,
NestedPropertyCriteria serverSideCriteria)
clientSideCriteria - Client-side persistent entity criteria
representation.serverSideCriteria - NestedPropertyCriteria instance
to update.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||