jsdai.lang
Class CMappingAttribute_mapping_value

java.lang.Object
  extended byjsdai.lang.SdaiCommon
      extended byjsdai.lang.InverseEntity
          extended byjsdai.lang.CEntity
              extended byjsdai.mapping.CGeneric_attribute_mapping
                  extended byjsdai.mapping.CAttribute_mapping_value
                      extended byjsdai.lang.CMappingAttribute_mapping_value
All Implemented Interfaces:
jsdai.mapping.EAttribute_mapping_value, EEntity, jsdai.mapping.EGeneric_attribute_mapping, MappingConstraintMatcher, SdaiEventSource
Direct Known Subclasses:
CMappingAttribute_mapping_boolean_value, CMappingAttribute_mapping_enumeration_value, CMappingAttribute_mapping_int_value, CMappingAttribute_mapping_logical_value, CMappingAttribute_mapping_real_value, CMappingAttribute_mapping_string_value

public abstract class CMappingAttribute_mapping_value
extends jsdai.mapping.CAttribute_mapping_value
implements MappingConstraintMatcher

This class is a superclass of CAttribute_mapping_value subclasses in package jsdai.mapping. It holds additional functionality needed by mapping operations. It is intended for internal JSDAI use.

Since:
3.6.0

Nested Class Summary
 
Nested classes inherited from class jsdai.lang.MappingConstraintMatcher
MappingConstraintMatcher.AEntityMap, MappingConstraintMatcher.AEntitySet, MappingConstraintMatcher.FixedValueMap, MappingConstraintMatcher.MappingMatcherInstances, MappingConstraintMatcher.MappingPreInstances, MappingConstraintMatcher.MatcherInstances
 
Field Summary
 
Fields inherited from class jsdai.mapping.CAttribute_mapping_value
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.
 
Methods inherited from class jsdai.mapping.CAttribute_mapping_value
getInstanceType, usedinConstraints, usedinData_type, usedinParent_entity, usedinSource
 
Methods inherited from class jsdai.mapping.CGeneric_attribute_mapping
attributeConstraints, attributeData_type, attributeParent_entity, attributeSource, attributeStrong, createData_type, getConstraints, getData_type, getParent_entity, getSource, getStrong, setConstraints, setParent_entity, setSource, setStrong, testConstraints, testData_type, testParent_entity, testSource, testStrong, unsetConstraints, unsetData_type, unsetParent_entity, unsetSource, unsetStrong
 
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.EGeneric_attribute_mapping
createData_type, getConstraints, getData_type, getParent_entity, getSource, getStrong, setConstraints, setParent_entity, setSource, setStrong, testConstraints, testData_type, testParent_entity, testSource, testStrong, unsetConstraints, unsetData_type, unsetParent_entity, unsetSource, unsetStrong
 
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
 
Methods inherited from interface jsdai.lang.SdaiEventSource
addSdaiListener, removeSdaiListener
 

Method Detail

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 operation
instances - The input instances to get the result with
decCacheUseCnt - 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 operation
instances - The input instances to get the result with
decCacheUseCnt - 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 operation
instances - The input instances to get the result with
decCacheUseCnt - 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

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 operation
instances - The input instances to get the result with
decCacheUseCnt - 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

Copyright © LKSoftWare GmbH, 1999-2008