Enum LdapSchemaExceptionCodes
java.lang.Object
java.lang.Enum<LdapSchemaExceptionCodes>
org.apache.directory.api.ldap.model.exception.LdapSchemaExceptionCodes
- All Implemented Interfaces:
Serializable, Comparable<LdapSchemaExceptionCodes>
This enum contains all the various codes that can be used to report issues
during the integrity check of the schema by the SchemaManager.
- Author:
- Apache Directory Project
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCharacterizing an AT sub-typing a Collective ATCharacterizing an AT which is collective and is single-valuedCharacterizing an AT which is collective but does not have a 'userApplications' usageCharacterizing an AT containing a cycle in its type hierarchyCharacterizing an AT which has a different usage than its superiorCharacterizing an AT with a nonexistent equality matching ruleCharacterizing an AT with a nonexistent ordering matching ruleCharacterizing an AT with a nonexistent substring matching ruleCharacterizing an AT with a nonexistent superiorCharacterizing an AT with a nonexistent syntaxCharacterizing an AT has no syntax and no superiorCharacterizing an AT which has a 'userApplications' usage but is not user modifiableCharacterizing a MR with a nonexistent syntaxCharacterizing a SO with a name being already registeredCharacterizing an SO with a nonexistent schemaCharacterizing an abstract OC which inherits from an OC not being abstractCharacterizing an auxiliary OC which inherits from a structural OCCharacterizing an OC with a collective AT in its may ATs listCharacterizing an OC with a collective AT in its must ATs listCharacterizing an OC containing a cycle in its class hierarchyCharacterizing an OC with a duplicated AT in its may ATs listCharacterizing an OC with a duplicated AT in its may and must ATs listCharacterizing an OC with a duplicated AT in its must ATs listCharacterizing an OC with a nonexistent AT in its may ATs listCharacterizing an OC with a nonexistent AT in its must ATs listCharacterizing an OC with a nonexistent superiorCharacterizing a structural OC which inherits from an auxiliary OCCharacterizing a SO with an OID being already registered -
Method Summary
Modifier and TypeMethodDescriptionstatic LdapSchemaExceptionCodesReturns the enum constant of this type with the specified name.static LdapSchemaExceptionCodes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OID_ALREADY_REGISTERED
Characterizing a SO with an OID being already registered -
NAME_ALREADY_REGISTERED
Characterizing a SO with a name being already registered -
NONEXISTENT_SCHEMA
Characterizing an SO with a nonexistent schema -
AT_NONEXISTENT_SUPERIOR
Characterizing an AT with a nonexistent superior -
AT_CANNOT_SUBTYPE_COLLECTIVE_AT
Characterizing an AT sub-typing a Collective AT -
AT_CYCLE_TYPE_HIERARCHY
Characterizing an AT containing a cycle in its type hierarchy -
AT_NONEXISTENT_SYNTAX
Characterizing an AT with a nonexistent syntax -
AT_SYNTAX_OR_SUPERIOR_REQUIRED
Characterizing an AT has no syntax and no superior -
AT_NONEXISTENT_EQUALITY_MATCHING_RULE
Characterizing an AT with a nonexistent equality matching rule -
AT_NONEXISTENT_ORDERING_MATCHING_RULE
Characterizing an AT with a nonexistent ordering matching rule -
AT_NONEXISTENT_SUBSTRING_MATCHING_RULE
Characterizing an AT with a nonexistent substring matching rule -
AT_MUST_HAVE_SAME_USAGE_THAN_SUPERIOR
Characterizing an AT which has a different usage than its superior -
AT_USER_APPLICATIONS_USAGE_MUST_BE_USER_MODIFIABLE
Characterizing an AT which has a 'userApplications' usage but is not user modifiable -
AT_COLLECTIVE_MUST_HAVE_USER_APPLICATIONS_USAGE
Characterizing an AT which is collective but does not have a 'userApplications' usage -
AT_COLLECTIVE_CANNOT_BE_SINGLE_VALUED
Characterizing an AT which is collective and is single-valued -
OC_ABSTRACT_MUST_INHERIT_FROM_ABSTRACT_OC
Characterizing an abstract OC which inherits from an OC not being abstract -
OC_AUXILIARY_CANNOT_INHERIT_FROM_STRUCTURAL_OC
Characterizing an auxiliary OC which inherits from a structural OC -
OC_STRUCTURAL_CANNOT_INHERIT_FROM_AUXILIARY_OC
Characterizing a structural OC which inherits from an auxiliary OC -
OC_NONEXISTENT_SUPERIOR
Characterizing an OC with a nonexistent superior -
OC_CYCLE_CLASS_HIERARCHY
Characterizing an OC containing a cycle in its class hierarchy -
OC_COLLECTIVE_NOT_ALLOWED_IN_MUST
Characterizing an OC with a collective AT in its must ATs list -
OC_COLLECTIVE_NOT_ALLOWED_IN_MAY
Characterizing an OC with a collective AT in its may ATs list -
OC_DUPLICATE_AT_IN_MUST
Characterizing an OC with a duplicated AT in its must ATs list -
OC_DUPLICATE_AT_IN_MAY
Characterizing an OC with a duplicated AT in its may ATs list -
OC_NONEXISTENT_MUST_AT
Characterizing an OC with a nonexistent AT in its must ATs list -
OC_NONEXISTENT_MAY_AT
Characterizing an OC with a nonexistent AT in its may ATs list -
OC_DUPLICATE_AT_IN_MAY_AND_MUST
Characterizing an OC with a duplicated AT in its may and must ATs list -
MR_NONEXISTENT_SYNTAX
Characterizing a MR with a nonexistent syntax
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-