de.topicmapslab.majortom.database.jdbc.util
Class Jdbc2Construct

java.lang.Object
  extended by de.topicmapslab.majortom.database.jdbc.util.Jdbc2Construct

public class Jdbc2Construct
extends java.lang.Object

Author:
Sven Krosse

Constructor Summary
Jdbc2Construct()
           
 
Method Summary
static de.topicmapslab.majortom.model.core.IAssociation toAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result, java.lang.String column)
           
static java.util.List<de.topicmapslab.majortom.model.core.IAssociation> toAssociations(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result, java.lang.String column)
           
private static de.topicmapslab.majortom.model.revision.Changeset toChangeSet(IQueryProcessor processor, de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.List<RevisionChangeData> list)
           
static de.topicmapslab.majortom.model.revision.Changeset toChangeSet(IQueryProcessor processor, de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet rs)
           
static de.topicmapslab.majortom.model.revision.Changeset toChangeSet(IQueryProcessor processor, de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet rs, de.topicmapslab.majortom.model.revision.IRevision parent)
           
static java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> toCharacteristics(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result)
           
static java.util.List<de.topicmapslab.majortom.model.core.IConstruct> toConstructs(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result)
           
static java.util.List<de.topicmapslab.majortom.model.core.IDatatypeAware> toDatatypeAwares(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result)
           
static de.topicmapslab.majortom.model.core.ILocator toLocator(java.sql.ResultSet result, java.lang.String column)
           
static java.util.List<de.topicmapslab.majortom.model.core.ILocator> toLocators(java.sql.ResultSet result, java.lang.String column)
           
static de.topicmapslab.majortom.model.core.IName toName(de.topicmapslab.majortom.model.core.ITopic topic, java.sql.ResultSet result, java.lang.String column)
           
static java.util.List<de.topicmapslab.majortom.model.core.IName> toNames(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result, java.lang.String column, java.lang.String parentColumn)
           
static java.util.List<de.topicmapslab.majortom.model.core.IName> toNames(de.topicmapslab.majortom.model.core.ITopic topic, java.sql.ResultSet result, java.lang.String column)
           
static de.topicmapslab.majortom.model.core.IOccurrence toOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, java.sql.ResultSet result, java.lang.String column)
           
static java.util.List<de.topicmapslab.majortom.model.core.IOccurrence> toOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result, java.lang.String column, java.lang.String parentColumn)
           
static java.util.List<de.topicmapslab.majortom.model.core.IOccurrence> toOccurrences(de.topicmapslab.majortom.model.core.ITopic topic, java.sql.ResultSet result, java.lang.String column)
           
static de.topicmapslab.majortom.model.core.IAssociationRole toRole(de.topicmapslab.majortom.model.core.IAssociation association, java.sql.ResultSet result, java.lang.String column)
           
static java.util.List<de.topicmapslab.majortom.model.core.IAssociationRole> toRoles(de.topicmapslab.majortom.model.core.IAssociation association, java.sql.ResultSet result, java.lang.String column)
           
static java.util.List<de.topicmapslab.majortom.model.core.IAssociationRole> toRoles(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result, java.lang.String column, java.lang.String parentIdColumn)
           
static java.util.List<de.topicmapslab.majortom.model.core.IScopable> toScopables(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result)
           
static de.topicmapslab.majortom.model.core.IScope toScope(java.sql.ResultSet result, java.lang.String column)
           
static java.util.List<de.topicmapslab.majortom.model.core.IScope> toScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result)
           
static de.topicmapslab.majortom.model.core.ITopic toTopic(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result, java.lang.String column)
           
static java.util.List<de.topicmapslab.majortom.model.core.ITopic> toTopics(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result, java.lang.String column)
           
static de.topicmapslab.majortom.model.core.IVariant toVariant(de.topicmapslab.majortom.model.core.IName name, java.sql.ResultSet result, java.lang.String column)
           
static java.util.List<de.topicmapslab.majortom.model.core.IVariant> toVariants(de.topicmapslab.majortom.model.core.IName name, java.sql.ResultSet result, java.lang.String column)
           
static java.util.List<de.topicmapslab.majortom.model.core.IVariant> toVariants(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result)
           
static java.util.List<de.topicmapslab.majortom.model.core.IVariant> toVariants(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.sql.ResultSet result, java.lang.String column, java.lang.String nameIdColumn, java.lang.String topicIdColumn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jdbc2Construct

public Jdbc2Construct()
Method Detail

toAssociation

public static de.topicmapslab.majortom.model.core.IAssociation toAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                             java.sql.ResultSet result,
                                                                             java.lang.String column)
                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

toTopic

public static de.topicmapslab.majortom.model.core.ITopic toTopic(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                 java.sql.ResultSet result,
                                                                 java.lang.String column)
                                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

toName

public static de.topicmapslab.majortom.model.core.IName toName(de.topicmapslab.majortom.model.core.ITopic topic,
                                                               java.sql.ResultSet result,
                                                               java.lang.String column)
                                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

toOccurrence

