|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsdai.lang.ObjectMapping jsdai.lang.EntityMapping
This class is part of entity mapping implementation. It is intended for internal JSDAI use.
Constructor Summary | |
EntityMapping(SdaiSession session,
ASdaiModel data,
ASdaiModel mapping,
java.util.Set touchedInstances)
Creates a new EntityMapping . |
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 EntityMapping(SdaiSession session, ASdaiModel data, ASdaiModel mapping, java.util.Set touchedInstances) throws SdaiException
EntityMapping
.
session
- SdaiSession
to attach todata
- 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 operationsMethod 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 operationspublic 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-2008 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |