Return-Path: Delivered-To: apmail-incubator-directory-cvs-archive@www.apache.org Received: (qmail 87371 invoked from network); 19 Oct 2004 00:55:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Oct 2004 00:55:01 -0000 Received: (qmail 45909 invoked by uid 500); 19 Oct 2004 00:55:01 -0000 Delivered-To: apmail-incubator-directory-cvs-archive@incubator.apache.org Received: (qmail 45864 invoked by uid 500); 19 Oct 2004 00:55:00 -0000 Mailing-List: contact directory-cvs-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: directory-dev@incubator.apache.org Delivered-To: mailing list directory-cvs@incubator.apache.org Received: (qmail 45851 invoked by uid 99); 19 Oct 2004 00:55:00 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 18 Oct 2004 17:55:00 -0700 Received: (qmail 87332 invoked by uid 65534); 19 Oct 2004 00:54:59 -0000 Date: 19 Oct 2004 00:54:59 -0000 Message-ID: <20041019005459.87330.qmail@minotaur.apache.org> From: akarasulu@apache.org To: directory-cvs@incubator.apache.org Subject: svn commit: rev 55046 - incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/schema X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 */