ModeShape Distribution 3.5.0.Final

org.modeshape.connector.meta.jdbc
Class ForeignKeyRetriever

java.lang.Object
  extended by org.modeshape.connector.meta.jdbc.AbstractMetadataRetriever
      extended by org.modeshape.connector.meta.jdbc.ForeignKeyRetriever

public class ForeignKeyRetriever
extends AbstractMetadataRetriever

Class which converts foreign key metadata to connector documents


Field Summary
 
Fields inherited from class org.modeshape.connector.meta.jdbc.AbstractMetadataRetriever
connector
 
Constructor Summary
protected ForeignKeyRetriever(JdbcMetadataConnector connector)
           
 
Method Summary
protected  boolean canHandle(String id)
           
protected  Document getDocumentById(String id, DocumentWriter writer, Connection connection)
           
protected  String idFrom(String path)
           
 
Methods inherited from class org.modeshape.connector.meta.jdbc.AbstractMetadataRetriever
generateId, removeEmptyOrNullElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeignKeyRetriever

protected ForeignKeyRetriever(JdbcMetadataConnector connector)
Method Detail

getDocumentById

protected Document getDocumentById(String id,
                                   DocumentWriter writer,
                                   Connection connection)
Specified by:
getDocumentById in class AbstractMetadataRetriever

idFrom

protected String idFrom(String path)
Specified by:
idFrom in class AbstractMetadataRetriever

canHandle

protected boolean canHandle(String id)
Specified by:
canHandle in class AbstractMetadataRetriever

ModeShape Distribution 3.5.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.