org.apache.directory.server.schema.bootstrap
Enum ProducerTypeEnum

java.lang.Object
  extended by java.lang.Enum<ProducerTypeEnum>
      extended by org.apache.directory.server.schema.bootstrap.ProducerTypeEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProducerTypeEnum>

public enum ProducerTypeEnum
extends java.lang.Enum<ProducerTypeEnum>

Type safe enum for an BootstrapProducer tyoes. This can be take one of the following values:

Version:
$Rev: 491471 $
Author:
Apache Directory Project

Enum Constant Summary
ATTRIBUTE_TYPE_PRODUCER
          value for AttributeType BootstrapProducers
COMPARATOR_PRODUCER
          value for Comparator BootstrapProducers
DIT_CONTENT_RULE_PRODUCER
          value for DitContentRule BootstrapProducers
DIT_STRUCTURE_RULE_PRODUCER
          value for DitStructureRule BootstrapProducers
MATCHING_RULE_PRODUCER
          value for MatchingRule BootstrapProducers
MATCHING_RULE_USE_PRODUCER
          value for MatchingRuleUse BootstrapProducers
NAME_FORM_PRODUCER
          value for NameForm BootstrapProducers
NORMALIZER_PRODUCER
          value for Normalizer BootstrapProducers
OBJECT_CLASS_PRODUCER
          value for ObjectClass BootstrapProducers
SYNTAX_CHECKER_PRODUCER
          value for SyntaxChecker BootstrapProducers
SYNTAX_PRODUCER
          value for Syntax BootstrapProducers
 
Method Summary
static java.util.List<ProducerTypeEnum> getList()
           
 java.lang.String getName()
           
static ProducerTypeEnum getProducerType(java.lang.String producerType)
          Gets the enumeration type for the attributeType producerType string regardless of case.
 int getValue()
           
static ProducerTypeEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProducerTypeEnum[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORMALIZER_PRODUCER

public static final ProducerTypeEnum NORMALIZER_PRODUCER
value for Normalizer BootstrapProducers


COMPARATOR_PRODUCER

public static final ProducerTypeEnum COMPARATOR_PRODUCER
value for Comparator BootstrapProducers


SYNTAX_CHECKER_PRODUCER

public static final ProducerTypeEnum SYNTAX_CHECKER_PRODUCER
value for SyntaxChecker BootstrapProducers


SYNTAX_PRODUCER

public static final ProducerTypeEnum SYNTAX_PRODUCER
value for Syntax BootstrapProducers


MATCHING_RULE_PRODUCER

public static final ProducerTypeEnum MATCHING_RULE_PRODUCER
value for MatchingRule BootstrapProducers


ATTRIBUTE_TYPE_PRODUCER

public static final ProducerTypeEnum ATTRIBUTE_TYPE_PRODUCER
value for AttributeType BootstrapProducers


OBJECT_CLASS_PRODUCER

public static final ProducerTypeEnum OBJECT_CLASS_PRODUCER
value for ObjectClass BootstrapProducers


MATCHING_RULE_USE_PRODUCER

public static final ProducerTypeEnum MATCHING_RULE_USE_PRODUCER
value for MatchingRuleUse BootstrapProducers


DIT_CONTENT_RULE_PRODUCER

public static final ProducerTypeEnum DIT_CONTENT_RULE_PRODUCER
value for DitContentRule BootstrapProducers


NAME_FORM_PRODUCER

public static final ProducerTypeEnum NAME_FORM_PRODUCER
value for NameForm BootstrapProducers


DIT_STRUCTURE_RULE_PRODUCER

public static final ProducerTypeEnum DIT_STRUCTURE_RULE_PRODUCER
value for DitStructureRule BootstrapProducers

Method Detail

values

public static final ProducerTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ProducerTypeEnum c : ProducerTypeEnum.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ProducerTypeEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getValue

public int getValue()
Returns:
return the value for this producer type

getProducerType

public static ProducerTypeEnum getProducerType(java.lang.String producerType)
Gets the enumeration type for the attributeType producerType string regardless of case.

Parameters:
producerType - the producerType string
Returns:
the producerType enumeration type

getList

public static java.util.List<ProducerTypeEnum> getList()
Returns:
A list of Producer Type

getName

public java.lang.String getName()


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.