|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjsdai.lang.SdaiCommon
jsdai.lang.InverseEntity
jsdai.lang.CEntity
jsdai.mapping.CConstraint
jsdai.mapping.CConstraint_attribute
jsdai.lang.CMappingAggregate_member_constraint
This class is a superclass of CAggregate_member_constraint class in package jsdai.mapping. It holds additional functionality needed by mapping operations. It is intended for internal JSDAI use.
| Nested Class Summary |
| Field Summary |
| Fields inherited from class jsdai.mapping.CConstraint_attribute |
definition |
| Fields inherited from interface jsdai.lang.MappingConstraintMatcher |
NON_PATH_VALUE |
| Fields inherited from interface jsdai.lang.EEntity |
MANDATORY_ATTRIBUTES_SET, MOST_SPECIFC_ENTITY, NO_RESTRICTIONS |
| Method Summary | |
MappingConstraintMatcher.MatcherInstances |
findBackward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
Finds instances when the constraint is used not in a path for a backward direction. |
EEntity[] |
findDependentInstances()
Finds dependent instances when the constraint is used in a path for a forward direction. |
MappingConstraintMatcher.MatcherInstances |
findForward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
Finds instances when the constraint is used not in a path for a forward direction. |
MappingConstraintMatcher.MatcherInstances |
findPathBackward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
Finds instances when the constraint is used in a path for a backward direction. |
MappingConstraintMatcher.MatcherInstances |
findPathForward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
Finds instances when the constraint is used in a path for a forward direction. |
void |
mapUsersBackward(jsdai.lang.ObjectMapping mappingContext,
java.util.Set instances)
Makes a step in resolving the result of EEntity.findMappedUsers(jsdai.mapping.EEntity_mapping, jsdai.mapping.AAttribute_mapping, jsdai.lang.ASdaiModel, jsdai.lang.ASdaiModel, jsdai.mapping.AAttribute_mapping, int)
result in a backward direction. |
void |
mapUsersForward(jsdai.lang.ObjectMapping mappingContext,
java.util.Set instances)
Makes a step in resolving the result of EEntity.findMappedUsers(jsdai.mapping.EEntity_mapping, jsdai.mapping.AAttribute_mapping, jsdai.lang.ASdaiModel, jsdai.lang.ASdaiModel, jsdai.mapping.AAttribute_mapping, int)
result in a forward direction. |
| Methods inherited from class jsdai.mapping.CConstraint_attribute |
getInstanceType |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jsdai.lang.SdaiEventSource |
addSdaiListener, removeSdaiListener |
| Method Detail |
public void mapUsersForward(jsdai.lang.ObjectMapping mappingContext,
java.util.Set instances)
throws SdaiException
MappingConstraintPathEEntity.findMappedUsers(jsdai.mapping.EEntity_mapping, jsdai.mapping.AAttribute_mapping, jsdai.lang.ASdaiModel, jsdai.lang.ASdaiModel, jsdai.mapping.AAttribute_mapping, int)
result in a forward direction.
mapUsersForward in interface MappingConstraintPathmappingContext - ObjectMapping as this operation contextinstances - input and output instance set to work with
SdaiException - if an error occurs
public void mapUsersBackward(jsdai.lang.ObjectMapping mappingContext,
java.util.Set instances)
throws SdaiException
MappingConstraintPathEEntity.findMappedUsers(jsdai.mapping.EEntity_mapping, jsdai.mapping.AAttribute_mapping, jsdai.lang.ASdaiModel, jsdai.lang.ASdaiModel, jsdai.mapping.AAttribute_mapping, int)
result in a backward direction.
mapUsersBackward in interface MappingConstraintPathmappingContext - ObjectMapping as this operation contextinstances - input and output instance set to work with
SdaiException - if an error occurs
public MappingConstraintMatcher.MatcherInstances findForward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
throws SdaiException
MappingConstraintMatcher
findForward in interface MappingConstraintMatchermappingContext - The context of this operationinstances - The input instances to get the result withdecCacheUseCnt - true if cache use count should be decreased
SdaiException - if an error occurs during method execution or
in underlying JSDAI operations
public MappingConstraintMatcher.MatcherInstances findBackward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
throws SdaiException
MappingConstraintMatcher
findBackward in interface MappingConstraintMatchermappingContext - The context of this operationinstances - The input instances to get the result withdecCacheUseCnt - true if cache use count should be decreased
SdaiException - if an error occurs during method execution or
in underlying JSDAI operations
public MappingConstraintMatcher.MatcherInstances findPathForward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
throws SdaiException
MappingConstraintMatcher
findPathForward in interface MappingConstraintMatchermappingContext - The context of this operationinstances - The input instances to get the result withdecCacheUseCnt - true if cache use count should be decreased
SdaiException - if an error occurs during method execution or
in underlying JSDAI operations
public EEntity[] findDependentInstances()
throws SdaiException
MappingConstraintMatcher
findDependentInstances in interface MappingConstraintMatcherSdaiException - if an error occurs during method execution or
in underlying JSDAI operations
public MappingConstraintMatcher.MatcherInstances findPathBackward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
throws SdaiException
MappingConstraintMatcher
findPathBackward in interface MappingConstraintMatchermappingContext - The context of this operationinstances - The input instances to get the result withdecCacheUseCnt - true if cache use count should be decreased
SdaiException - if an error occurs during method execution or
in underlying JSDAI operations
|
Copyright © LKSoftWare GmbH, 1999-2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||