directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r568065 - /directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/AbstractBootstrapProducer.java
Date Tue, 21 Aug 2007 11:25:02 GMT
Author: elecharny
Date: Tue Aug 21 04:25:01 2007
New Revision: 568065

URL: http://svn.apache.org/viewvc?rev=568065&view=rev
Log:
Added three methods : isStructural(), isAbstract() and isAuxilliary()

Modified:
    directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/AbstractBootstrapProducer.java

Modified: directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/AbstractBootstrapProducer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/AbstractBootstrapProducer.java?rev=568065&r1=568064&r2=568065&view=diff
==============================================================================
--- directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/AbstractBootstrapProducer.java
(original)
+++ directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/AbstractBootstrapProducer.java
Tue Aug 21 04:25:01 2007
@@ -474,6 +474,20 @@
             return type;
         }
 
+        public boolean isStructural()
+        {
+        	return type == ObjectClassTypeEnum.STRUCTURAL;
+        }
+
+        public boolean isAbstract()
+        {
+        	return type == ObjectClassTypeEnum.ABSTRACT;
+        }
+
+        public boolean isAuxiliary()
+        {
+        	return type == ObjectClassTypeEnum.AUXILIARY;
+        }
 
         public void setSchema( String schema )
         {



Mime
View raw message