@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum SchemaElementType extends java.lang.Enum<SchemaElementType>
Enum Constant and Description |
---|
ATTRIBUTE_SYNTAX
The schema element type used to indicate the type of data that an attribute
of a given type can hold.
|
ATTRIBUTE_TYPE
The schema element type used to hold provide information about an
attribute.
|
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
The schema element type used to indicate how to perform matching operations
against values for attributes of a given type.
|
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.
|
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.
|
OBJECT_CLASS
The schema element type used to define the sets of attributes that may be
present in different types of entries.
|
Modifier and Type | Method and Description |
---|---|
static SchemaElementType |
forName(java.lang.String name)
Retrieves the schema element type with the given name.
|
java.lang.String |
getName()
Retrieves the name for this schema element type.
|
java.lang.String |
getSubschemaAttributeTypeName()
Retrieves the name used to hold definitions for elements of this type in a
subschema subentry.
|
java.lang.String |
toString()
Retrieves a string representation of this schema element type.
|
static SchemaElementType |
valueOf(java.lang.String name)
Returns 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.
|
public static final SchemaElementType ATTRIBUTE_SYNTAX
public static final SchemaElementType MATCHING_RULE
public static final SchemaElementType ATTRIBUTE_TYPE
public static final SchemaElementType OBJECT_CLASS
public static final SchemaElementType NAME_FORM
public static final SchemaElementType DIT_CONTENT_RULE
public static final SchemaElementType DIT_STRUCTURE_RULE
public static final SchemaElementType MATCHING_RULE_USE
public static SchemaElementType[] values()
for (SchemaElementType c : SchemaElementType.values()) System.out.println(c);
public static SchemaElementType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@NotNull public java.lang.String getName()
@NotNull public java.lang.String getSubschemaAttributeTypeName()
@Nullable public static SchemaElementType forName(@NotNull java.lang.String name)
name
- The name for the schema element type to retrieve. It must
not be null
.null
if
there is no schema element type with that name.@NotNull public java.lang.String toString()
toString
in class java.lang.Enum<SchemaElementType>