IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base.types.impl.annotation
Enum GenerationPolicy

java.lang.Object
  extended by java.lang.Enum<GenerationPolicy>
      extended by com.ibm.btt.base.types.impl.annotation.GenerationPolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GenerationPolicy>

public enum GenerationPolicy
extends java.lang.Enum<GenerationPolicy>

Generation Policy. The constants of this enumerated type describe the various policies for generating validate and format attributes. They are used in conjunction with the Generation meta-annotation type.


Enum Constant Summary
All
          Generate this attribute both on client side and server side
Client
          Generate this attribute on client side only
None
          Do not generate any attribute both on server side and client side
Server
          Generate this attribute on server side only
 
Method Summary
static GenerationPolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GenerationPolicy[] 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

All

public static final GenerationPolicy All
Generate this attribute both on client side and server side


Client

public static final GenerationPolicy Client
Generate this attribute on client side only


Server

public static final GenerationPolicy Server
Generate this attribute on server side only


None

public static final GenerationPolicy None
Do not generate any attribute both on server side and client side

Method Detail

values

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

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

valueOf

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

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011