|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsdai.lang.SdaiContext
This class servers as context for several JSDAI operations. The main purposes of this class are the following:
Field Summary | |
ASdaiModel |
domain
Provides the domain for usedin in expressions, mapping operations, etc. |
java.util.Hashtable |
mapHashTable
Provides hash table structure to store target data set for Express-X map schema |
SdaiModel |
mappedWorkingModel
Provides ARM model used by some mapping operations. |
ASdaiModel |
mappingDomain
Provides the mapping domain for mapping operations |
jsdai.dictionary.ESchema_definition |
schema
Provides the schema for typeOf() |
jsdai.mapping.ESchema_mapping |
schemaMapping
Provides schema mapping for Express-X operations. |
SdaiModel |
src_model
Provides source model for Express-X map. |
SdaiModel |
tar_model
Provides target model for Express-X map. |
jsdai.mapping.EUof_mapping[] |
uofs
Provides uof list used by some mapping operations. |
SdaiModel |
working_model
Used when temporory instances are needed to be created during the evaluation of expressions. |
ASdaiModel |
working_modelAggr
Provides the aggregate of working models. |
Constructor Summary | |
SdaiContext()
Creates an empty SdaiContext . |
|
SdaiContext(EEntity inst)
Creates a new SdaiContext . |
|
SdaiContext(jsdai.dictionary.ESchema_definition a_schema,
ASdaiModel a_domain,
SdaiModel a_working_model)
Creates a new SdaiContext . |
|
SdaiContext(SdaiModel workingModel)
Creates a new SdaiContext based on working model. |
Method Summary | |
boolean |
isUofMapping(java.lang.String uofName)
Returns true, if provided UOF is found in context's usable UOF's |
void |
setUofMappings(java.lang.String[] values)
Sets the list of uofs for mapping operations. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public jsdai.dictionary.ESchema_definition schema
public ASdaiModel domain
public ASdaiModel mappingDomain
public SdaiModel working_model
public ASdaiModel working_modelAggr
public SdaiModel mappedWorkingModel
public jsdai.mapping.EUof_mapping[] uofs
public jsdai.mapping.ESchema_mapping schemaMapping
public SdaiModel src_model
public SdaiModel tar_model
public java.util.Hashtable mapHashTable
Constructor Detail |
public SdaiContext()
SdaiContext
.
public SdaiContext(EEntity inst) throws SdaiException
SdaiContext
.
inst
- The entity instance to base the context on
SdaiException
- if an error occurs in underlying JSDAI operationspublic SdaiContext(SdaiModel workingModel) throws SdaiException
SdaiContext
based on working model.
workingModel
- The working SdaiModel
to base the context on
SdaiException
- if an error occurs in underlying JSDAI operationspublic SdaiContext(jsdai.dictionary.ESchema_definition a_schema, ASdaiModel a_domain, SdaiModel a_working_model) throws SdaiException
SdaiContext
.
a_schema
- The schema definition of the contexta_domain
- The domain of the contexta_working_model
- The working model of the context
SdaiException
- if an error occurs in underlying JSDAI operationsMethod Detail |
public boolean isUofMapping(java.lang.String uofName) throws SdaiException
uofName
- The name uf UOF
SdaiException
- if an error occurs in underlying JSDAI operationspublic void setUofMappings(java.lang.String[] values) throws SdaiException
values
- String array with the names of uofs
SdaiException
- if an error occurs in underlying JSDAI operations
|
Copyright © LKSoftWare GmbH, 1999-2008 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |