void hcatTable(HCatTable hcatTable) throws HCatException {

    assert this.hcatTable == null : "Expected hcatTable to be null at this point.";
    this.hcatTable = hcatTable;
    assert_invariant();

  }
Setter for HCatTable. Required for deserialization.
hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatPartitionSpec.java