added getBuildInstanceTempState() and setBuildInstanceTempState()