@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    ArtifactEntityPK that = (ArtifactEntityPK) o;

    return this.artifactName.equals(that.artifactName) &&
        this.foreignKeys.equals(that.foreignKeys);
  }
Set the foreign key information of the associated artifact.

@param foreignKeys  foreign key information
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ArtifactEntityPK.java