|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A MappingPopulationCreator
is used as callbacks for
AIM2ARM conversion algorithm. Classes implementing this interface
ensure actual ARM data creation. AIM2ARM conversion algorithm just
calls methods of this interface with the collected information.
SdaiSession.convertMapping(jsdai.lang.MappingContext)
,
MappingContext
Method Summary | |
void |
createSourceInstance(jsdai.mapping.EEntity_mapping type,
java.util.Collection targetInstances)
Creates source (ARM) instances. |
java.util.Set |
preprocessTargetInstances(jsdai.mapping.EEntity_mapping type)
|
void |
setSourceAttributeValues(jsdai.mapping.EEntity_mapping type,
EEntity targetInstance,
java.util.Map sourceValues)
Assigns attribute values to source (ARM) instance. |
Method Detail |
public void createSourceInstance(jsdai.mapping.EEntity_mapping type, java.util.Collection targetInstances) throws SdaiException
convertMapping
invocation.
It is invoked by the algorithm only once per entity mapping. The conversion algorithm
guarantees that each entity instance passed to setSourceAttributeValues
through sourceValues
parameter is previosly passed to
createSourceInstance
method through targetInstances
parameter.
type
- the entity mapping to source (ARM) type of the instancestargetInstances
- the unique collection of instances in target (AIM) population
matching source (ARM) entiy type identified by type
parameter
SdaiException
- if underlying JSDAI exception occurssetSourceAttributeValues(jsdai.mapping.EEntity_mapping, jsdai.lang.EEntity, java.util.Map)
public void setSourceAttributeValues(jsdai.mapping.EEntity_mapping type, EEntity targetInstance, java.util.Map sourceValues) throws SdaiException
convertMapping
invocation.
It is invoked by the algorithm only once per type
,
targetInstances
pair.
type
- the entity mapping to source (ARM) type of the instancetargetInstance
- the target (AIM) instance which matches source (ARM) entiy
type identified by type
parametersourceValues
- the map of attribute values.generic_attribute_mappings
for all attributes of this source (ARM) instance.Collection
of before mentioned objects for aggregates.
SdaiException
- if underlying JSDAI exception occurscreateSourceInstance(jsdai.mapping.EEntity_mapping, java.util.Collection)
public java.util.Set preprocessTargetInstances(jsdai.mapping.EEntity_mapping type) throws SdaiException
SdaiException
|
Copyright © LKSoftWare GmbH, 1999-2008 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |