|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjsdai.lang.EntityMapping
jsdai.lang.AttributeMapping
public class AttributeMapping
This class is part of attribute mapping implementation. It is intended for internal JSDAI use.
| Constructor Summary | |
|---|---|
AttributeMapping(SdaiSession session,
ASdaiModel target,
ASdaiModel mapping,
java.util.Set touchedInstances)
Creates a new AttributeMapping. |
|
| Method Summary | |
|---|---|
boolean |
testMappedAttribute(EEntity targetInstance,
jsdai.mapping.EGeneric_attribute_mapping sourceAttribute,
int mode)
Test whether a given targetInstance does fit to the contraints of attribute_mapping. |
boolean |
testMappedEntity(EEntity targetInstance,
jsdai.mapping.EEntity_mapping sourceEntity,
int mode)
Test whether a given targetInstance does fit to the mapping of entity_mapping. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeMapping(SdaiSession session,
ASdaiModel target,
ASdaiModel mapping,
java.util.Set touchedInstances)
throws SdaiException
AttributeMapping.
session - SdaiSession to attach totarget - The target data domainmapping - The mapping domaintouchedInstances - The output parameter: the instances touched by
mapping operations
SdaiException - if an error occurs during the operation
or in underlying JSDAI operations| Method Detail |
|---|
public boolean testMappedEntity(EEntity targetInstance,
jsdai.mapping.EEntity_mapping sourceEntity,
int mode)
throws SdaiException
targetInstance - an instance, which is tested to be mapping of
sourceEntity.sourceEntity - an entity_mapping which mapping is tested
SdaiException - if an error occurs during the operation
or in underlying JSDAI operations
public boolean testMappedAttribute(EEntity targetInstance,
jsdai.mapping.EGeneric_attribute_mapping sourceAttribute,
int mode)
throws SdaiException
targetInstance - an instance to which parent entity_mapping of
attribute_mapping is mappedsourceAttribute - source attribute which mapping is tested
SdaiException - if an error occurs during the operation
or in underlying JSDAI operations
|
Copyright © LKSoftWare GmbH, 1999-2007 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||