public static function matchType($inValue, $className) {
        if ($inValue instanceof \stdClass) {
            $inValueKeys = array_keys(get_object_vars($inValue));
            if (in_array('_type', $inValueKeys)) {
                $tempStore = new $className();
                $tempStoreType = $tempStore->get_type();
                if ($tempStoreType===$inValue->_type) return $className;
            }
        }

        return null;
    }