/*******************************************************************************
 * Copyright (c) 2008 SAS Institute Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     SAS Institute Inc. - initial API and implementation
 ******************************************************************************/
package org.eclipse.cosmos.me.provisional.deployment.sdd.tooling.btg.aggregator;

import org.eclipse.cosmos.me.provisional.deployment.sdd.common.spi.variable.IntegerParameter;

public class IntegerParameterType
{
	public static boolean equals(IntegerParameter ip1, IntegerParameter ip2)
	{
		boolean equals = true;
		//check upper and lower bounds
		equals = equals && ip1.getBounds().containsAll(ip2.getBounds()) && ip2.getBounds().containsAll(ip1.getBounds());
		
		return equals;
	}
}
