Class DatabaseUtil.ReferenceCheckInfo

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    DatabaseUtil

    public static class DatabaseUtil.ReferenceCheckInfo
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String fkColumnName
      Comma separated list of column names in the primary tables foreign keys
      java.lang.String fkName  
      java.lang.String fkTableName  
      java.lang.String pkColumnName
      Comma separated list of column names in the related tables primary key
      java.lang.String pkTableName  
    • Field Detail

      • pkTableName

        public java.lang.String pkTableName
      • pkColumnName

        public java.lang.String pkColumnName
        Comma separated list of column names in the related tables primary key
      • fkName

        public java.lang.String fkName
      • fkTableName

        public java.lang.String fkTableName
      • fkColumnName

        public java.lang.String fkColumnName
        Comma separated list of column names in the primary tables foreign keys
    • Constructor Detail

      • ReferenceCheckInfo

        public ReferenceCheckInfo()
    • Method Detail

      • getPkTableName

        public java.lang.String getPkTableName()
        Gets pk table name
        Returns:
        the pk table name
      • getPkColumnName

        public java.lang.String getPkColumnName()
        Gets pk column name
        Returns:
        the pk column name
      • getFkName

        public java.lang.String getFkName()
        Gets fk name
        Returns:
        the fk name
      • getFkTableName

        public java.lang.String getFkTableName()
        Gets fk table name
        Returns:
        the fk table name
      • getFkColumnName

        public java.lang.String getFkColumnName()
        Gets fk column name
        Returns:
        the fk column name
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toModelKeyMapList

        public java.util.List<ModelKeyMap> toModelKeyMapList()
        Converts the column information into ModelKeyMaps
        Returns:
        a list of ModelKeyMaps