public static de.topicmapslab.majortom.model.core.IOccurrence toOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
                                                                           java.sql.ResultSet result,
                                                                           java.lang.String column)
                                                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

toVariant

public static de.topicmapslab.majortom.model.core.IVariant toVariant(de.topicmapslab.majortom.model.core.IName name,
                                                                     java.sql.ResultSet result,
                                                                     java.lang.String column)
                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

toRole

public static de.topicmapslab.majortom.model.core.IAssociationRole toRole(de.topicmapslab.majortom.model.core.IAssociation association,
                                                                          java.sql.ResultSet result,
                                                                          java.lang.String column)
                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

toScope

public static de.topicmapslab.majortom.model.core.IScope toScope(java.sql.ResultSet result,
                                                                 java.lang.String column)
                                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

toLocator

public static de.topicmapslab.majortom.model.core.ILocator toLocator(java.sql.ResultSet result,
                                                                     java.lang.String column)
                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

toConstructs

public static java.util.List<de.topicmapslab.majortom.model.core.IConstruct> toConstructs(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                          java.sql.ResultSet result)
                                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

toAssociations

public static java.util.List<de.topicmapslab.majortom.model.core.IAssociation> toAssociations(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                              java.sql.ResultSet result,
                                                                                              java.lang.String column)
                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

toTopics

public static java.util.List<de.topicmapslab.majortom.model.core.ITopic> toTopics(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                  java.sql.ResultSet result,
                                                                                  java.lang.String column)
                                                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

toCharacteristics

public static java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> toCharacteristics(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                     java.sql.ResultSet result)
                                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

toDatatypeAwares

public static java.util.List<de.topicmapslab.majortom.model.core.IDatatypeAware> toDatatypeAwares(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                  java.sql.ResultSet result)
                                                                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

toNames

public static java.util.List<de.topicmapslab.majortom.model.core.IName> toNames(de.topicmapslab.majortom.model.core.ITopic topic,
                                                                                java.sql.ResultSet result,
                                                                                java.lang.String column)
                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

toNames

public static java.util.List<de.topicmapslab.majortom.model.core.IName> toNames(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                java.sql.ResultSet result,
                                                                                java.lang.String column,
                                                                                java.lang.String parentColumn)
                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

toOccurrences

public static java.util.List<de.topicmapslab.majortom.model.core.IOccurrence> toOccurrences(de.topicmapslab.majortom.model.core.ITopic topic,
                                                                                            java.sql.ResultSet result,
                                                                                            java.lang.String column)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

toOccurrences

public static java.util.List<de.topicmapslab.majortom.model.core.IOccurrence> toOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                            java.sql.ResultSet result,
                                                                                            java.lang.String column,
                                                                                            java.lang.String parentColumn)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

toVariants

public static java.util.List<de.topicmapslab.majortom.model.core.IVariant> toVariants(de.topicmapslab.majortom.model.core.IName name,
                                                                                      java.sql.ResultSet result,
                                                                                      java.lang.String column)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

toVariants

public static java.util.List<de.topicmapslab.majortom.model.core.IVariant> toVariants(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                      java.sql.ResultSet result)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

toVariants

public static java.util.List<de.topicmapslab.majortom.model.core.IVariant> toVariants(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                      java.sql.ResultSet result,
                                                                                      java.lang.String column,
                                                                                      java.lang.String nameIdColumn,
                                                                                      java.lang.String topicIdColumn)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

toRoles

public static java.util.List<de.topicmapslab.majortom.model.core.IAssociationRole> toRoles(de.topicmapslab.majortom.model.core.IAssociation association,
                                                                                           java.sql.ResultSet result,
                                                                                           java.lang.String column)
                                                                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

toRoles

public static java.util.List<de.topicmapslab.majortom.model.core.IAssociationRole> toRoles(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                           java.sql.ResultSet result,
                                                                                           java.lang.String column,
                                                                                           java.lang.String parentIdColumn)
                                                                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

toScopables

public static java.util.List<de.topicmapslab.majortom.model.core.IScopable> toScopables(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                        java.sql.ResultSet result)
                                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

toLocators

public static java.util.List<de.topicmapslab.majortom.model.core.ILocator> toLocators(java.sql.ResultSet result,
                                                                                      java.lang.String column)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

toScopes

public static java.util.List<de.topicmapslab.majortom.model.core.IScope> toScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                  java.sql.ResultSet result)
                                                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

toChangeSet

public static de.topicmapslab.majortom.model.revision.Changeset toChangeSet(IQueryProcessor processor,
                                                                            de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                            java.sql.ResultSet rs,
                                                                            de.topicmapslab.majortom.model.revision.IRevision parent)
                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

toChangeSet

public static de.topicmapslab.majortom.model.revision.Changeset toChangeSet(IQueryProcessor processor,
                                                                            de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                            java.sql.ResultSet rs)
                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

toChangeSet

private static de.topicmapslab.majortom.model.revision.Changeset toChangeSet(IQueryProcessor processor,
                                                                             de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                             java.util.List<RevisionChangeData> list)
                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException