Enum LdapSchemaExceptionCodes
- java.lang.Object
-
- java.lang.Enum<LdapSchemaExceptionCodes>
-
- org.apache.directory.api.ldap.model.exception.LdapSchemaExceptionCodes
-
- All Implemented Interfaces:
Serializable
,Comparable<LdapSchemaExceptionCodes>
public enum LdapSchemaExceptionCodes extends Enum<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 Constants Enum Constant Description AT_CANNOT_SUBTYPE_COLLECTIVE_AT
Characterizing an AT sub-typing a Collective ATAT_COLLECTIVE_CANNOT_BE_SINGLE_VALUED
Characterizing an AT which is collective and is single-valuedAT_COLLECTIVE_MUST_HAVE_USER_APPLICATIONS_USAGE
Characterizing an AT which is collective but does not have a 'userApplications' usageAT_CYCLE_TYPE_HIERARCHY
Characterizing an AT containing a cycle in its type hierarchyAT_MUST_HAVE_SAME_USAGE_THAN_SUPERIOR
Characterizing an AT which has a different usage than its superiorAT_NONEXISTENT_EQUALITY_MATCHING_RULE
Characterizing an AT with a nonexistent equality matching ruleAT_NONEXISTENT_ORDERING_MATCHING_RULE
Characterizing an AT with a nonexistent ordering matching ruleAT_NONEXISTENT_SUBSTRING_MATCHING_RULE
Characterizing an AT with a nonexistent substring matching ruleAT_NONEXISTENT_SUPERIOR
Characterizing an AT with a nonexistent superiorAT_NONEXISTENT_SYNTAX
Characterizing an AT with a nonexistent syntaxAT_SYNTAX_OR_SUPERIOR_REQUIRED
Characterizing an AT has no syntax and no superiorAT_USER_APPLICATIONS_USAGE_MUST_BE_USER_MODIFIABLE
Characterizing an AT which has a 'userApplications' usage but is not user modifiableMR_NONEXISTENT_SYNTAX
Characterizing a MR with a nonexistent syntaxNAME_ALREADY_REGISTERED
Characterizing a SO with a name being already registeredNONEXISTENT_SCHEMA
Characterizing an SO with a nonexistent schemaOC_ABSTRACT_MUST_INHERIT_FROM_ABSTRACT_OC
Characterizing an abstract OC which inherits from an OC not being abstractOC_AUXILIARY_CANNOT_INHERIT_FROM_STRUCTURAL_OC
Characterizing an auxiliary OC which inherits from a structural OCOC_COLLECTIVE_NOT_ALLOWED_IN_MAY
Characterizing an OC with a collective AT in its may ATs listOC_COLLECTIVE_NOT_ALLOWED_IN_MUST
Characterizing an OC with a collective AT in its must ATs listOC_CYCLE_CLASS_HIERARCHY
Characterizing an OC containing a cycle in its class hierarchyOC_DUPLICATE_AT_IN_MAY
Characterizing an OC with a duplicated AT in its may ATs listOC_DUPLICATE_AT_IN_MAY_AND_MUST
Characterizing an OC with a duplicated AT in its may and must ATs listOC_DUPLICATE_AT_IN_MUST
Characterizing an OC with a duplicated AT in its must ATs listOC_NONEXISTENT_MAY_AT
Characterizing an OC with a nonexistent AT in its may ATs listOC_NONEXISTENT_MUST_AT
Characterizing an OC with a nonexistent AT in its must ATs listOC_NONEXISTENT_SUPERIOR
Characterizing an OC with a nonexistent superiorOC_STRUCTURAL_CANNOT_INHERIT_FROM_AUXILIARY_OC
Characterizing a structural OC which inherits from an auxiliary OCOID_ALREADY_REGISTERED
Characterizing a SO with an OID being already registered
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LdapSchemaExceptionCodes
valueOf(String name)
Returns 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 Detail
-
OID_ALREADY_REGISTERED
public static final LdapSchemaExceptionCodes OID_ALREADY_REGISTERED
Characterizing a SO with an OID being already registered
-
NAME_ALREADY_REGISTERED
public static final LdapSchemaExceptionCodes NAME_ALREADY_REGISTERED
Characterizing a SO with a name being already registered
-
NONEXISTENT_SCHEMA
public static final LdapSchemaExceptionCodes NONEXISTENT_SCHEMA
Characterizing an SO with a nonexistent schema
-
AT_NONEXISTENT_SUPERIOR
public static final LdapSchemaExceptionCodes AT_NONEXISTENT_SUPERIOR
Characterizing an AT with a nonexistent superior
-
AT_CANNOT_SUBTYPE_COLLECTIVE_AT
public static final LdapSchemaExceptionCodes AT_CANNOT_SUBTYPE_COLLECTIVE_AT
Characterizing an AT sub-typing a Collective AT
-
AT_CYCLE_TYPE_HIERARCHY
public static final LdapSchemaExceptionCodes AT_CYCLE_TYPE_HIERARCHY
Characterizing an AT containing a cycle in its type hierarchy
-
AT_NONEXISTENT_SYNTAX
public static final LdapSchemaExceptionCodes AT_NONEXISTENT_SYNTAX
Characterizing an AT with a nonexistent syntax
-
AT_SYNTAX_OR_SUPERIOR_REQUIRED
public static final LdapSchemaExceptionCodes AT_SYNTAX_OR_SUPERIOR_REQUIRED
Characterizing an AT has no syntax and no superior
-
AT_NONEXISTENT_EQUALITY_MATCHING_RULE
public static final LdapSchemaExceptionCodes AT_NONEXISTENT_EQUALITY_MATCHING_RULE
Characterizing an AT with a nonexistent equality matching rule
-
AT_NONEXISTENT_ORDERING_MATCHING_RULE
public static final LdapSchemaExceptionCodes AT_NONEXISTENT_ORDERING_MATCHING_RULE
Characterizing an AT with a nonexistent ordering matching rule
-
AT_NONEXISTENT_SUBSTRING_MATCHING_RULE
public static final LdapSchemaExceptionCodes AT_NONEXISTENT_SUBSTRING_MATCHING_RULE
Characterizing an AT with a nonexistent substring matching rule
-
AT_MUST_HAVE_SAME_USAGE_THAN_SUPERIOR
public static final LdapSchemaExceptionCodes 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
public static final LdapSchemaExceptionCodes 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
public static final LdapSchemaExceptionCodes 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
public static final LdapSchemaExceptionCodes AT_COLLECTIVE_CANNOT_BE_SINGLE_VALUED
Characterizing an AT which is collective and is single-valued
-
OC_ABSTRACT_MUST_INHERIT_FROM_ABSTRACT_OC
public static final LdapSchemaExceptionCodes 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
public static final LdapSchemaExceptionCodes OC_AUXILIARY_CANNOT_INHERIT_FROM_STRUCTURAL_OC
Characterizing an auxiliary OC which inherits from a structural OC
-
OC_STRUCTURAL_CANNOT_INHERIT_FROM_AUXILIARY_OC
public static final LdapSchemaExceptionCodes OC_STRUCTURAL_CANNOT_INHERIT_FROM_AUXILIARY_OC
Characterizing a structural OC which inherits from an auxiliary OC
-
OC_NONEXISTENT_SUPERIOR
public static final LdapSchemaExceptionCodes OC_NONEXISTENT_SUPERIOR
Characterizing an OC with a nonexistent superior
-
OC_CYCLE_CLASS_HIERARCHY
public static final LdapSchemaExceptionCodes OC_CYCLE_CLASS_HIERARCHY
Characterizing an OC containing a cycle in its class hierarchy
-
OC_COLLECTIVE_NOT_ALLOWED_IN_MUST
public static final LdapSchemaExceptionCodes OC_COLLECTIVE_NOT_ALLOWED_IN_MUST
Characterizing an OC with a collective AT in its must ATs list
-
OC_COLLECTIVE_NOT_ALLOWED_IN_MAY
public static final LdapSchemaExceptionCodes OC_COLLECTIVE_NOT_ALLOWED_IN_MAY
Characterizing an OC with a collective AT in its may ATs list
-
OC_DUPLICATE_AT_IN_MUST
public static final LdapSchemaExceptionCodes OC_DUPLICATE_AT_IN_MUST
Characterizing an OC with a duplicated AT in its must ATs list
-
OC_DUPLICATE_AT_IN_MAY
public static final LdapSchemaExceptionCodes OC_DUPLICATE_AT_IN_MAY
Characterizing an OC with a duplicated AT in its may ATs list
-
OC_NONEXISTENT_MUST_AT
public static final LdapSchemaExceptionCodes OC_NONEXISTENT_MUST_AT
Characterizing an OC with a nonexistent AT in its must ATs list
-
OC_NONEXISTENT_MAY_AT
public static final LdapSchemaExceptionCodes OC_NONEXISTENT_MAY_AT
Characterizing an OC with a nonexistent AT in its may ATs list
-
OC_DUPLICATE_AT_IN_MAY_AND_MUST
public static final LdapSchemaExceptionCodes OC_DUPLICATE_AT_IN_MAY_AND_MUST
Characterizing an OC with a duplicated AT in its may and must ATs list
-
MR_NONEXISTENT_SYNTAX
public static final LdapSchemaExceptionCodes MR_NONEXISTENT_SYNTAX
Characterizing a MR with a nonexistent syntax
-
-
Method Detail
-
values
public static LdapSchemaExceptionCodes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LdapSchemaExceptionCodes c : LdapSchemaExceptionCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LdapSchemaExceptionCodes valueOf(String name)
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
-
-