class Table extends Relation {


    public Table() {
        setAttribute("outgoingForeignKeys", new ArrayList<ForeignKey>());
        setAttribute("indexes", new ArrayList<Index>());
        setAttribute("uniqueConstraints", new ArrayList<UniqueConstraint>());
        setAttribute("notNullConstraints", new ArrayList<UniqueConstraint>());
    }

    public Table(String catalogName, String schemaName, String tableName) {
        this.setSchema(new Schema(catalogName, schemaName));
        setName(tableName);
    }

    public PrimaryKey getPrimaryKey() {
        return getAttribute("primaryKey", PrimaryKey.class);
    }

    public void setPrimaryKey(PrimaryKey primaryKey) {
        this.setAttribute("primaryKey", primaryKey);
    }

    /**
     * Returns the list of all outgoing FOREIGN KEYS from this table
     */
    public List<ForeignKey> getOutgoingForeignKeys() {
        List<ForeignKey> fkList = getAttribute("outgoingForeignKeys", List.class);
        return ((fkList == null) ? new ArrayList<>(0) : fkList);
    }

    @Override
    public List<Index> getIndexes() {
        return getAttribute("indexes", List.class);
    }

    @Override
    public List<UniqueConstraint> getUniqueConstraints() {
        return getAttribute("uniqueConstraints", List.class);
    }
    public List<NotNullConstraint> getNotNullConstraints() {
        return getAttribute("notNullConstraints", List.class);
    }

    @Override
    public boolean equals(Object o) {<FILL_FUNCTION_BODY>}

    @Override
    public int hashCode() {
        return StringUtil.trimToEmpty(getName()).toUpperCase().hashCode();
    }

    @Override
    public String toString() {
        return getName();
    }

    @Override
    public Table setName(String name) {
        return (Table) super.setName(name);
    }

    public String getTablespace() {
        return getAttribute("tablespace",String.class);
    }

    public Table setTablespace(String tablespace) {
        setAttribute("tablespace", tablespace);
        return this;
    }

    public Boolean getDefaultTablespace() {
        return getAttribute("default_tablespace", Boolean.class);
    }

    public Table setDefaultTablespace(Boolean tablespace) {
        setAttribute("default_tablespace", tablespace);
        return this;
    }

    public boolean isDefaultTablespace() {
        Boolean b = getAttribute("default_tablespace",Boolean.class);
        return BooleanUtil.isTrue(b);
    }
}

        if (this == o) return true;
        if ((o == null) || (getClass() != o.getClass())) return false;

        Table that = (Table) o;

        if ((this.getSchema() != null) && (that.getSchema() != null)) {
            boolean schemasTheSame = this.getSchema().equals(that.getSchema());
            if (!schemasTheSame) {
                return false;
            }
        }

        return getName().equalsIgnoreCase(that.getName());

    
<methods>public liquibase.structure.core.Relation addColumn(liquibase.structure.core.Column) ,public int compareTo(java.lang.Object) ,public liquibase.structure.core.Column getColumn(java.lang.String) ,public List<liquibase.structure.core.Column> getColumns() ,public liquibase.structure.DatabaseObject[] getContainingObjects() ,public List<liquibase.structure.core.Index> getIndexes() ,public java.lang.String getName() ,public java.lang.String getRemarks() ,public liquibase.structure.core.Schema getSchema() ,public List<liquibase.structure.core.UniqueConstraint> getUniqueConstraints() ,public liquibase.structure.core.Relation setName(java.lang.String) ,public liquibase.structure.core.Relation setRemarks(java.lang.String) ,public liquibase.structure.core.Relation setSchema(liquibase.structure.core.Schema) ,public liquibase.structure.core.Relation setSchema(java.lang.String, java.lang.String) <variables>private java.lang.String name