A C D F G H I J M O P S T

A

addForeignKey(String, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Adds a foreign key column name to the foreignKeys Map.

C

createAssociations(DatabaseMetaData, CorePackage, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Creates and returns a collection of associations by determing foreign tables to the table having the given tableName.
createAttributeMultiplicity(DataTypesPackage, boolean) - Method in class org.andromda.schema2xmi.SchemaTransformer
Creates an attributes multiplicity, if required is true, then multiplicity is set to 1, if required is false, then multiplicity is set to 0..1.
createAttributes(DatabaseMetaData, CorePackage, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Creates and returns a collection of attributes from creating an attribute from every column on the table having the give tableName.
createClass(UmlPackage, DatabaseMetaData, CorePackage, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Creates and returns a UmlClass with the given name using the corePackage to create it.
createClasses(Connection, CorePackage, UmlPackage) - Method in class org.andromda.schema2xmi.SchemaTransformer
Creates all classes from the tables found in the schema.
createMultiplicity(DataTypesPackage, int, int) - Method in class org.andromda.schema2xmi.SchemaTransformer
Creates a multiplicity, from lower and upper ranges.
createTaggedValue(CorePackage, String, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Creates a tagged value given the specfied name.

D

displayHelp() - Static method in class org.andromda.schema2xmi.Schema2XMI
Display usage information based upon current command-line option configuration.

F

find(int) - Static method in class org.andromda.schema2xmi.JdbcTypeFinder
Finds the name of the jdbcType passed in, or null if there is no type in the java.sql.Types class matching the given jdbcType.
find(Model, String) - Static method in class org.andromda.schema2xmi.ModelElementFinder
Finds the model element having the fullyQualifiedName in the model, returns null if not found.
find(UmlPackage, String) - Static method in class org.andromda.schema2xmi.ModelElementFinder
Finds and returns the first model element having the given name in the modelPackage, returns null if not found.
find(UmlPackage, String) - Static method in class org.andromda.schema2xmi.ModelElementFinder
Finds and returns the first model element having the given name in the umlPackage, returns null if not found.

G

getOrCreateDataType(CorePackage, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Gets or creates a new data type instance having the given fully qualified type name.
getOrCreatePackage(ModelManagementPackage, UmlPackage, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Gets or creates a package having the specified packageName using the given modelManagementPackage, places it on the model and returns the last leaf package.
getOrCreateStereotypes(CorePackage, String, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Gets or creates a stereotypes given the specfied comma seperated list of names.
getPrimaryKeyColumns(DatabaseMetaData, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Returns a collection of all primary key column names for the given tableName.

H

hasForeignKey(String, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Returns true if the table with the given tableName has a foreign key with the specified columnName.

I

isColumnNullable(DatabaseMetaData, String, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
This method just checks to see if a column is null able or not, if so, returns true, if not returns false.

J

JdbcTypeFinder - class org.andromda.schema2xmi.JdbcTypeFinder.
Provides the ability to find a java.sql.Types field name based on an int value.
JdbcTypeFinder() - Constructor for class org.andromda.schema2xmi.JdbcTypeFinder
 

M

ModelElementFinder - class org.andromda.schema2xmi.ModelElementFinder.
Finds model elements by their names.
ModelElementFinder() - Constructor for class org.andromda.schema2xmi.ModelElementFinder
 
main(String[]) - Static method in class org.andromda.schema2xmi.Schema2XMI
 

O

org.andromda.schema2xmi - package org.andromda.schema2xmi
 

P

parseCommands(String[]) - Method in class org.andromda.schema2xmi.Schema2XMI
Parse a string-array of command-line arguments.

S

Schema2XMI - class org.andromda.schema2xmi.Schema2XMI.
Converts a database schema to an XMI document.
Schema2XMI() - Constructor for class org.andromda.schema2xmi.Schema2XMI
 
SchemaTransformer - class org.andromda.schema2xmi.SchemaTransformer.
Performs the transformation of database schema to XMI.
SchemaTransformer(String, String, String, String) - Constructor for class org.andromda.schema2xmi.SchemaTransformer
Constructs a new instance of this SchemaTransformer.
SchemaTransformerException - exception org.andromda.schema2xmi.SchemaTransformerException.
An exception thrown when an unexpected error occurs during processing of the SchemaTransformer.
SchemaTransformerException(Throwable) - Constructor for class org.andromda.schema2xmi.SchemaTransformerException
Constructs a new instance of SchemaTransformerException
SchemaTransformerException(String) - Constructor for class org.andromda.schema2xmi.SchemaTransformerException
Constructs a new instance of SchemaTransformerException
SchemaTransformerException(String, Throwable) - Constructor for class org.andromda.schema2xmi.SchemaTransformerException
Constructs a new instance of SchemaTransformerException
SqlToModelNameFormatter - class org.andromda.schema2xmi.SqlToModelNameFormatter.
Provides formatting functions, when converting SQL names to model names.
SqlToModelNameFormatter() - Constructor for class org.andromda.schema2xmi.SqlToModelNameFormatter
 
setClassStereotypes(String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Sets the stereotype name for the new classes.
setColumnNamePattern(String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Sets the regular expression pattern to match on when deciding what attributes ti create in the XMI.
setColumnTaggedValue(String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Sets the name of the column tagged value to use for storing the name of the column.
setIdentifierStereotypes(String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Sets the stereotype name for the identifiers on the new classes.
setPackageName(String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Sets the name of the package to which the model elements will be created.
setSchema(String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Sets the name of the schema (where the tables can be found).
setTableNamePattern(String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Sets the regular expression pattern to match on when deciding what table names to add to the transformed XMI.
setTableTaggedValue(String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Sets the name of the table tagged value to use for storing the name of the table.
setTypeMappings(String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Sets the mappingsUri which is the URI to the sql types to model type mappings.
setXmiVersion(String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Sets the version of XMI that will be produced.

T

toAttributeName(String) - Static method in class org.andromda.schema2xmi.SqlToModelNameFormatter
Converts a column name to an attribute name.
toCamelCase(String) - Static method in class org.andromda.schema2xmi.SqlToModelNameFormatter
Turns a table name into a model element class name.
toClassName(String) - Static method in class org.andromda.schema2xmi.SqlToModelNameFormatter
Converts a table name to an class name.
transform(String, String) - Method in class org.andromda.schema2xmi.SchemaTransformer
Transforms the Schema file and writes it to the location given by outputLocation.

A C D F G H I J M O P S T

Copyright © 2003-2006 The AndroMDA Team. All Rights Reserved.