directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r190323 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/PresentFilter.java
Date Sun, 12 Jun 2005 23:01:59 GMT
Author: elecharny
Date: Sun Jun 12 16:01:58 2005
New Revision: 190323

URL: http://svn.apache.org/viewcvs?rev=190323&view=rev
Log:
Added the Present Filter (SearchRequest filter)

Added:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/PresentFilter.java

Added: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/PresentFilter.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/PresentFilter.java?rev=190323&view=auto
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/PresentFilter.java
(added)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/filters/PresentFilter.java
Sun Jun 12 16:01:58 2005
@@ -0,0 +1,61 @@
+/*
+ *   Copyright 2005 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.asn1.ldap.pojo.filters;
+
+import org.apache.asn1.util.MutableString;
+
+
+/**
+ * Object to store the filter. A filter is seen as a tree with a root.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class PresentFilter extends Filter
+{
+    //~ Instance fields ----------------------------------------------------------------------------
+    /** The attribute description. */
+    private MutableString attributeDescription;
+
+    //~ Methods ------------------------------------------------------------------------------------
+
+    /**
+     * The constructor. 
+     */
+    public PresentFilter()
+    {
+    }
+    
+    /**
+     * Get the attribute
+     *
+     * @return Returns the attributeDescription.
+     */
+    public MutableString getAttributeDescription()
+    {
+        return attributeDescription;
+    }
+
+    /**
+     * Set the attributeDescription
+     *
+     * @param assertion The attributeDescription to set.
+     */
+    public void setAttributeDescription( MutableString attributeDescription )
+    {
+        this.attributeDescription = attributeDescription;
+    }
+}



Mime
View raw message