org.nuiton.util.config
Enum IdentityConfigProperty

java.lang.Object
  extended by java.lang.Enum<IdentityConfigProperty>
      extended by org.nuiton.util.config.IdentityConfigProperty
All Implemented Interfaces:
Serializable, Comparable<IdentityConfigProperty>, Property

public enum IdentityConfigProperty
extends Enum<IdentityConfigProperty>
implements Property

Enumaration of properties to be used in a IdentityConfig

Author:
chemit
See Also:
IdentityConfig

Enum Constant Summary
email
          property email, email of user
firstName
          property name, first name of user
lastName
          property type, lastname of user
 
Method Summary
 Class<?> getType()
           
static IdentityConfigProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IdentityConfigProperty[] 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

firstName

public static final IdentityConfigProperty firstName
property name, first name of user


lastName

public static final IdentityConfigProperty lastName
property type, lastname of user


email

public static final IdentityConfigProperty email
property email, email of user

Method Detail

values

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

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

valueOf

public static IdentityConfigProperty valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getType

public Class<?> getType()
Specified by:
getType in interface Property


Copyright © 2004-2009 CodeLutin. All Rights Reserved.