directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r474487 [2/4] - in /directory/branches/apacheds-schema/shared/ldap/src: main/antlr/ main/java/org/apache/directory/shared/ldap/codec/ main/java/org/apache/directory/shared/ldap/codec/actions/ main/java/org/apache/directory/shared/ldap/codec...
Date Mon, 13 Nov 2006 20:16:19 GMT
Modified: directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapResultImpl.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapResultImpl.java?view=diff&rev=474487&r1=474486&r2=474487
==============================================================================
--- directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapResultImpl.java
(original)
+++ directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapResultImpl.java
Mon Nov 13 12:16:16 2006
@@ -265,201 +265,247 @@
         sb.append( "        Ldap Result\n" );
         sb.append( "            Result code : (" ).append( resultCode ).append( ')' );
 
-        if ( resultCode != null )
+        switch ( resultCode )
         {
 
-            if ( resultCode.getValue() == ResultCodeEnum.SUCCESS_VAL )
-            {
+        	case SUCCESS :
                 sb.append( " success\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.OPERATIONSERROR_VAL )
-            {
+                break;
+
+        	case OPERATIONS_ERROR :
                 sb.append( " operationsError\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.PROTOCOLERROR_VAL )
-            {
+                break;
+
+        	case PROTOCOL_ERROR :
                 sb.append( " protocolError\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.TIMELIMITEXCEEDED_VAL )
-            {
+                break;
+
+            case TIME_LIMIT_EXCEEDED :
                 sb.append( " timeLimitExceeded\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.SIZELIMITEXCEEDED_VAL )
-            {
+                break;
+
+            case SIZE_LIMIT_EXCEEDED :
                 sb.append( " sizeLimitExceeded\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.COMPAREFALSE_VAL )
-            {
+                break;
+
+            case COMPARE_FALSE :
                 sb.append( " compareFalse\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.COMPARETRUE_VAL )
-            {
+                break;
+
+            case COMPARE_TRUE :
                 sb.append( " compareTrue\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.AUTHMETHODNOTSUPPORTED_VAL
)
-            {
+                break;
+
+            case AUTH_METHOD_NOT_SUPPORTED :
                 sb.append( " authMethodNotSupported\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.STRONGAUTHREQUIRED_VAL )
-            {
+                break;
+
+            case STRONG_AUTH_REQUIRED :
                 sb.append( " strongAuthRequired\n" );
-            }
-            else if ( resultCode.getValue() == 9 )
-            {
-                sb.append( " -- 9 reserved --\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.REFERRAL_VAL )
-            {
+                break;
+
+            case REFERRAL :
                 sb.append( " referral -- new\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.ADMINLIMITEXCEEDED_VAL )
-            {
+                break;
+
+            case ADMIN_LIMIT_EXCEEDED :
                 sb.append( " adminLimitExceeded -- new\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.UNAVAILABLECRITICALEXTENSION_VAL
)
-            {
+                break;
+
+            case UNAVAILABLE_CRITICAL_EXTENSION :
                 sb.append( " unavailableCriticalExtension -- new\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.CONFIDENTIALITYREQUIRED_VAL
)
-            {
+                break;
+
+            case CONFIDENTIALITY_REQUIRED :
                 sb.append( " confidentialityRequired -- new\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.SASLBINDINPROGRESS_VAL )
-            {
+                break;
+
+            case SASL_BIND_IN_PROGRESS :
                 sb.append( " saslBindInProgress -- new\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.NOSUCHATTRIBUTE_VAL )
-            {
+                break;
+
+            case NO_SUCH_ATTRIBUTE :
                 sb.append( " noSuchAttribute\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.UNDEFINEDATTRIBUTETYPE_VAL
)
-            {
+                break;
+
+            case UNDEFINED_ATTRIBUTE_TYPE :
                 sb.append( " undefinedAttributeType\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.INAPPROPRIATEMATCHING_VAL )
-            {
+                break;
+
+            case INAPPROPRIATE_MATCHING :
                 sb.append( " inappropriateMatching\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.CONSTRAINTVIOLATION_VAL )
-            {
+                break;
+
+            case CONSTRAINT_VIOLATION :
                 sb.append( " constraintViolation\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.ATTRIBUTEORVALUEEXISTS_VAL
)
-            {
+                break;
+
+            case ATTRIBUTE_OR_VALUE_EXISTS :
                 sb.append( " attributeOrValueExists\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.INVALIDATTRIBUTESYNTAX_VAL
)
-            {
+                break;
+
+            case INVALID_ATTRIBUTE_SYNTAX :
                 sb.append( " invalidAttributeSyntax\n" );
-            }
-            else if ( ( resultCode.getValue() >= 22 ) && ( resultCode.getValue()
<= 31 ) )
-            {
-                sb.append( " -- 22-31 unused --\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.NOSUCHOBJECT_VAL )
-            {
+                break;
+
+            case NO_SUCH_OBJECT :
                 sb.append( " noSuchObject\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.ALIASPROBLEM_VAL )
-            {
+                break;
+
+            case ALIAS_PROBLEM :
                 sb.append( " aliasProblem\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.INVALIDDNSYNTAX_VAL )
-            {
+                break;
+
+            case INVALID_DN_SYNTAX :
                 sb.append( " invalidDNSyntax\n" );
-            }
-            else if ( resultCode.getValue() == 35 )
-            {
-                sb.append( " -- 35 reserved for undefined isLeaf --\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.ALIASDEREFERENCINGPROBLEM_VAL
)
-            {
+                break;
+
+            case ALIAS_DEREFERENCING_PROBLEM :
                 sb.append( " aliasDereferencingProblem\n" );
-            }
-            else if ( ( resultCode.getValue() >= 37 ) && ( resultCode.getValue()
<= 47 ) )
-            {
-                sb.append( " -- 37-47 unused --\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.INAPPROPRIATEAUTHENTICATION_VAL
)
-            {
+                break;
+
+            case INAPPROPRIATE_AUTHENTICATION :
                 sb.append( " inappropriateAuthentication\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.INVALIDCREDENTIALS_VAL )
-            {
+                break;
+
+            case INVALID_CREDENTIALS :
                 sb.append( " invalidCredentials\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.INSUFFICIENTACCESSRIGHTS_VAL
)
-            {
+                break;
+
+            case INSUFFICIENT_ACCESS_RIGHTS :
                 sb.append( " insufficientAccessRights\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.BUSY_VAL )
-            {
+                break;
+
+            case BUSY :
                 sb.append( " busy\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.UNAVAILABLE_VAL )
-            {
+                break;
+
+            case UNAVAILABLE :
                 sb.append( " unavailable\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.UNWILLINGTOPERFORM_VAL )
-            {
+                break;
+
+            case UNWILLING_TO_PERFORM :
                 sb.append( " unwillingToPerform\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.LOOPDETECT_VAL )
-            {
+                break;
+
+            case LOOP_DETECT :
                 sb.append( " loopDetect\n" );
-            }
-            else if ( ( resultCode.getValue() >= 55 ) && ( resultCode.getValue()
<= 63 ) )
-            {
-                sb.append( " -- 55-63 unused --\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.NAMINGVIOLATION_VAL )
-            {
+                break;
+
+            case NAMING_VIOLATION :
                 sb.append( " namingViolation\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.OBJECTCLASSVIOLATION_VAL )
-            {
+                break;
+
+            case OBJECT_CLASS_VIOLATION :
                 sb.append( " objectClassViolation\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.NOTALLOWEDONNONLEAF_VAL )
-            {
+                break;
+
+            case NOT_ALLOWED_ON_NON_LEAF :
                 sb.append( " notAllowedOnNonLeaf\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.NOTALLOWEDONRDN_VAL )
-            {
+                break;
+
+            case NOT_ALLOWED_ON_RDN :
                 sb.append( " notAllowedOnRDN\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.ENTRYALREADYEXISTS_VAL )
-            {
+                break;
+
+            case ENTRY_ALREADY_EXISTS :
                 sb.append( " entryAlreadyExists\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.OBJECTCLASSMODSPROHIBITED_VAL
)
-            {
+                break;
+
+            case OBJECT_CLASS_MODS_PROHIBITED :
                 sb.append( " objectClassModsProhibited\n" );
-            }
-            else if ( resultCode.getValue() == 70 )
-            {
-                sb.append( " -- 70 reserved for CLDAP --\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.AFFECTSMULTIPLEDSAS_VAL )
-            {
+                break;
+
+            case AFFECTS_MULTIPLE_DSAS :
                 sb.append( " affectsMultipleDSAs -- new\n" );
-            }
-            else if ( ( resultCode.getValue() >= 72 ) && ( resultCode.getValue()
<= 79 ) )
-            {
-                sb.append( " -- 72-79 unused --\n" );
-            }
-            else if ( resultCode.getValue() == ResultCodeEnum.OTHER_VAL )
-            {
+                break;
+
+            case OTHER :
                 sb.append( " other\n" );
-            }
-            else if ( ( resultCode.getValue() >= 81 ) && ( resultCode.getValue()
<= 90 ) )
-            {
-                sb.append( " -- 81-90 reserved for APIs --" );
-            }
-            else
-            {
-                sb.append( "Unknown error code : " ).append( resultCode );
-            }
+                break;
+                
+            default :
+            	switch ( resultCode.getResultCode() )
+            	{
+            		case 9 :
+                        sb.append( " -- 9 reserved --\n" );
+                        break;
+                        
+            		case 22 :
+            		case 23:
+            		case 24 :
+            		case 25 :
+            		case 26 :
+            		case 27 :
+            		case 28 :
+            		case 29 :
+            		case 30 :
+            		case 31 :
+                        sb.append( " -- 22-31 unused --\n" );
+                        break;
+
+            		case 35 :
+                        sb.append( " -- 35 reserved for undefined isLeaf --\n" );
+                        break;
+                                
+            		case 37 :
+            		case 38 :
+            		case 39 :
+            		case 40 :
+            		case 41 :
+            		case 42 :
+            		case 43 :
+            		case 44 :
+            		case 45 :
+            		case 46 :
+            		case 47 :
+                        sb.append( " -- 37-47 unused --\n" );
+                        break;
+
+            		case 55 :
+            		case 56 :
+            		case 57 :
+            		case 58 :
+            		case 59 :
+            		case 60 :
+            		case 61 :
+            		case 62 :
+            		case 63 :
+                        sb.append( " -- 55-63 unused --\n" );
+                        break;
+
+            		case 70 :
+                        sb.append( " -- 70 reserved for CLDAP --\n" );
+                        break;
+
+            		case 72 :
+            		case 73 :
+            		case 74 :
+            		case 75 :
+            		case 76 :
+            		case 77 :
+            		case 78 :
+            		case 79 :
+                        sb.append( " -- 72-79 unused --\n" );
+                        break;
+
+            		case 81 :
+            		case 82 :
+            		case 83 :
+            		case 84 :
+            		case 85 :
+            		case 86 :
+            		case 87 :
+            		case 88 :
+            		case 89 :
+            		case 90 :
+                        sb.append( " -- 81-90 reserved for APIs --" );
+                        break;
+            			
+                    default :
+                        sb.append( "Unknown error code : " ).append( resultCode );
+                        break;
+            	}
         }
 
         sb.append( "            Matched DN : '" ).append( matchedDn ).append( "'\n" );

Modified: directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/MessageTypeEnum.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/MessageTypeEnum.java?view=diff&rev=474487&r1=474486&r2=474487
==============================================================================
--- directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/MessageTypeEnum.java
(original)
+++ directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/MessageTypeEnum.java
Mon Nov 13 12:16:16 2006
@@ -19,152 +19,95 @@
  */
 package org.apache.directory.shared.ldap.message;
 
-
-import org.apache.directory.shared.ldap.util.ValuedEnum;
-
-
 /**
  * Type safe enumeration over the various LDAPv3 message types.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Revision$
  */
-public class MessageTypeEnum extends ValuedEnum
+public enum MessageTypeEnum
 {
-    static final long serialVersionUID = 4297707466257974528L;
-
     /** Bind request protocol message type value */
-    public static final int BINDREQUEST_VAL = 0x40000000;
+    BIND_REQUEST( 0x40000000 ),
 
     /** Bind response protocol message type value */
-    public static final int BINDRESPONSE_VAL = 0x40000001;
+    BIND_RESPONSE( 0x40000001 ),
 
     /** Unbind request protocol message type value */
-    public static final int UNBINDREQUEST_VAL = 0x40000002;
+    UNBIND_REQUEST( 0x40000002 ),
 
     /** Search request protocol message type value */
-    public static final int SEARCHREQUEST_VAL = 0x40000003;
+    SEARCH_REQUEST( 0x40000003 ),
 
     /** Search entry response protocol message type value */
-    public static final int SEARCHRESENTRY_VAL = 0x40000004;
+    SEARCH_RES_ENTRY( 0x40000004 ),
 
     /** Search done response protocol message type value */
-    public static final int SEARCHRESDONE_VAL = 0x40000005;
+    SEARCH_RES_DONE( 0x40000005 ),
 
     /** Search reference response protocol message type value */
-    public static final int SEARCHRESREF_VAL = 0x40000013;
+    SEARCH_RES_REF( 0x40000013 ),
 
     /** Modify request protocol message type value */
-    public static final int MODIFYREQUEST_VAL = 0x40000006;
+    MODIFY_REQUEST( 0x40000006 ),
 
     /** Modify response protocol message type value */
-    public static final int MODIFYRESPONSE_VAL = 0x40000007;
+    MODIFY_RESPONSE( 0x40000007 ),
 
     /** Add request protocol message type value */
-    public static final int ADDREQUEST_VAL = 0x40000008;
+    ADD_REQUEST( 0x40000008 ),
 
     /** Add response protocol message type value */
-    public static final int ADDRESPONSE_VAL = 0x40000009;
+    ADD_RESPONSE( 0x40000009 ),
 
     /** Delete request protocol message type value */
-    public static final int DELREQUEST_VAL = 0x4000000a;
+    DEL_REQUEST( 0x4000000 ),
 
     /** Delete response protocol message type value */
-    public static final int DELRESPONSE_VAL = 0x4000000b;
+    DEL_RESPONSE( 0x4000000b ),
 
     /** Modify DN request protocol message type value */
-    public static final int MODDNREQUEST_VAL = 0x4000000c;
+    MOD_DN_REQUEST( 0x4000000c ),
 
     /** Modify DN response protocol message type value */
-    public static final int MODDNRESPONSE_VAL = 0x4000000d;
+    MOD_DN_RESPONSE( 0x4000000d ),
 
     /** Compare request protocol message type value */
-    public static final int COMPAREREQUEST_VAL = 0x4000000e;
+    COMPARE_REQUEST( 0x4000000e ),
 
     /** Compare response protocol message type value */
-    public static final int COMPARERESPONSE_VAL = 0x4000000f;
+    COMPARE_RESPONSE( 0x4000000f ),
 
     /** Abandon request protocol message type value */
-    public static final int ABANDONREQUEST_VAL = 0x40000010;
+    ABANDON_REQUEST( 0x40000010 ),
 
     /** Extended request protocol message type value */
-    public static final int EXTENDEDREQ_VAL = 0x40000017;
+    EXTENDED_REQ( 0x40000017 ),
 
     /** Extended response protocol message type value */
-    public static final int EXTENDEDRESP_VAL = 0x40000018;
-
-    /** Bind request protocol message type */
-    public static final MessageTypeEnum BINDREQUEST = new MessageTypeEnum( "BINDREQUEST",
BINDREQUEST_VAL );
-
-    /** Bind response protocol message type */
-    public static final MessageTypeEnum BINDRESPONSE = new MessageTypeEnum( "BINDRESPONSE",
BINDRESPONSE_VAL );
-
-    /** Unbind request protocol message type */
-    public static final MessageTypeEnum UNBINDREQUEST = new MessageTypeEnum( "UNBINDREQUEST",
UNBINDREQUEST_VAL );
-
-    /** Search request protocol message type */
-    public static final MessageTypeEnum SEARCHREQUEST = new MessageTypeEnum( "SEARCHREQUEST",
SEARCHREQUEST_VAL );
-
-    /** Search entry response protocol message type */
-    public static final MessageTypeEnum SEARCHRESENTRY = new MessageTypeEnum( "SEARCHRESENTRY",
SEARCHRESENTRY_VAL );
-
-    /** Search done response protocol message type */
-    public static final MessageTypeEnum SEARCHRESDONE = new MessageTypeEnum( "SEARCHRESDONE",
SEARCHRESDONE_VAL );
-
-    /** Search reference response protocol message type */
-    public static final MessageTypeEnum SEARCHRESREF = new MessageTypeEnum( "SEARCHRESREF",
SEARCHRESREF_VAL );
-
-    /** Modify request protocol message type */
-    public static final MessageTypeEnum MODIFYREQUEST = new MessageTypeEnum( "MODIFYREQUEST",
MODIFYREQUEST_VAL );
-
-    /** Modify response protocol message type */
-    public static final MessageTypeEnum MODIFYRESPONSE = new MessageTypeEnum( "MODIFYRESPONSE",
MODIFYRESPONSE_VAL );
-
-    /** Add request protocol message type */
-    public static final MessageTypeEnum ADDREQUEST = new MessageTypeEnum( "ADDREQUEST", ADDREQUEST_VAL
);
-
-    /** Add response protocol message type */
-    public static final MessageTypeEnum ADDRESPONSE = new MessageTypeEnum( "ADDRESPONSE",
ADDRESPONSE_VAL );
-
-    /** Delete request protocol message type */
-    public static final MessageTypeEnum DELREQUEST = new MessageTypeEnum( "DELREQUEST", DELREQUEST_VAL
);
-
-    /** Delete response protocol message type */
-    public static final MessageTypeEnum DELRESPONSE = new MessageTypeEnum( "DELRESPONSE",
DELRESPONSE_VAL );
-
-    /** Modify DN request protocol message type */
-    public static final MessageTypeEnum MODDNREQUEST = new MessageTypeEnum( "MODDNREQUEST",
MODDNREQUEST_VAL );
-
-    /** Modify DN response protocol message type */
-    public static final MessageTypeEnum MODDNRESPONSE = new MessageTypeEnum( "MODDNRESPONSE",
MODDNRESPONSE_VAL );
-
-    /** Compare request protocol message type */
-    public static final MessageTypeEnum COMPAREREQUEST = new MessageTypeEnum( "COMPAREREQUEST",
COMPAREREQUEST_VAL );
-
-    /** Compare response protocol message type */
-    public static final MessageTypeEnum COMPARERESPONSE = new MessageTypeEnum( "COMPARERESPONSE",
COMPARERESPONSE_VAL );
-
-    /** Abandon request protocol message type */
-    public static final MessageTypeEnum ABANDONREQUEST = new MessageTypeEnum( "ABANDONREQUEST",
ABANDONREQUEST_VAL );
-
-    /** Extended request protocol message type */
-    public static final MessageTypeEnum EXTENDEDREQ = new MessageTypeEnum( "EXTENDEDREQ",
EXTENDEDREQ_VAL );
-
-    /** Extended response protocol message type */
-    public static final MessageTypeEnum EXTENDEDRESP = new MessageTypeEnum( "EXTENDEDRESP",
EXTENDEDRESP_VAL );
-
+    EXTENDED_RESP( 0x40000018 );
+    
+    private int messageType;
 
     /**
      * Private construct so no other instances can be created other than the
      * public static constants in this class.
      * 
-     * @param a_name
-     *            a string name for the enumeration value.
-     * @param a_value
+     * @param messageType
      *            the integer value of the enumeration.
      */
-    private MessageTypeEnum(final String a_name, final int a_value)
+    private MessageTypeEnum( int messageType )
+    {
+    	this.messageType = messageType;
+    }
+    
+    /**
+     * @return The integer associated with the result code
+     */
+    public int getMessageType()
     {
-        super( a_name, a_value );
+    	return messageType;
     }
+    
+    
 }

Modified: directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequest.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequest.java?view=diff&rev=474487&r1=474486&r2=474487
==============================================================================
--- directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequest.java
(original)
+++ directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnRequest.java
Mon Nov 13 12:16:16 2006
@@ -68,7 +68,7 @@
 public interface ModifyDnRequest extends SingleReplyRequest, AbandonableRequest
 {
     /** Modify DN request message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.MODDNREQUEST;
+    MessageTypeEnum TYPE = MessageTypeEnum.MOD_DN_REQUEST;
 
     /** Modify DN response message type enumeration value */
     MessageTypeEnum RESP_TYPE = ModifyDnResponse.TYPE;

Modified: directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponse.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponse.java?view=diff&rev=474487&r1=474486&r2=474487
==============================================================================
--- directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponse.java
(original)
+++ directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponse.java
Mon Nov 13 12:16:16 2006
@@ -30,5 +30,5 @@
 public interface ModifyDnResponse extends ResultResponse
 {
     /** Modify DN response message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.MODDNRESPONSE;
+    MessageTypeEnum TYPE = MessageTypeEnum.MOD_DN_RESPONSE;
 }

Modified: directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java?view=diff&rev=474487&r1=474486&r2=474487
==============================================================================
--- directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java
(original)
+++ directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java
Mon Nov 13 12:16:16 2006
@@ -99,7 +99,7 @@
 public interface ModifyRequest extends SingleReplyRequest, AbandonableRequest
 {
     /** Modify request message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.MODIFYREQUEST;
+    MessageTypeEnum TYPE = MessageTypeEnum.MODIFY_REQUEST;
 
     /** Modify response message type enumeration value */
     MessageTypeEnum RESP_TYPE = ModifyResponse.TYPE;

Modified: directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponse.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponse.java?view=diff&rev=474487&r1=474486&r2=474487
==============================================================================
--- directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponse.java
(original)
+++ directory/branches/apacheds-schema/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponse.java
Mon Nov 13 12:16:16 2006
@@ -29,5 +29,5 @@
 public interface ModifyResponse extends ResultResponse
 {
     /** Modify response message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.MODIFYRESPONSE;
+    MessageTypeEnum TYPE = MessageTypeEnum.MODIFY_RESPONSE;
 }



Mime
View raw message