Package com.unboundid.ldap.sdk.schema
Enum SchemaElementType
- All Implemented Interfaces:
Serializable,Comparable<SchemaElementType>,java.lang.constant.Constable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public enum SchemaElementType
extends Enum<SchemaElementType>
This enum defines the types of elements that can make up an LDAP schema.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe schema element type used to indicate the type of data that an attribute of a given type can hold.The schema element type used to hold provide information about an attribute.The schema element type used to define additional constraints about attributes with a given structural object class, including allowed auxiliary object classes and required, optional, and prohibited attribute types.The schema element type used to define allowed hierarchical relationships between entries with different types of structural object classes.The schema element type used to indicate how to perform matching operations against values for attributes of a given type.The schema element type that may be used to restrict the set of attribute types with which a matching rule may be used.The schema element type used to define the types of attributes that must and may be present in the RDN of an entry with a given structural object class.The schema element type used to define the sets of attributes that may be present in different types of entries. -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaElementTypeRetrieves the schema element type with the given name.getName()Retrieves the name for this schema element type.Retrieves the name used to hold definitions for elements of this type in a subschema subentry.toString()Retrieves a string representation of this schema element type.static SchemaElementTypeReturns the enum constant of this type with the specified name.static SchemaElementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ATTRIBUTE_SYNTAX
The schema element type used to indicate the type of data that an attribute of a given type can hold. -
MATCHING_RULE
The schema element type used to indicate how to perform matching operations against values for attributes of a given type. -
ATTRIBUTE_TYPE
The schema element type used to hold provide information about an attribute. -
OBJECT_CLASS
The schema element type used to define the sets of attributes that may be present in different types of entries. -
NAME_FORM
The schema element type used to define the types of attributes that must and may be present in the RDN of an entry with a given structural object class. -
DIT_CONTENT_RULE
The schema element type used to define additional constraints about attributes with a given structural object class, including allowed auxiliary object classes and required, optional, and prohibited attribute types. -
DIT_STRUCTURE_RULE
The schema element type used to define allowed hierarchical relationships between entries with different types of structural object classes. -
MATCHING_RULE_USE
The schema element type that may be used to restrict the set of attribute types with which a matching rule may be used.
-
-
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
-
getName
Retrieves the name for this schema element type.- Returns:
- The name for this schema element type.
-
getSubschemaAttributeTypeName
Retrieves the name used to hold definitions for elements of this type in a subschema subentry.- Returns:
- The name used to hold definitions for elements of this type in a subschema subentry.
-
forName
Retrieves the schema element type with the given name.- Parameters:
name- The name for the schema element type to retrieve. It must not benull.- Returns:
- The schema element type with the given name, or
nullif there is no schema element type with that name.
-
toString
Retrieves a string representation of this schema element type.- Overrides:
toStringin classEnum<SchemaElementType>- Returns:
- A string representation of this schema element type.
-