You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/08/21 13:30:27 UTC
svn commit: r568072 -
/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/ObjectClass.java
Author: elecharny
Date: Tue Aug 21 04:30:26 2007
New Revision: 568072
URL: http://svn.apache.org/viewvc?rev=568072&view=rev
Log:
Added three methods : isStructural(), isAbstract() and isAuxilliary()
Modified:
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/ObjectClass.java
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/ObjectClass.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/ObjectClass.java?rev=568072&r1=568071&r2=568072&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/ObjectClass.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/ObjectClass.java Tue Aug 21 04:30:26 2007
@@ -85,6 +85,30 @@
* @return the ObjectClass type as an enum
*/
ObjectClassTypeEnum getType();
+
+
+ /**
+ * Tells if the current ObjectClass is STRUCTURAL
+ *
+ * @return <code>true</code> if the ObjectClass is STRUCTURAL
+ */
+ boolean isStructural();
+
+
+ /**
+ * Tells if the current ObjectClass is ABSTRACT
+ *
+ * @return <code>true</code> if the ObjectClass is ABSTRACT
+ */
+ boolean isAbstract();
+
+
+ /**
+ * Tells if the current ObjectClass is AUXILIARY
+ *
+ * @return <code>true</code> if the ObjectClass is AUXILIARY
+ */
+ boolean isAuxiliary();
/**