directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r188713 - in /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo: LdapResult.java LdapResultPOJO.java MatchingRuleAssertion.java ModifyDNResponse.java ModifyDNResponsePOJO.java ModifyResponse.java ModifyResponsePOJO.java Response.java ResponsePOJO.java
Date Tue, 07 Jun 2005 06:40:37 GMT
Author: elecharny
Date: Mon Jun  6 23:40:36 2005
New Revision: 188713

URL: http://svn.apache.org/viewcvs?rev=188713&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/LdapResult.java
      - copied, changed from r178677, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResultPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/MatchingRuleAssertion.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyDNResponse.java
      - copied, changed from r180164, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyDNResponsePOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyResponse.java
      - copied, changed from r179536, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyResponsePOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/Response.java
      - copied, changed from r179308, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ResponsePOJO.java
Removed:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResultPOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyDNResponsePOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyResponsePOJO.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ResponsePOJO.java

Copied: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResult.java
(from r178677, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResultPOJO.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResult.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResult.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResultPOJO.java&r1=178677&r2=188713&rev=188713&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResultPOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapResult.java
Mon Jun  6 23:40:36 2005
@@ -25,7 +25,7 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class LdapResultPOJO extends AbstractPOJO
+public class LdapResult extends AbstractPOJO
 {
     //~ Instance fields ----------------------------------------------------------------------------
 
@@ -95,10 +95,10 @@
     //~ Constructors -------------------------------------------------------------------------------
 
     /**
-     * Creates a new BindResponsePOJO object.
+     * Creates a new BindResponse object.
      * We will create a limited number of Referral objects.
      */
-    public LdapResultPOJO()
+    public LdapResult()
     {
         super( );
         

Added: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/MatchingRuleAssertion.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/MatchingRuleAssertion.java?rev=188713&view=auto
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/MatchingRuleAssertion.java
(added)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/MatchingRuleAssertion.java
Mon Jun  6 23:40:36 2005
@@ -0,0 +1,108 @@
+/*
+ *   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;
+
+
+/**
+ * DOCUMENT ME!
+ * 
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class MatchingRuleAssertion
+{
+    //~ Instance fields ----------------------------------------------------------------------------
+
+    /** Matching rule  */
+    private LdapString matchingRule;
+
+    /** Matching rule type */
+    private LdapString type;
+
+    /** Matching rule value */
+    private LdapString matchValue;
+
+    /** DOCUMENT ME! */
+    private boolean    dnAttributes;
+
+    //~ Constructors -------------------------------------------------------------------------------
+
+    /**
+     * Creates a new MatchingRuleAssertion object.
+     */
+    public MatchingRuleAssertion()
+    {
+        dnAttributes = true;
+    }
+    
+    /**
+     * @return Returns the dnAttributes.
+     */
+    public boolean isDnAttributes() {
+        return dnAttributes;
+    }
+    
+    /**
+     * @param dnAttributes The dnAttributes to set.
+     */
+    public void setDnAttributes(boolean dnAttributes) {
+        this.dnAttributes = dnAttributes;
+    }
+    
+    /**
+     * @return Returns the matchingRule.
+     */
+    public LdapString getMatchingRule() {
+        return matchingRule;
+    }
+    /**
+     * @param matchingRule The matchingRule to set.
+     */
+    public void setMatchingRule(LdapString matchingRule) {
+        this.matchingRule = matchingRule;
+    }
+    
+    /**
+     * @return Returns the matchValue.
+     */
+    public LdapString getMatchValue() {
+        return matchValue;
+    }
+    
+    /**
+     * @param matchValue The matchValue to set.
+     */
+    public void setMatchValue(LdapString matchValue) {
+        this.matchValue = matchValue;
+    }
+    
+    /**
+     * @return Returns the type.
+     */
+    public LdapString getType() {
+        return type;
+    }
+    
+    /**
+     * @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/ModifyDNResponse.java
(from r180164, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyDNResponsePOJO.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyDNResponse.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyDNResponse.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyDNResponsePOJO.java&r1=180164&r2=188713&rev=188713&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyDNResponsePOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyDNResponse.java
Mon Jun  6 23:40:36 2005
@@ -22,14 +22,14 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class ModifyDNResponsePOJO extends ResponsePOJO
+public class ModifyDNResponse extends Response
 {
     //~ Constructors -------------------------------------------------------------------------------
 
     /**
-     * Creates a new ModifyDNResponsePOJO object.
+     * Creates a new ModifyDNResponse object.
      */
-    public ModifyDNResponsePOJO()
+    public ModifyDNResponse()
     {
         super( );
     }

Copied: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyResponse.java
(from r179536, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyResponsePOJO.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyResponse.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyResponse.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyResponsePOJO.java&r1=179536&r2=188713&rev=188713&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyResponsePOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyResponse.java
Mon Jun  6 23:40:36 2005
@@ -22,14 +22,14 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class ModifyResponsePOJO extends ResponsePOJO
+public class ModifyResponse extends Response
 {
     //~ Constructors -------------------------------------------------------------------------------
 
     /**
-     * Creates a new ModifyResponsePOJO object.
+     * Creates a new ModifyResponse object.
      */
-    public ModifyResponsePOJO()
+    public ModifyResponse()
     {
         super( );
     }

Copied: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/Response.java
(from r179308, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ResponsePOJO.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/Response.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/Response.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ResponsePOJO.java&r1=179308&r2=188713&rev=188713&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ResponsePOJO.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/Response.java
Mon Jun  6 23:40:36 2005
@@ -21,19 +21,19 @@
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class ResponsePOJO extends LdapMessagePOJO
+public class Response extends LdapMessage
 {
     //~ Instance fields ----------------------------------------------------------------------------
 
     /** The LdapResult element */
-    private LdapResultPOJO ldapResult;
+    private LdapResult ldapResult;
 
     //~ Constructors -------------------------------------------------------------------------------
 
     /**
-     * Creates a new ResponsePOJO object.
+     * Creates a new Response object.
      */
-    public ResponsePOJO()
+    public Response()
     {
         super( );
     }
@@ -45,7 +45,7 @@
      *
      * @return Returns the ldapResult.
      */
-    public LdapResultPOJO getLdapResult()
+    public LdapResult getLdapResult()
     {
         return ldapResult;
     }
@@ -54,7 +54,7 @@
      * Set the ldap result
      * @param ldapResult The ldapResult to set.
      */
-    public void setLdapResult( LdapResultPOJO ldapResult )
+    public void setLdapResult( LdapResult ldapResult )
     {
         this.ldapResult = ldapResult;
     }



Mime
View raw message