Examples of SchemaObject

  • org.apache.directory.shared.ldap.model.schema.SchemaObject
    Most schema objects have some common attributes. This class contains the minimum set of properties exposed by a SchemaObject.
    We have 11 types of SchemaObjects :
  • AttributeType
  • DitCOntentRule
  • DitStructureRule
  • LdapComparator (specific to ADS)
  • LdapSyntaxe
  • MatchingRule
  • MatchingRuleUse
  • NameForm
  • Normalizer (specific to ADS)
  • ObjectClass
  • SyntaxChecker (specific to ADS)

    This class provides accessors and setters for the following attributes, which are common to all those SchemaObjects :
  • oid : The numeric OID
  • description : The SchemaObject description
  • obsolete : Tells if the schema object is obsolete
  • extensions : The extensions, a key/Values map
  • schemaObjectType : The SchemaObject type (see upper)
  • schema : The schema the SchemaObject is associated with (it's an extension). Can be null
  • isEnabled : The SchemaObject status (it's related to the schema status)
  • isReadOnly : Tells if the SchemaObject can be modified or not

    Some of those attributes are not used by some Schema elements, even if they should have been used. Here is the list : name : LdapSyntax, Comparator, Normalizer, SyntaxChecker numericOid : DitStructureRule, obsolete : LdapSyntax, Comparator, Normalizer, SyntaxChecker @author Apache Directory Project
  • org.apache.directory.shared.ldap.schema.SchemaObject
  • org.h2.schema.SchemaObject
    Any database object that is stored in a schema.
  • org.hsqldb.SchemaObject
    SQL schema object interface @author Fred Toussi (fredt@users dot sourceforge.net) @version 1.9.0 @since 1.9.0
  • org.hsqldb_voltpatches.SchemaObject
    SQL schema object interface @author Fred Toussi (fredt@users dot sourceforge.net) @version 1.9.0 @since 1.9.0
  • org.lealone.dbobject.SchemaObject
    Any database object that is stored in a schema.

  • Examples of org.apache.directory.shared.ldap.model.schema.SchemaObject

            {
                Set<SchemaObjectWrapper> schemaObjectWrappers = schema.getContent();

                for ( SchemaObjectWrapper schemaObjectWrapper : schemaObjectWrappers )
                {
                    SchemaObject schemaObject = schemaObjectWrapper.get();

                    if ( schemaObject instanceof DitStructureRule )
                    {
                        DitStructureRule ditStructureRule = ( DitStructureRule ) schemaObject;
    View Full Code Here

    Examples of org.apache.directory.shared.ldap.model.schema.SchemaObject

            {
                Set<SchemaObjectWrapper> schemaObjectWrappers = schema.getContent();

                for ( SchemaObjectWrapper schemaObjectWrapper : schemaObjectWrappers )
                {
                    SchemaObject schemaObject = schemaObjectWrapper.get();

                    if ( schemaObject instanceof MatchingRuleUse )
                    {
                        MatchingRuleUse matchingRuleUse = ( MatchingRuleUse ) schemaObject;
    View Full Code Here

    Examples of org.apache.directory.shared.ldap.model.schema.SchemaObject

            {
                Set<SchemaObjectWrapper> schemaObjectWrappers = schema.getContent();

                for ( SchemaObjectWrapper schemaObjectWrapper : schemaObjectWrappers )
                {
                    SchemaObject schemaObject = schemaObjectWrapper.get();

                    if ( schemaObject instanceof MatchingRule )
                    {
                        MatchingRule matchingRule = ( MatchingRule ) schemaObject;
    View Full Code Here

    Examples of org.apache.directory.shared.ldap.model.schema.SchemaObject

            {
                Set<SchemaObjectWrapper> schemaObjectWrappers = schema.getContent();

                for ( SchemaObjectWrapper schemaObjectWrapper : schemaObjectWrappers )
                {
                    SchemaObject schemaObject = schemaObjectWrapper.get();

                    if ( schemaObject instanceof NameForm )
                    {
                        NameForm nameForm = ( NameForm ) schemaObject;
    View Full Code Here

    Examples of org.apache.directory.shared.ldap.model.schema.SchemaObject

            {
                Set<SchemaObjectWrapper> schemaObjectWrappers = schema.getContent();

                for ( SchemaObjectWrapper schemaObjectWrapper : schemaObjectWrappers )
                {
                    SchemaObject schemaObject = schemaObjectWrapper.get();

                    if ( schemaObject instanceof NormalizerDescription )
                    {
                        NormalizerDescription normalizerDescription = ( NormalizerDescription ) schemaObject;
                        Entry normalizerEntry = getEntry( normalizerDescription );
    View Full Code Here

    Examples of org.apache.directory.shared.ldap.model.schema.SchemaObject

            {
                Set<SchemaObjectWrapper> schemaObjectWrappers = schema.getContent();

                for ( SchemaObjectWrapper schemaObjectWrapper : schemaObjectWrappers )
                {
                    SchemaObject schemaObject = schemaObjectWrapper.get();

                    if ( schemaObject instanceof ObjectClass )
                    {
                        ObjectClass objectClass = ( ObjectClass ) schemaObject;
    View Full Code Here

    Examples of org.apache.directory.shared.ldap.model.schema.SchemaObject

            {
                Set<SchemaObjectWrapper> schemaObjectWrappers = schema.getContent();

                for ( SchemaObjectWrapper schemaObjectWrapper : schemaObjectWrappers )
                {
                    SchemaObject schemaObject = schemaObjectWrapper.get();

                    if ( schemaObject instanceof SyntaxCheckerDescription )
                    {
                        SyntaxCheckerDescription syntaxCheckerDescription = ( SyntaxCheckerDescription ) schemaObject;
                        Entry syntaxCheckerEntry = getEntry( syntaxCheckerDescription );
    View Full Code Here

    Examples of org.apache.directory.shared.ldap.model.schema.SchemaObject

            {
                Set<SchemaObjectWrapper> schemaObjectWrappers = schema.getContent();

                for ( SchemaObjectWrapper schemaObjectWrapper : schemaObjectWrappers )
                {
                    SchemaObject schemaObject = schemaObjectWrapper.get();

                    if ( schemaObject instanceof LdapSyntax )
                    {
                        LdapSyntax ldapSyntax = ( LdapSyntax ) schemaObject;
    View Full Code Here

    Examples of org.apache.directory.shared.ldap.model.schema.SchemaObject

            // Relax the registries
            boolean wasRelaxed = isRelaxed;
            setRelaxed();

            // Remove the SchemaObject from the registries
            SchemaObject removed = unregister( errors, schemaObject );

            // Remove the SchemaObject from its schema
            dissociateFromSchema( errors, removed );

            // Unlink the SchemaObject references
    View Full Code Here

    Examples of org.apache.directory.shared.ldap.model.schema.SchemaObject

                    LOG.error( msg );
                    throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM, msg );
                }
            }

            SchemaObject unregistered = null;

            // First call the specific registry's register method
            switch ( schemaObject.getObjectType() )
            {
                case ATTRIBUTE_TYPE:
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.