Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcVobResource.ApplyAttributeFlag

Object
  extended by Enum<CcVobResource.ApplyAttributeFlag>
      extended by CcVobResource.ApplyAttributeFlag
All Implemented Interfaces:
com.ibm.rational.wvcm.stpex.StpExEnumeration, Serializable, Comparable<CcVobResource.ApplyAttributeFlag>
Enclosing interface:
CcVobResource

public static enum CcVobResource.ApplyAttributeFlag
extends Enum<CcVobResource.ApplyAttributeFlag>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

Flags for the doApplyAttribute method


Enum Constant Summary
DEFAULT
          If the attribute type was created with a default value, uses that value for the attribute instead of the value specified in the call.
REPLACE
          Replace existing attribute instance.
 
Method Summary
 String toString()
           
static CcVobResource.ApplyAttributeFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcVobResource.ApplyAttributeFlag[] 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

DEFAULT

public static final CcVobResource.ApplyAttributeFlag DEFAULT
If the attribute type was created with a default value, uses that value for the attribute instead of the value specified in the call. An error occurs if the attribute type was not created with a default value.


REPLACE

public static final CcVobResource.ApplyAttributeFlag REPLACE
Replace existing attribute instance.

Method Detail

toString

public String toString()
Overrides:
toString in class Enum<CcVobResource.ApplyAttributeFlag>

valueOf

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

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

Generated Mon 30-Jan-2017 04:26 PM

Copyright © IBM 2017. All rights reserved.