com.healthmarketscience.jackcess.impl
Class RelationshipCreator
java.lang.Object
com.healthmarketscience.jackcess.impl.RelationshipCreator
public class RelationshipCreator
- extends Object
Helper class used to maintain state during relationship creation.
- Author:
- James Ahlborn
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelationshipCreator
public RelationshipCreator(DatabaseImpl database)
getName
public String getName()
getPrimaryTable
public TableImpl getPrimaryTable()
getSecondaryTable
public TableImpl getSecondaryTable()
hasReferentialIntegrity
public boolean hasReferentialIntegrity()
createRelationshipImpl
public RelationshipImpl createRelationshipImpl(String name)
createRelationship
public RelationshipImpl createRelationship(RelationshipBuilder relationship)
throws IOException
- Creates the relationship in the database.
- Throws:
IOException
getDatabase
public DatabaseImpl getDatabase()
getFormat
public JetFormat getFormat()
getPageChannel
public PageChannel getPageChannel()
getCharset
public Charset getCharset()
reservePageNumber
public int reservePageNumber()
throws IOException
- Throws:
IOException
calculateNameLength
public static int calculateNameLength(String name)
getDbSortOrder
protected ColumnImpl.SortOrder getDbSortOrder()
Copyright © 2005-2017 Health Market Science. All Rights Reserved.