|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsdai.lang.SdaiCommon jsdai.lang.InverseEntity jsdai.lang.CEntity jsdai.mapping.CConstraint jsdai.mapping.CConstraint_attribute jsdai.lang.CMappingEntity_constraint
This class is a superclass of CEntity_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
MappingConstraintPath
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.
mapUsersForward
in interface MappingConstraintPath
mappingContext
- ObjectMapping
as this operation contextinstances
- input and output instance set to work with
SdaiException
- if an error occurspublic void mapUsersBackward(jsdai.lang.ObjectMapping mappingContext, java.util.Set instances) throws SdaiException
MappingConstraintPath
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.
mapUsersBackward
in interface MappingConstraintPath
mappingContext
- ObjectMapping
as this operation contextinstances
- input and output instance set to work with
SdaiException
- if an error occurspublic MappingConstraintMatcher.MatcherInstances findForward(MappingContext mappingContext, MappingConstraintMatcher.MatcherInstances instances, boolean decCacheUseCnt) throws SdaiException
MappingConstraintMatcher
findForward
in interface MappingConstraintMatcher
mappingContext
- 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 operationspublic MappingConstraintMatcher.MatcherInstances findBackward(MappingContext mappingContext, MappingConstraintMatcher.MatcherInstances instances, boolean decCacheUseCnt) throws SdaiException
MappingConstraintMatcher
findBackward
in interface MappingConstraintMatcher
mappingContext
- 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 operationspublic MappingConstraintMatcher.MatcherInstances findPathForward(MappingContext mappingContext, MappingConstraintMatcher.MatcherInstances instances, boolean decCacheUseCnt) throws SdaiException
MappingConstraintMatcher
findPathForward
in interface MappingConstraintMatcher
mappingContext
- 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 operationspublic EEntity[] findDependentInstances() throws SdaiException
MappingConstraintMatcher
findDependentInstances
in interface MappingConstraintMatcher
SdaiException
- if an error occurs during method execution or
in underlying JSDAI operationspublic MappingConstraintMatcher.MatcherInstances findPathBackward(MappingContext mappingContext, MappingConstraintMatcher.MatcherInstances instances, boolean decCacheUseCnt) throws SdaiException
MappingConstraintMatcher
findPathBackward
in interface MappingConstraintMatcher
mappingContext
- 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 |