Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcFile.AttributeOpFlag

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

public static enum CcFile.AttributeOpFlag
extends Enum<CcFile.AttributeOpFlag>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

Flags for the doApplyAttribute and doRemoveAttribute methods


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.
RECURSE
          Apply/remove attribute recursively over sub-tree.
REPLACE
          Replace existing attribute instance.
 
Method Summary
 String toString()
           
static CcFile.AttributeOpFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcFile.AttributeOpFlag[] 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 CcFile.AttributeOpFlag 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. (Only applies to doApplyAttribute)


RECURSE

public static final CcFile.AttributeOpFlag RECURSE
Apply/remove attribute recursively over sub-tree.


REPLACE

public static final CcFile.AttributeOpFlag REPLACE
Replace existing attribute instance. (Only applies to doApplyAttribute)

Method Detail

toString

public String toString()
Overrides:
toString in class Enum<CcFile.AttributeOpFlag>

valueOf

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

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

Generated Tue 14-Jul-2015 08:49 PM

Copyright © IBM 2015. All rights reserved.