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:25:02 UTC
svn commit: r568065 -
/directory/apacheds/trunk/schema-bootstrap/src/main/java/org/apache/directory/server/schema/bootstrap/AbstractBootstrapProducer.java
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 )
{