org.opends.admin.ads
Enum ADSContext.ADSPropertySyntax

java.lang.Object
  extended by java.lang.Enum<ADSContext.ADSPropertySyntax>
      extended by org.opends.admin.ads.ADSContext.ADSPropertySyntax
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ADSContext.ADSPropertySyntax>
Enclosing class:
ADSContext

public static enum ADSContext.ADSPropertySyntax
extends java.lang.Enum<ADSContext.ADSPropertySyntax>

Enumeration containing the different server properties syntaxes that could be stored in the ADS.


Enum Constant Summary
BOOLEAN
          Boolean syntax.
CERTIFICATE_BINARY
          Certificate;binary syntax.
INTEGER
          Integer syntax.
STRING
          String syntax.
 
Method Summary
static ADSContext.ADSPropertySyntax valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ADSContext.ADSPropertySyntax[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STRING

public static final ADSContext.ADSPropertySyntax STRING
String syntax.


INTEGER

public static final ADSContext.ADSPropertySyntax INTEGER
Integer syntax.


BOOLEAN

public static final ADSContext.ADSPropertySyntax BOOLEAN
Boolean syntax.


CERTIFICATE_BINARY

public static final ADSContext.ADSPropertySyntax CERTIFICATE_BINARY
Certificate;binary syntax.

Method Detail

values

public static ADSContext.ADSPropertySyntax[] 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 (ADSContext.ADSPropertySyntax c : ADSContext.ADSPropertySyntax.values())
    System.out.println(c);

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

valueOf

public static ADSContext.ADSPropertySyntax 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
java.lang.NullPointerException - if the argument is null