jhomenet.commons.configuration
Enum ServerSystemConfiguration.ConfigurationTypes

java.lang.Object
  extended by java.lang.Enum<ServerSystemConfiguration.ConfigurationTypes>
      extended by jhomenet.commons.configuration.ServerSystemConfiguration.ConfigurationTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ServerSystemConfiguration.ConfigurationTypes>
Enclosing interface:
ServerSystemConfiguration

public static enum ServerSystemConfiguration.ConfigurationTypes
extends java.lang.Enum<ServerSystemConfiguration.ConfigurationTypes>

Configuration types.


Enum Constant Summary
HIBERNATE
          Hibernate configuration type.
TXT
          Text configuration type.
XML
          XML configuration type.
 
Method Summary
 java.lang.String getType()
           
 java.lang.String toString()
           
static ServerSystemConfiguration.ConfigurationTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ServerSystemConfiguration.ConfigurationTypes[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

XML

public static final ServerSystemConfiguration.ConfigurationTypes XML
XML configuration type.


TXT

public static final ServerSystemConfiguration.ConfigurationTypes TXT
Text configuration type.


HIBERNATE

public static final ServerSystemConfiguration.ConfigurationTypes HIBERNATE
Hibernate configuration type.

Method Detail

values

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

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

valueOf

public static ServerSystemConfiguration.ConfigurationTypes 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

getType

public final java.lang.String getType()
Returns:
the type

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ServerSystemConfiguration.ConfigurationTypes>
See Also:
Enum.toString()


Copyright © 2004-2007 David Irwin. All Rights Reserved.