org.netbeans.modules.bpel.model.ext.logging.xam
Enum LoggingAttributes

java.lang.Object
  extended by java.lang.Enum<LoggingAttributes>
      extended by org.netbeans.modules.bpel.model.ext.logging.xam.LoggingAttributes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LoggingAttributes>, Attribute

public enum LoggingAttributes
extends java.lang.Enum<LoggingAttributes>
implements Attribute

Author:
ads

Nested Class Summary
static class LoggingAttributes.AttrType
           
 
Enum Constant Summary
ALERT_LEVEL
           
LOCATION
           
LOG_LEVEL
           
 
Method Summary
static Attribute forName(java.lang.String name)
           
 LoggingAttributes.AttrType getAttributeType()
           
 java.lang.Class getMemberType()
          If #getType return a container type, this returns type of its contained member.
 java.lang.String getName()
          Name of attribute.
 java.lang.Class getType()
          Type of attribute.
 java.lang.String toString()
          
static LoggingAttributes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LoggingAttributes[] 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, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LOCATION

public static final LoggingAttributes LOCATION

LOG_LEVEL

public static final LoggingAttributes LOG_LEVEL

ALERT_LEVEL

public static final LoggingAttributes ALERT_LEVEL
Method Detail

values

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

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

valueOf

public static LoggingAttributes 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

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<LoggingAttributes>

getType

public java.lang.Class getType()
Type of attribute.

Specified by:
getType in interface Attribute

getName

public java.lang.String getName()
Name of attribute.

Specified by:
getName in interface Attribute

getMemberType

public java.lang.Class getMemberType()
If #getType return a container type, this returns type of its contained member.

Specified by:
getMemberType in interface Attribute

getAttributeType

public LoggingAttributes.AttrType getAttributeType()
Returns:
type of attribute value

forName

public static Attribute forName(java.lang.String name)
Parameters:
name - String representation of enum.
Returns:
Enum that have name representaion.