public class CastorMapping extends java.lang.Object implements CBOGeneratorI
SCOPE_GLOBAL, SCOPE_LOCAL| Constructor and Description |
|---|
CastorMapping() |
CastorMapping(electric.xml.Element e) |
| Modifier and Type | Method and Description |
|---|---|
CBOGeneratorResult |
generate(SchemaI schema,
SchemaI ignore)
Performs a migration-based generation between an old schema and a new schema.
|
electric.xml.Document |
generateEntities(SchemaI schema) |
void |
generateEntity(CBOEntity entity) |
electric.xml.Element |
generateFields(CBOEntity c,
CBOAttribute a) |
static java.lang.String |
generateMapping(SchemaI schema,
int _cacheSize) |
java.lang.String |
getName()
Retrieves the name of the generator implementation.
|
void |
insertHeritageFields(CBOEntity c,
electric.xml.Element mapel) |
void |
writeMapping() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgeneratepublic CastorMapping()
public CastorMapping(electric.xml.Element e)
public java.lang.String getName()
CBOGeneratorIgetName in interface CBOGeneratorIpublic CBOGeneratorResult generate(SchemaI schema, SchemaI ignore)
CBOGeneratorIgenerate in interface CBOGeneratorIschema - The original (source) schema.ignore - The target schema for migration.public static java.lang.String generateMapping(SchemaI schema, int _cacheSize)
public electric.xml.Document generateEntities(SchemaI schema)
public void generateEntity(CBOEntity entity)
public void insertHeritageFields(CBOEntity c, electric.xml.Element mapel)
public electric.xml.Element generateFields(CBOEntity c, CBOAttribute a)
public void writeMapping()
Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.