Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## org.springframework.config.java.naming
Enum MethodNameStrategy.Prefix

    java.lang.Object
      java.lang.Enum<MethodNameStrategy.Prefix>
          org.springframework.config.java.naming.MethodNameStrategy.Prefix

All Implemented Interfaces:
  java.io.Serializable, java.lang.Comparable<MethodNameStrategy.Prefix>

Enclosing class:
  MethodNameStrategy

    public static enum MethodNameStrategy.Prefix

extends java.lang.Enum<MethodNameStrategy.Prefix>

Naming prefix.

Author:
  Costin Leau

Enum Constant Summary
`CLASS` The declaring class short name is used as prefix (i.e.
`FQN` The FQN of the method will be used (i.e.
`NONE` No prefix is used (i.e.

Method Summary
`int` | `value()`
`static MethodNameStrategy.Prefix` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
`static MethodNameStrategy.Prefix[]` | `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

### NONE

    public static final MethodNameStrategy.Prefix NONE

  No prefix is used (i.e. someMethod)

### CLASS

    public static final MethodNameStrategy.Prefix CLASS

  The declaring class short name is used as prefix (i.e. SomeClass.someMethod)

### FQN

    public static final MethodNameStrategy.Prefix FQN

  The FQN of the method will be used (i.e. my.package.SomeClass.someMethod)

Method Detail

### values

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

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

### valueOf

    public static MethodNameStrategy.Prefix 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

### value

    public int value()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD