Enum SchemaObjectType
- java.lang.Object
-
- java.lang.Enum<SchemaObjectType>
-
- org.apache.directory.api.ldap.model.schema.SchemaObjectType
-
- All Implemented Interfaces:
Serializable
,Comparable<SchemaObjectType>
public enum SchemaObjectType extends Enum<SchemaObjectType>
The SchemaObject types- Author:
- Apache Directory Project
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_TYPE
An AttributeTypeCOMPARATOR
A ComparatorDIT_CONTENT_RULE
DIT_STRUCTURE_RULE
LDAP_SYNTAX
A SyntaxMATCHING_RULE
A MatchingRuleMATCHING_RULE_USE
A MatchingRuleUseNAME_FORM
A NameFormNORMALIZER
A NormalizerOBJECT_CLASS
An ObjectClassSYNTAX_CHECKER
A SyntaxChecker
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRdn()
Get the Rdn associated with a schemaObjectTypeint
getValue()
static SchemaObjectType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SchemaObjectType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTRIBUTE_TYPE
public static final SchemaObjectType ATTRIBUTE_TYPE
An AttributeType
-
COMPARATOR
public static final SchemaObjectType COMPARATOR
A Comparator
-
DIT_CONTENT_RULE
public static final SchemaObjectType DIT_CONTENT_RULE
-
DIT_STRUCTURE_RULE
public static final SchemaObjectType DIT_STRUCTURE_RULE
-
LDAP_SYNTAX
public static final SchemaObjectType LDAP_SYNTAX
A Syntax
-
MATCHING_RULE
public static final SchemaObjectType MATCHING_RULE
A MatchingRule
-
MATCHING_RULE_USE
public static final SchemaObjectType MATCHING_RULE_USE
A MatchingRuleUse
-
NAME_FORM
public static final SchemaObjectType NAME_FORM
A NameForm
-
NORMALIZER
public static final SchemaObjectType NORMALIZER
A Normalizer
-
OBJECT_CLASS
public static final SchemaObjectType OBJECT_CLASS
An ObjectClass
-
SYNTAX_CHECKER
public static final SchemaObjectType SYNTAX_CHECKER
A SyntaxChecker
-
-
Method Detail
-
values
public static SchemaObjectType[] 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 (SchemaObjectType c : SchemaObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaObjectType 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
-
getValue
public int getValue()
- Returns:
- The numeric value for this type
-
-