directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r568072 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/ObjectClass.java
Date Tue, 21 Aug 2007 11:30:27 GMT
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();
 
 
     /**



Mime
View raw message