/*************************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: RuleOperator.idl,v $
 *
 *  $Revision: 1.6 $
 *
 *  last change: $Author: rt $ $Date: 2005-09-08 07:48:24 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 by Sun Microsystems, Inc.
 *    901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License version 2.1, as published by the Free Software Foundation.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *    MA  02111-1307  USA
 *
 ************************************************************************/
#ifndef __com_sun_star_ucb_RuleOperator_idl__
#define __com_sun_star_ucb_RuleOperator_idl__


//=============================================================================

module com { module sun { module star { module ucb {

//=============================================================================
/** These are the possible values for <member>RuleTerm::RuleOperator</member>.

    @see RuleSet
    @see Rule
*/
published constants RuleOperator
{
    //-------------------------------------------------------------------------
    /** "Contains" - Object contains <member>RuleTerm::Operand</member>.
    */
    const short CONTAINS = 1;

    //-------------------------------------------------------------------------
    /** "ContainsNot" - Object does not contain
        <member>RuleTerm::Operand</member>.
    */
    const short CONTAINSNOT = 2;

    //-------------------------------------------------------------------------
    /** "GreaterEqual" - Object is greater than or equal to
        <member>RuleTerm::Operand</member>.
    */
    const short GREATEREQUAL = 3;

    //-------------------------------------------------------------------------
    /** "LessEqual" - Object is less than or equal to
        <member>RuleTerm::Operand</member>.
    */
    const short LESSEQUAL = 4;

    //-------------------------------------------------------------------------
    /** "Equal" - Object is equal to <member>RuleTerm::Operand</member>.
    */
    const short EQUAL = 5;

    //-------------------------------------------------------------------------
    /** "NotEqual" - Object is not equal to <member>RuleTerm::Operand</member>.
    */
    const short NOTEQUAL = 6;

    //-------------------------------------------------------------------------
    /** "True" - Object has the value <TRUE/>.
    */
    const short VALUE_TRUE = 7;

    //-------------------------------------------------------------------------
    /** "False" - Object has the value <FALSE/>.
    */
    const short VALUE_FALSE = 8;

};

//=============================================================================

}; }; }; };

#endif
