src/include/common/filter/FieldClause.h

00001 /*
00002  * Copyright (C) 2003-2007 Funambol
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License as published by
00006  * the Free Software Foundation; either version 2 of the License, or
00007  * (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017  */
00018 
00019 #ifndef INCL_FIELDCLAUSE
00020 #define INCL_FIELDCLAUSE
00021 
00023 #include "base/util/ArrayList.h"
00024 #include "filter/Clause.h"
00025 
00026 
00027 class FieldClause : public Clause {
00028 
00029     // ------------------------------------------------------- Private interface
00030 private:
00031 
00032     ArrayList* properties;
00033 
00034 
00035 
00036 
00037     // ----------------------------------------------------- Protected interface
00038 protected:
00039 
00040 
00041 
00042 
00043     // -------------------------------------------------------- Public interface
00044 public:
00045 
00046 
00047     /*
00048      * FieldClause constructor
00049      *
00050      */
00051     FieldClause();
00052 
00053 
00054     /*
00055      * FieldClause constructor
00056      *
00057      * @param p0
00058      */
00059     FieldClause(ArrayList* p);
00060 
00061     /*
00062      * FieldClause constructor
00063      *
00064      * @param p0
00065      */
00066     FieldClause(ArrayList& p);
00067 
00068 
00069     /*
00070      * FieldClause destructor
00071      *
00072      */
00073     ~FieldClause();
00074 
00075     /*
00076      * setProperty
00077      *
00078      * @param p0
00079      */
00080     void setProperties(ArrayList* p);
00081 
00082     /*
00083      * setProperty
00084      *
00085      * @param p0
00086      */
00087     void setProperties(ArrayList& p);
00088 
00089 
00090     /*
00091      * getProperty
00092      *
00093      */
00094     ArrayList* getProperties();
00095 
00096     /*
00097      * Creates a new instance of this Clause
00098      *
00099      * @return the clone
00100      */
00101     ArrayElement* clone();
00102 
00103 };
00104 
00105 
00107 #endif

Generated on Fri Apr 27 12:29:18 2007 for Funambol C++ Client Library by  doxygen 1.5.2