public class TableDesc extends Object
| Constructor and Description |
|---|
TableDesc(org.netbeans.modules.dbschema.TableElement tableElement) |
| Modifier and Type | Method and Description |
|---|---|
KeyDesc |
getKey()
Return the primary key for the table.
|
String |
getName()
Return the name of the table.
|
ReferenceKeyDesc |
getPrimaryTableKey()
Return the reference key referencing the primary table.
|
ArrayList |
getSecondaryTableKeys()
Return all secondary table keys.
|
org.netbeans.modules.dbschema.TableElement |
getTableElement()
Return the actual dbmodel TableElement for this table.
|
LocalFieldDesc |
getVersionField()
Returns the field representing the version column for this
table.
|
boolean |
isJoinTable()
Return true if this table is a join table.
|
boolean |
isUpdateLockRequired()
Determins if an update lock is required on this table.
|
public TableDesc(org.netbeans.modules.dbschema.TableElement tableElement)
public ArrayList getSecondaryTableKeys()
public ReferenceKeyDesc getPrimaryTableKey()
public KeyDesc getKey()
public org.netbeans.modules.dbschema.TableElement getTableElement()
public String getName()
public boolean isJoinTable()
public boolean isUpdateLockRequired()
public LocalFieldDesc getVersionField()
Copyright © 2019. All rights reserved.