directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 55044 - in incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema: . bootstrap
Date Tue, 19 Oct 2004 00:35:18 GMT
Author: akarasulu
Date: Mon Oct 18 17:35:17 2004
New Revision: 55044

Modified:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/MatchingRuleUseRegistry.java
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/AbstractBootstrapProducer.java
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/BootstrapAttributeTypeRegistry.java
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/CoreMatchingRuleProducer.java
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/CoreSyntaxProducer.java
Log:
correcting changes to schema objects in ldap-common

Modified: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/MatchingRuleUseRegistry.java
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/MatchingRuleUseRegistry.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/MatchingRuleUseRegistry.java
Mon Oct 18 17:35:17 2004
@@ -23,7 +23,9 @@
 
 
 /**
- * An MatchingRuleUse registry service interface.
+ * A MatchingRuleUse registry service interface.  MatchingRuleUse objects are
+ * special in that they do not have unique OID's specifically assigned to them.
+ * Their OID is really the OID of the MatchingRule they refer to.
  *
  * @author <a href="mailto:directory-dev@incubator.apache.org">Apache Directory Project</a>
  * @version $Rev$

Modified: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/AbstractBootstrapProducer.java
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/AbstractBootstrapProducer.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/AbstractBootstrapProducer.java
Mon Oct 18 17:35:17 2004
@@ -71,15 +71,21 @@
         }
 
 
-        public void setName( String name )
+        public void setNames( String[] names )
         {
-            super.setName( name );
+            super.setNames( names );
         }
 
 
         public SyntaxChecker getSyntaxChecker( ) throws NamingException
         {
             return registry.lookup( getOid() );
+        }
+
+
+        public boolean isObsolete()
+        {
+            return false;
         }
     }
 }

Modified: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/BootstrapAttributeTypeRegistry.java
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/BootstrapAttributeTypeRegistry.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/BootstrapAttributeTypeRegistry.java
Mon Oct 18 17:35:17 2004
@@ -89,10 +89,10 @@
             throw e;
         }
 
-        String[] names = attributeType.getAllNames();
+        String[] names = attributeType.getNames();
         for ( int ii = 0; ii < names.length; ii++ )
         {
-            oidRegistry.register( names[0], attributeType.getName() );
+            oidRegistry.register( names[ii], attributeType.getOid() );
         }
 
         oidToSchema.put( attributeType.getOid(), schema );

Modified: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/CoreMatchingRuleProducer.java
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/CoreMatchingRuleProducer.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/CoreMatchingRuleProducer.java
Mon Oct 18 17:35:17 2004
@@ -67,27 +67,27 @@
         */
 
         mrule = new MutableMatchingRule( "2.5.13.0" );
