directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 55046 - incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema
Date Tue, 19 Oct 2004 00:54:59 GMT
Author: akarasulu
Date: Mon Oct 18 17:54:59 2004
New Revision: 55046

Modified:
   incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/AbstractSchemaObject.java
Log:
just added convenience constructor

Modified: incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/AbstractSchemaObject.java
==============================================================================
--- incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/AbstractSchemaObject.java
(original)
+++ incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema/AbstractSchemaObject.java
Mon Oct 18 17:54:59 2004
@@ -89,6 +89,20 @@
      * Creates an abstract SchemaObject.
      *
      * @param oid the numeric object identifier (OID)
+     * @param name the first human readable name for this SchemaObject
+     * @param isObsolete true if this object is inactive, false if active
+     * @throws NullPointerException if oid is null
+     */
+    protected AbstractSchemaObject( String oid, String name, boolean isObsolete )
+    {
+        this( oid, new String[] { name} , isObsolete, null );
+    }
+
+
+    /**
+     * Creates an abstract SchemaObject.
+     *
+     * @param oid the numeric object identifier (OID)
      * @param isObsolete true if this object is inactive, false if active
      * @throws NullPointerException if oid is null
      */

Mime
View raw message