Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcTypeBase.Scope

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

public static enum CcTypeBase.Scope
extends Enum<CcTypeBase.Scope>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

Scope of a ClearCase type object. A type object's scope determines it's sphere of influence. Scope is one of

  • None. The scope of this type object is limited to instances in the VOB in which this type resides.
  • Local. This type object is a VOB-local instance of a global type. While it controls the behavior of instances in its local VOB, it is essentially a local copy of a global type.
  • Global. This type object controls behavior of instances in all VOBs for which this type object's VOB serves as an "admin" VOB. It uses "local" types as proxies in VOBs other than its own.
  • For more information, see the ClearCase Administrator's Guide.


    Enum Constant Summary
    GLOBAL
              This is a global type.
    LOCAL
              This is a local instance of a global type.
    NONE
              This is neither a global type nor a local instance.
     
    Method Summary
    static CcTypeBase.Scope valueOf(String name)
              Returns the enum constant of this type with the specified name.
    static CcTypeBase.Scope[] 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

    GLOBAL

    public static final CcTypeBase.Scope GLOBAL
    This is a global type.


    LOCAL

    public static final CcTypeBase.Scope LOCAL
    This is a local instance of a global type.


    NONE

    public static final CcTypeBase.Scope NONE
    This is neither a global type nor a local instance.

    Method Detail

    valueOf

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

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

    Generated Wed 6-Feb-2013 10:11 AM

    Copyright © IBM 2013. All rights reserved.