org.apache.directory.api.ldap.model.schema
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
ATTRIBUTE_TYPE
public static final SchemaObjectType ATTRIBUTE_TYPE
COMPARATOR
public static final SchemaObjectType 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
MATCHING_RULE
public static final SchemaObjectType MATCHING_RULE
MATCHING_RULE_USE
public static final SchemaObjectType MATCHING_RULE_USE
NAME_FORM
public static final SchemaObjectType NAME_FORM
NORMALIZER
public static final SchemaObjectType NORMALIZER
OBJECT_CLASS
public static final SchemaObjectType OBJECT_CLASS
SYNTAX_CHECKER
public static final SchemaObjectType SYNTAX_CHECKER
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 name
NullPointerException - if the argument is null
getValue
public int getValue()
- Returns:
- The numeric value for this type
getRdn
public String getRdn()
- Get the Rdn associated with a schemaObjectType
- Returns:
- The associated Rdn
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.