-        mrule.setName( "objectIdentifierMatch" );
+        mrule.setNames( new String[] { "objectIdentifierMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.38" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.1" );
-        mrule.setName( "distinguishedNameMatch" );
+        mrule.setNames( new String[] { "distinguishedNameMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.2" );
-        mrule.setName( "caseIgnoreMatch" );
+        mrule.setNames( new String[] { "caseIgnoreMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.15" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.3" );
-        mrule.setName( "caseIgnoreOrderingMatch" );
+        mrule.setNames( new String[] { "caseIgnoreOrderingMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.15" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.4" );
-        mrule.setName( "caseIgnoreSubstringsMatch" );
+        mrule.setNames( new String[] { "caseIgnoreSubstringsMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.58" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
@@ -111,27 +111,27 @@
         */
 
         mrule = new MutableMatchingRule( "2.5.13.8" );
-        mrule.setName( "numericStringMatch" );
+        mrule.setNames( new String[] { "numericStringMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.36" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.10" );
-        mrule.setName( "numericStringSubstringsMatch" );
+        mrule.setNames( new String[] { "numericStringSubstringsMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.58" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.11" );
-        mrule.setName( "caseIgnoreListMatch" );
+        mrule.setNames( new String[] { "caseIgnoreListMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.41" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.14" );
-        mrule.setName( "integerMatch" );
+        mrule.setNames( new String[] { "integerMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.27" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.16" );
-        mrule.setName( "bitStringMatch" );
+        mrule.setNames( new String[] { "bitStringMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.6" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
@@ -155,27 +155,27 @@
         */
 
         mrule = new MutableMatchingRule( "2.5.13.20" );
-        mrule.setName( "telephoneNumberMatch" );
+        mrule.setNames( new String[] { "telephoneNumberMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.50" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.21" );
-        mrule.setName( "telephoneNumberSubstringsMatch" );
+        mrule.setNames( new String[] { "telephoneNumberSubstringsMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.58" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.22" );
-        mrule.setName( "presentationAddressMatch" );
+        mrule.setNames( new String[] { "presentationAddressMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.43" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.23" );
-        mrule.setName( "uniqueMemberMatch" );
+        mrule.setNames( new String[] { "uniqueMemberMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.34" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.24" );
-        mrule.setName( "protocolInformationMatch" );
+        mrule.setNames( new String[] { "protocolInformationMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.42" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
@@ -203,32 +203,32 @@
         */
 
         mrule = new MutableMatchingRule( "2.5.13.27" );
-        mrule.setName( "generalizedTimeMatch" );
+        mrule.setNames( new String[] { "generalizedTimeMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.24" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.28" );
-        mrule.setName( "generalizedTimeOrderingMatch" );
+        mrule.setNames( new String[] { "generalizedTimeOrderingMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.24" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.29" );
-        mrule.setName( "integerFirstComponentMatch" );
+        mrule.setNames( new String[] { "integerFirstComponentMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.27" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "2.5.13.30" );
-        mrule.setName( "objectIdentifierFirstComponentMatch" );
+        mrule.setNames( new String[] { "objectIdentifierFirstComponentMatch" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.38" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "1.3.6.1.4.1.1466.109.114.1" );
-        mrule.setName( "caseExactIA5Match" );
+        mrule.setNames( new String[] { "caseExactIA5Match" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.26" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
 
         mrule = new MutableMatchingRule( "1.3.6.1.4.1.1466.109.114.2" );
-        mrule.setName( "caseIgnoreIA5Match" );
+        mrule.setNames( new String[] { "caseIgnoreIA5Match" } );
         mrule.setSyntax( syntaxRegistry.lookup( "1.3.6.1.4.1.1466.115.121.1.26" ) );
         cb.schemaObjectProduced( this, mrule.getOid(), mrule );
     }
@@ -241,9 +241,9 @@
             super( oid );
         }
 
-        protected void setName( String name )
+        protected void setNames( String[] names )
         {
-            super.setName( name );
+            super.setNames( names );
         }
 
         protected void setSyntax( Syntax syntax )

Modified: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/CoreSyntaxProducer.java
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/CoreSyntaxProducer.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/bootstrap/CoreSyntaxProducer.java
Mon Oct 18 17:35:17 2004
@@ -113,8 +113,8 @@
     public void produce( BootstrapRegistries registries, ProducerCallback cb )
         throws NamingException
     {
-        SyntaxCheckerRegistry syntaxCheckerRegistry = registries.getSyntaxCheckerRegistry();
         MutableSyntax syntax;
+        SyntaxCheckerRegistry syntaxCheckerRegistry = registries.getSyntaxCheckerRegistry();
 
         /*
          * From RFC 2252 Section 4.3.2. on Syntax Object Identifiers
@@ -135,52 +135,52 @@
          * 9 Certificate Pair                N  1.3.6.1.4.1.1466.115.121.1.10
          */
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.1", syntaxCheckerRegistry
);
-        syntax.setName( "ACI Item" );
+        syntax.setNames( new String[] { "ACI Item" } );
         syntax.setHumanReadible( false );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.2", syntaxCheckerRegistry
);
-        syntax.setName( "Access Point" );
+        syntax.setNames( new String[] { "Access Point" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.3", syntaxCheckerRegistry
);
-        syntax.setName( "Attribute Type Description" );
+        syntax.setNames( new String[] { "Attribute Type Description" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.4", syntaxCheckerRegistry
);
-        syntax.setName( "Audio" );
+        syntax.setNames( new String[] { "Audio" } );
         syntax.setHumanReadible( false );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.5", syntaxCheckerRegistry
);
-        syntax.setName( "Binary" );
+        syntax.setNames( new String[] { "Binary" } );
         syntax.setHumanReadible( false );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.6", syntaxCheckerRegistry
);
-        syntax.setName( "Bit String" );
+        syntax.setNames( new String[] { "Bit String" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.7", syntaxCheckerRegistry
);
-        syntax.setName( "Boolean" );
+        syntax.setNames( new String[] { "Boolean" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.8", syntaxCheckerRegistry
);
-        syntax.setName( "Certificate" );
+        syntax.setNames( new String[] { "Certificate" } );
         syntax.setHumanReadible( false );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.9", syntaxCheckerRegistry
);
-        syntax.setName( "Certificate List" );
+        syntax.setNames( new String[] { "Certificate List" } );
         syntax.setHumanReadible( false );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.10", syntaxCheckerRegistry
);
-        syntax.setName( "Certificate Pair" );
+        syntax.setNames( new String[] { "Certificate Pair" } );
         syntax.setHumanReadible( false );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
@@ -199,52 +199,52 @@
          * 19 DSE Type                        Y  1.3.6.1.4.1.1466.115.121.1.20
          */
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.11", syntaxCheckerRegistry
);
-        syntax.setName( "Country String" );
+        syntax.setNames( new String[] { "Country String" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.12", syntaxCheckerRegistry
);
-        syntax.setName( "DN" );
+        syntax.setNames( new String[] { "DN" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.13", syntaxCheckerRegistry
);
-        syntax.setName( "Data Quality Syntax" );
+        syntax.setNames( new String[] { "Data Quality Syntax" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.14", syntaxCheckerRegistry
);
-        syntax.setName( "Delivery Method" );
+        syntax.setNames( new String[] { "Delivery Method" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.15", syntaxCheckerRegistry
);
-        syntax.setName( "Directory String" );
+        syntax.setNames( new String[] { "Directory String" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.16", syntaxCheckerRegistry
);
-        syntax.setName( "DIT Content Rule Description" );
+        syntax.setNames( new String[] { "DIT Content Rule Description" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.17", syntaxCheckerRegistry
);
-        syntax.setName( "DIT Structure Rule Description" );
+        syntax.setNames( new String[] { "DIT Structure Rule Description" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.18", syntaxCheckerRegistry
);
-        syntax.setName( "DL Submit Permission" );
+        syntax.setNames( new String[] { "DL Submit Permission" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.19", syntaxCheckerRegistry
);
-        syntax.setName( "DSA Quality Syntax" );
+        syntax.setNames( new String[] { "DSA Quality Syntax" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.20", syntaxCheckerRegistry
);
-        syntax.setName( "DSE Type" );
+        syntax.setNames( new String[] { "DSE Type" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
@@ -263,52 +263,52 @@
          * 29 Matching Rule Description       Y  1.3.6.1.4.1.1466.115.121.1.30
          */
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.21", syntaxCheckerRegistry
);
-        syntax.setName( "Enhanced Guide" );
+        syntax.setNames( new String[] { "Enhanced Guide" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.22", syntaxCheckerRegistry
);
-        syntax.setName( "Facsimile Telephone Number" );
+        syntax.setNames( new String[] { "Facsimile Telephone Number" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.23", syntaxCheckerRegistry
);
-        syntax.setName( "Fax" );
+        syntax.setNames( new String[] { "Fax" } );
         syntax.setHumanReadible( false );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.24", syntaxCheckerRegistry
);
-        syntax.setName( "Generalized Time" );
+        syntax.setNames( new String[] { "Generalized Time" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.25", syntaxCheckerRegistry
);
-        syntax.setName( "Guide" );
+        syntax.setNames( new String[] { "Guide" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.26", syntaxCheckerRegistry
);
-        syntax.setName( "IA5 String" );
+        syntax.setNames( new String[] { "IA5 String" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.27", syntaxCheckerRegistry
);
-        syntax.setName( "INTEGER" );
+        syntax.setNames( new String[] { "INTEGER" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.28", syntaxCheckerRegistry
);
-        syntax.setName( "JPEG" );
+        syntax.setNames( new String[] { "JPEG" } );
         syntax.setHumanReadible( false );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.29", syntaxCheckerRegistry
);
-        syntax.setName( "Master And Shadow Access Points" );
+        syntax.setNames( new String[] { "Master And Shadow Access Points" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.30", syntaxCheckerRegistry
);
-        syntax.setName( "Matching Rule Description" );
+        syntax.setNames( new String[] { "Matching Rule Description" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
@@ -327,52 +327,52 @@
          * 39 Octet String                    Y  1.3.6.1.4.1.1466.115.121.1.40
          */
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.31", syntaxCheckerRegistry
);
-        syntax.setName( "Matching Rule Use Description" );
+        syntax.setNames( new String[] { "Matching Rule Use Description" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.32", syntaxCheckerRegistry
);
-        syntax.setName( "Mail Preference" );
+        syntax.setNames( new String[] { "Mail Preference" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.33", syntaxCheckerRegistry
);
-        syntax.setName( "MHS OR Address" );
+        syntax.setNames( new String[] { "MHS OR Address" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.34", syntaxCheckerRegistry
);
-        syntax.setName( "Name And Optional UID" );
+        syntax.setNames( new String[] { "Name And Optional UID" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.35", syntaxCheckerRegistry
);
-        syntax.setName( "Name Form Description" );
+        syntax.setNames( new String[] { "Name Form Description" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.36", syntaxCheckerRegistry
);
-        syntax.setName( "Numeric String" );
+        syntax.setNames( new String[] { "Numeric String" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.37", syntaxCheckerRegistry
);
-        syntax.setName( "Object Class Description" );
+        syntax.setNames( new String[] { "Object Class Description" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.38", syntaxCheckerRegistry
);
-        syntax.setName( "OID" );
+        syntax.setNames( new String[] { "OID" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.39", syntaxCheckerRegistry
);
-        syntax.setName( "Other Mailbox" );
+        syntax.setNames( new String[] { "Other Mailbox" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.40", syntaxCheckerRegistry
);
-        syntax.setName( "Octet String" );
+        syntax.setNames( new String[] { "Octet String" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
@@ -391,52 +391,52 @@
          * 49 Telephone Number                Y  1.3.6.1.4.1.1466.115.121.1.50
          */
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.41", syntaxCheckerRegistry
);
-        syntax.setName( "Postal Address" );
+        syntax.setNames( new String[] { "Postal Address" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.42", syntaxCheckerRegistry
);
-        syntax.setName( "Protocol Information" );
+        syntax.setNames( new String[] { "Protocol Information" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.43", syntaxCheckerRegistry
);
-        syntax.setName( "Presentation Address" );
+        syntax.setNames( new String[] { "Presentation Address" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.44", syntaxCheckerRegistry
);
-        syntax.setName( "Printable String" );
+        syntax.setNames( new String[] { "Printable String" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.45", syntaxCheckerRegistry
);
-        syntax.setName( "Subtree Specification" );
+        syntax.setNames( new String[] { "Subtree Specification" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.46", syntaxCheckerRegistry
);
-        syntax.setName( "Supplier Information" );
+        syntax.setNames( new String[] { "Supplier Information" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.47", syntaxCheckerRegistry
);
-        syntax.setName( "Supplier Or Consumer" );
+        syntax.setNames( new String[] { "Supplier Or Consumer" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.48", syntaxCheckerRegistry
);
-        syntax.setName( "Supplier And Consumer" );
+        syntax.setNames( new String[] { "Supplier And Consumer" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.49", syntaxCheckerRegistry
);
-        syntax.setName( "Supported Algorithm" );
+        syntax.setNames( new String[] { "Supported Algorithm" } );
         syntax.setHumanReadible( false );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.50", syntaxCheckerRegistry
);
-        syntax.setName( "Telephone Number" );
+        syntax.setNames( new String[] { "Telephone Number" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
@@ -453,42 +453,42 @@
          * 57 Substring Assertion             Y  1.3.6.1.4.1.1466.115.121.1.58
          */
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.51", syntaxCheckerRegistry
);
-        syntax.setName( "Teletex Terminal Identifier" );
+        syntax.setNames( new String[] { "Teletex Terminal Identifier" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.52", syntaxCheckerRegistry
);
-        syntax.setName( "Telex Number" );
+        syntax.setNames( new String[] { "Telex Number" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.53", syntaxCheckerRegistry
);
-        syntax.setName( "UTC Time" );
+        syntax.setNames( new String[] { "UTC Time" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.54", syntaxCheckerRegistry
);
-        syntax.setName( "LDAP Syntax Description" );
+        syntax.setNames( new String[] { "LDAP Syntax Description" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.55", syntaxCheckerRegistry
);
-        syntax.setName( "Modify Rights" );
+        syntax.setNames( new String[] { "Modify Rights" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.56", syntaxCheckerRegistry
);
-        syntax.setName( "LDAP BootstrapSchema Definition" );
+        syntax.setNames( new String[] { "LDAP BootstrapSchema Definition" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.57", syntaxCheckerRegistry
);
-        syntax.setName( "LDAP BootstrapSchema Description" );
+        syntax.setNames( new String[] { "LDAP BootstrapSchema Description" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
 
         syntax = new MutableSyntax( "1.3.6.1.4.1.1466.115.121.1.58", syntaxCheckerRegistry
);
-        syntax.setName( "Substring Assertion" );
+        syntax.setNames( new String[] { "Substring Assertion" } );
         syntax.setHumanReadible( true );
         cb.schemaObjectProduced( this, syntax.getOid(), syntax );
     }
@@ -516,15 +516,23 @@
         }
 
 
-        protected void setName( String name )
+        protected void setNames( String[] names )
         {
-            super.setName( name );
+            super.setNames( names );
         }
 
 
+
+
         public SyntaxChecker getSyntaxChecker( ) throws NamingException
         {
             return registry.lookup( getOid() );
+        }
+
+
+        public boolean isObsolete()
+        {
+            return false;
         }
     }
 }

Mime
View raw message