Project: stp

javax.wvcm
Enum Folder.BindFlag

Object
  extended by Enum<Folder.BindFlag>
      extended by javax.wvcm.Folder.BindFlag
All Implemented Interfaces:
Serializable, Comparable<Folder.BindFlag>
Enclosing interface:
Folder

public static enum Folder.BindFlag
extends Enum<Folder.BindFlag>

Boolean flags for the doBind method


Enum Constant Summary
AUTO_UNBIND
          Indicates whether to automatically unbind the resource from its original folder if multiple bindings to the resource is not supported.
OVERWRITE
          Indicates whether to overwrite an existing binding in the destination folder
 
Method Summary
 String toString()
          Returns a string representation of this flag suitable for diagnostics.
static Folder.BindFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Folder.BindFlag[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AUTO_UNBIND

public static final Folder.BindFlag AUTO_UNBIND
Indicates whether to automatically unbind the resource from its original folder if multiple bindings to the resource is not supported.


OVERWRITE

public static final Folder.BindFlag OVERWRITE
Indicates whether to overwrite an existing binding in the destination folder

Method Detail

toString

public String toString()
Returns a string representation of this flag suitable for diagnostics.

Overrides:
toString in class Enum<Folder.BindFlag>

valueOf

public static Folder.BindFlag 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

values

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

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

Generated Mon 16-Jun-2014 09:52 AM

Copyright © IBM 2014. All rights reserved.