jsdai.lang
Class CMappingInstance_equal
java.lang.Object
jsdai.lang.SdaiCommon
jsdai.lang.InverseEntity
jsdai.lang.CEntity
jsdai.mapping.CConstraint
jsdai.mapping.CConstraint_relationship
jsdai.mapping.CInstance_constraint
jsdai.lang.CMappingInstance_equal
- All Implemented Interfaces:
- jsdai.mapping.EConstraint, jsdai.mapping.EConstraint_relationship, EEntity, jsdai.mapping.EInstance_constraint, MappingConstraintMatcher, SdaiEventSource
- public class CMappingInstance_equal
- extends jsdai.mapping.CInstance_constraint
- implements MappingConstraintMatcher
This class is a superclass of CInstance_equal class in package jsdai.mapping.
It holds additional functionality needed by mapping operations.
It is intended for internal JSDAI use.
- Since:
- 3.6.0
Fields inherited from class jsdai.mapping.CInstance_constraint |
definition |
Methods inherited from class jsdai.mapping.CInstance_constraint |
attributeElement1, getElement1, getInstanceType, setElement1, testElement1, unsetElement1, usedinElement1, usedinElement2 |
Methods inherited from class jsdai.mapping.CConstraint_relationship |
attributeElement2, getElement2, setElement2, testElement2, unsetElement2 |
Methods inherited from class jsdai.lang.CEntity |
addSdaiListener, buildMappedInstance, compareValuesBoolean, compareValuesLogical, copyApplicationInstance, copyValuesFrom, createAggregate, createExternalData, deleteApplicationInstance, findEntityInstanceSdaiModel, findEntityInstanceUsedin, findEntityInstanceUsers, findEntityMappings, findEntityMappings, findInstanceDataTypes, findInstanceRoles, findLinkedMappedInstance, findMappedUsers, findMostSpecificMappings, get_boolean, get_double, get_int, get_inverse, get_object, get, getAllReferences, getAttributeDefinition, getAttributeValueBound, getDescription, getExternalData, getMappedAttribute, getMappedAttribute, getPersistentLabel, getTemp, getTemp, hasMappedAttribute, isInstanceOf, isInstanceOf, isKindOf, isKindOf, isValid, makeUsedin, moveUsersFrom, removeExternalData, removeSdaiListener, set, set, set, set, set, setTemp, setTemp, testAttribute, testAttributeFast, testExternalData, testMappedAttribute, testMappedAttribute, testMappedEntity, testMappedEntity, typeOf, toString, toValue, unsetAttributeValue, validateAggregatesSize, validateAggregatesUniqueness, validateArrayNotOptional, validateBinaryWidth, validateExplicitAttributesReferences, validateInverseAttributes, validateInverseAttributes, validateRealPrecision, validateRequiredExplicitAttributesAssigned, validateStringWidth, validateWhereRule, validateWhereRule |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jsdai.mapping.EConstraint_relationship |
getElement2, setElement2, testElement2, unsetElement2 |
Methods inherited from interface jsdai.lang.EEntity |
buildMappedInstance, compareValuesBoolean, compareValuesLogical, copyApplicationInstance, copyValuesFrom, createAggregate, createExternalData, deleteApplicationInstance, findEntityInstanceSdaiModel, findEntityInstanceUsedin, findEntityInstanceUsers, findEntityMappings, findEntityMappings, findInstanceDataTypes, findInstanceRoles, findLinkedMappedInstance, findMappedUsers, findMostSpecificMappings, get_boolean, get_double, get_int, get_inverse, get_object, get, getAllReferences, getAttributeDefinition, getAttributeValueBound, getDescription, getExternalData, getMappedAttribute, getMappedAttribute, getPersistentLabel, getTemp, getTemp, hasMappedAttribute, isInstanceOf, isInstanceOf, isKindOf, isKindOf, isValid, moveUsersFrom, removeExternalData, set, set, set, set, set, setTemp, setTemp, testAttribute, testExternalData, testMappedAttribute, testMappedAttribute, testMappedEntity, testMappedEntity, typeOf, toString, unsetAttributeValue, validateAggregatesSize, validateAggregatesUniqueness, validateArrayNotOptional, validateBinaryWidth, validateExplicitAttributesReferences, validateInverseAttributes, validateInverseAttributes, validateRealPrecision, validateRequiredExplicitAttributesAssigned, validateStringWidth, validateWhereRule, validateWhereRule |
findForward
public MappingConstraintMatcher.MatcherInstances findForward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
throws SdaiException
- Description copied from interface:
MappingConstraintMatcher
- Finds instances when the constraint is used not in a path for a forward direction.
It is meant for mapping operations internal use.
- Specified by:
findForward
in interface MappingConstraintMatcher
- Parameters:
mappingContext
- The context of this operationinstances
- The input instances to get the result withdecCacheUseCnt
- true if cache use count should be decreased
- Returns:
- The resulting output instances
- Throws:
SdaiException
- if an error occurs during method execution or
in underlying JSDAI operations- Since:
- 4.1.0
findBackward
public MappingConstraintMatcher.MatcherInstances findBackward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
throws SdaiException
- Description copied from interface:
MappingConstraintMatcher
- Finds instances when the constraint is used not in a path for a backward direction.
It is meant for mapping operations internal use.
- Specified by:
findBackward
in interface MappingConstraintMatcher
- Parameters:
mappingContext
- The context of this operationinstances
- The input instances to get the result withdecCacheUseCnt
- true if cache use count should be decreased
- Returns:
- The resulting output instances
- Throws:
SdaiException
- if an error occurs during method execution or
in underlying JSDAI operations- Since:
- 4.1.0
findPathForward
public MappingConstraintMatcher.MatcherInstances findPathForward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
throws SdaiException
- Description copied from interface:
MappingConstraintMatcher
- Finds instances when the constraint is used in a path for a forward direction.
It is meant for mapping operations internal use.
- Specified by:
findPathForward
in interface MappingConstraintMatcher
- Parameters:
mappingContext
- The context of this operationinstances
- The input instances to get the result withdecCacheUseCnt
- true if cache use count should be decreased
- Returns:
- The resulting output instances
- Throws:
SdaiException
- if an error occurs during method execution or
in underlying JSDAI operations- Since:
- 4.1.0
findDependentInstances
public EEntity[] findDependentInstances()
throws SdaiException
- Description copied from interface:
MappingConstraintMatcher
- Finds dependent instances when the constraint is used in a path
for a forward direction. It is meant for mapping operations internal use.
- Specified by:
findDependentInstances
in interface MappingConstraintMatcher
- Returns:
- The dependent instances
- Throws:
SdaiException
- if an error occurs during method execution or
in underlying JSDAI operations- Since:
- 4.1.0
findPathBackward
public MappingConstraintMatcher.MatcherInstances findPathBackward(MappingContext mappingContext,
MappingConstraintMatcher.MatcherInstances instances,
boolean decCacheUseCnt)
throws SdaiException
- Description copied from interface:
MappingConstraintMatcher
- Finds instances when the constraint is used in a path for a backward direction.
It is meant for mapping operations internal use.
- Specified by:
findPathBackward
in interface MappingConstraintMatcher
- Parameters:
mappingContext
- The context of this operationinstances
- The input instances to get the result withdecCacheUseCnt
- true if cache use count should be decreased
- Returns:
- The resulting output instances
- Throws:
SdaiException
- if an error occurs during method execution or
in underlying JSDAI operations- Since:
- 4.1.0