Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcAttributeType.ValueType

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

public static enum CcAttributeType.ValueType
extends Enum<CcAttributeType.ValueType>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

Value type of a ClearCase attribute type. The value type determines helps constrain the legal values and format of an attribute instance.


Enum Constant Summary
INTEGER
          Value is an integer.
OPAQUE
          Value is an opaque arbitrary byte sequences.
REAL
          Value is floating-point.
STRING
          Value is a string.
TIME
          Value represents a time.
 
Method Summary
static CcAttributeType.ValueType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcAttributeType.ValueType[] 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, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INTEGER

public static final CcAttributeType.ValueType INTEGER
Value is an integer.


OPAQUE

public static final CcAttributeType.ValueType OPAQUE
Value is an opaque arbitrary byte sequences.


REAL

public static final CcAttributeType.ValueType REAL
Value is floating-point.


STRING

public static final CcAttributeType.ValueType STRING
Value is a string.


TIME

public static final CcAttributeType.ValueType TIME
Value represents a time.

Method Detail

valueOf

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

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

Generated Thu 17-Apr-2014 02:17 PM

Copyright © IBM 2014. All rights reserved.