Class PersistenceTableRelationModel

java.lang.Object
org.eclipse.dirigible.database.persistence.model.PersistenceTableRelationModel

public class PersistenceTableRelationModel
extends Object
The relation element of the persistence model transport object.
  • Constructor Details

  • Method Details

    • getFromTableName

      public String getFromTableName()
      Gets the name of the table with the foreign key.

      the new columns

    • setFromTableName

      public void setFromTableName​(String fromTableName)
      Sets the name of the table with the foreign key.
      Parameters:
      fromTableName -
    • getToTableName

      public String getToTableName()
      Gets the name of the table with the primary key.
    • setToTableName

      public void setToTableName​(String toTableName)
      Sets the name of the table with the primary key.
      Parameters:
      toTableName -
    • getFkColumnName

      public String getFkColumnName()
      Gets the name of the foreign key column.
    • setFkColumnName

      public void setFkColumnName​(String fkColumnName)
      Sets the name of the foreign key column.
      Parameters:
      fkColumnName -
    • getPkColumnName

      public String getPkColumnName()
      Gets the name of the primary key column.
    • setPkColumnName

      public void setPkColumnName​(String pkColumnName)
      Sets the name of the primary key column.
      Parameters:
      pkColumnName -
    • getFkName

      public String getFkName()
      Gets the name of the foreign key.
    • setFkName

      public void setFkName​(String fkName)
      Sets the name of the foreign key.
      Parameters:
      fkName -
    • getPkName

      public String getPkName()
      Gets the name of the primary key.
    • setPkName

      public void setPkName​(String pkName)
      Sets the name of the primary key.
      Parameters:
      pkName -