directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r188712 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo
Date Tue, 07 Jun 2005 06:40:02 GMT
Author: elecharny
Date: Mon Jun  6 23:40:01 2005
New Revision: 188712

URL: http://svn.apache.org/viewcvs?rev=188712&view=rev
Log:
Renamed the objects from xxxPOJO to xxx. Alex, I took the 2 cts you put on the table ;-)

Added:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthentication.java
      - copied, changed from r178677, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthenticationPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java
      - copied, changed from r185060, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequestPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java
      - copied, changed from r185061, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDonePOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthentication.java
      - copied, changed from r178677, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthenticationPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SubstringFilter.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequest.java
      - copied, changed from r178677, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequestPOJO.java
Removed:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthenticationPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequestPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDonePOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthenticationPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequestPOJO.java

Copied: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthentication.java
(from r178677, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthenticationPOJO.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthentication.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthentication.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthenticationPOJO.java&r1=178677&r2=188712&rev=188712&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthenticationPOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SaslAuthentication.java
Mon Jun  6 23:40:01 2005
@@ -25,7 +25,7 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class SaslAuthenticationPOJO extends AbstractPOJO
+public class SaslAuthentication extends AbstractPOJO
 {
     //~ Instance fields ----------------------------------------------------------------------------
 

Copied: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java
(from r185060, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequestPOJO.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequestPOJO.java&r1=185060&r2=188712&rev=188712&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequestPOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java
Mon Jun  6 23:40:01 2005
@@ -17,7 +17,7 @@
 package org.apache.asn1.ldap.pojo;
 
 import org.apache.asn1.AbstractPOJO;
-import org.apache.asn1.ldap.pojo.filters.FilterPOJO;
+import org.apache.asn1.ldap.pojo.filters.Filter;
 import org.apache.asn1.util.MutableString;
 
 import java.util.ArrayList;
@@ -30,7 +30,7 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class SearchRequestPOJO extends AbstractPOJO
+public class SearchRequest extends AbstractPOJO
 {
     //~ Instance fields ----------------------------------------------------------------------------
 
@@ -54,20 +54,20 @@
     private boolean typesOnly;
 
     /** The filter tree */
-    private FilterPOJO filter;
+    private Filter filter;
 
     /** The list of attributes to get */
     private ArrayList  attributes;
     
     /** The current filter. This is used while decoding a PDU */
-    private FilterPOJO currentFilter;
+    private Filter currentFilter;
 
     //~ Constructors -------------------------------------------------------------------------------
 
     /**
-     * Creates a new SearchRequestPOJO object.
+     * Creates a new SearchRequest object.
      */
-    public SearchRequestPOJO()
+    public SearchRequest()
     {
         super( );
         
@@ -141,7 +141,7 @@
      *
      * @return Returns the filter.
      */
-    public FilterPOJO getFilter()
+    public Filter getFilter()
     {
         return filter;
     }
@@ -151,7 +151,7 @@
      *
      * @param filter The filter to set.
      */
-    public void setFilter( FilterPOJO filter )
+    public void setFilter( Filter filter )
     {
         this.filter = filter;
     }
@@ -239,7 +239,7 @@
     /**
      * @return Returns the currentFilter.
      */
-    public FilterPOJO getCurrentFilter() 
+    public Filter getCurrentFilter() 
     {
         return currentFilter;
     }
@@ -247,7 +247,7 @@
     /**
      * @param currentFilter The currentFilter to set.
      */
-    public void setCurrentFilter(FilterPOJO currentFilter) 
+    public void setCurrentFilter(Filter currentFilter) 
     {
         this.currentFilter = currentFilter;
     }

Copied: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java
(from r185061, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDonePOJO.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDonePOJO.java&r1=185061&r2=188712&rev=188712&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDonePOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java
Mon Jun  6 23:40:01 2005
@@ -20,18 +20,18 @@
  * A SearchResultDone Message. Its syntax is :
  *   SearchResultDone ::= [APPLICATION 5] LDAPResult
  * 
- * It's a Response, so it inherites from ResponsePOJO.
+ * It's a Response, so it inherites from Response.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class SearchResultDonePOJO extends ResponsePOJO
+public class SearchResultDone extends Response
 {
     //~ Constructors -------------------------------------------------------------------------------
 
     /**
-     * Creates a new SearchResultDonePOJO object.
+     * Creates a new SearchResultDone object.
      */
-    public SearchResultDonePOJO()
+    public SearchResultDone()
     {
         super( );
     }

Copied: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthentication.java
(from r178677, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthenticationPOJO.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthentication.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthentication.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthenticationPOJO.java&r1=178677&r2=188712&rev=188712&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthenticationPOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SimpleAuthentication.java
Mon Jun  6 23:40:01 2005
@@ -23,7 +23,7 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class SimpleAuthenticationPOJO extends AbstractPOJO
+public class SimpleAuthentication extends AbstractPOJO
 {
     //~ Instance fields ----------------------------------------------------------------------------
 

Added: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SubstringFilter.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SubstringFilter.java?rev=188712&view=auto
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SubstringFilter.java
(added)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SubstringFilter.java
Mon Jun  6 23:40:01 2005
@@ -0,0 +1,128 @@
+/*
+ *   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;
+
+import org.apache.asn1.ldap.codec.primitives.LdapString;
+
+
+/**
+ * A POJO that stores the substring filter. A substring filter follow this grammar :
+ * substring  = attr "=" [initial] any [final]
+ * initial    = value
+ * any        = "*" *(value "*")
+ * final      = value
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class SubstringFilter
+{
+    //~ Instance fields ----------------------------------------------------------------------------
+
+    /** The substring filter type (an attributeDescription) */
+    private LdapString type;
+
+    /** The initial filter */
+    private LdapString initialSubStrings;
+
+    /** The any filter */
+    private LdapString anySubStrings;
+
+    /** The final filter */
+    private LdapString finalSubStrings;
+
+    //~ Methods ------------------------------------------------------------------------------------
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return Returns the anySubStrings.
+     */
+    public LdapString getAnySubStrings()
+    {
+        return anySubStrings;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param anySubStrings The anySubStrings to set.
+     */
+    public void setAnySubStrings( LdapString anySubStrings )
+    {
+        this.anySubStrings = anySubStrings;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return Returns the finalSubStrings.
+     */
+    public LdapString getFinalSubStrings()
+    {
+        return finalSubStrings;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param finalSubStrings The finalSubStrings to set.
+     */
+    public void setFinalSubStrings( LdapString finalSubStrings )
+    {
+        this.finalSubStrings = finalSubStrings;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return Returns the initialSubStrings.
+     */
+    public LdapString getInitialSubStrings()
+    {
+        return initialSubStrings;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param initialSubStrings The initialSubStrings to set.
+     */
+    public void setInitialSubStrings( LdapString initialSubStrings )
+    {
+        this.initialSubStrings = initialSubStrings;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @return Returns the type.
+     */
+    public LdapString getType()
+    {
+        return type;
+    }
+
+    /**
+     * DOCUMENT ME!
+     *
+     * @param type The type to set.
+     */
+    public void setType( LdapString type )
+    {
+        this.type = type;
+    }
+}

Copied: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequest.java
(from r178677, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequestPOJO.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequest.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequest.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequestPOJO.java&r1=178677&r2=188712&rev=188712&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequestPOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequest.java
Mon Jun  6 23:40:01 2005
@@ -27,16 +27,16 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class UnBindRequestPOJO extends AbstractPOJO
+public class UnBindRequest extends AbstractPOJO
 {
     //~ Instance fields ----------------------------------------------------------------------------
 
     //~ Constructors -------------------------------------------------------------------------------
 
     /**
-     * Creates a new BindRequestPOJO object.
+     * Creates a new BindRequest object.
      */
-    public UnBindRequestPOJO()
+    public UnBindRequest()
     {
         super( );
     }



Mime
View raw message