bool ModelValidator::isValid(const Dimension& dimension, bool allowDefaults/* = false*/)
{
	if (dimension.GetIndex() < 0)
		RETURN_WITH_ERROR("Dimension index cannot be negative");
	if (dimension.GetSize() < 0)
		RETURN_WITH_ERROR("Dimension side cannot be negative");

	RETURN_IF_STR_EMPTY(dimension.GetLabel(), "Dimension Label");

	return true;
}