blob: 954ad0697a3900e2ab270823add048c2c4c7ccde [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2010 Oracle
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* Konstantin Komissarchik - initial implementation and ongoing maintenance
******************************************************************************/
package org.eclipse.wst.common.project.facet.ui.internal.constraints;
/**
* @author <a href="mailto:konstantin.komissarchik@oracle.com">Konstantin Komissarchik</a>
*/
public abstract class ConstraintOperator
{
public static enum Type
{
AND,
OR,
REQUIRES_ALL,
REQUIRES_ONE,
CONFLICTS
}
private Type type;
protected ConstraintOperator( final Type type )
{
this.type = type;
}
public Type getType()
{
return this.type;
}
public void setType( final Type type )
{
this.type = type;
}
}