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
      */

Reply via email to