Traceability

org.topcased.traceability.hmi.util
Enum MClass

java.lang.Object
  extended by java.lang.Enum<MClass>
      extended by org.topcased.traceability.hmi.util.MClass
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MClass>

public enum MClass
extends java.lang.Enum<MClass>

Created on 21 f�vr. 07


Enum Constant Summary
COVER_POINT
          COVER POINT OBJECT
COVERING_DOCUMENT
          COVERING DOCUMENT OBJECT
DOCUMENT
          DOCUMENT OBJECT
INFO
          INFO OBJECT (not model object)
PROJECT
          PROJECT OBJECT
REQUIREMENT
          REQUIREMENT OBJECT
SECTION
          SECTION OBJECT
 
Method Summary
static MClass convert(java.lang.Object object)
          This method converts a class instance in the matching enum value
static MClass valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MClass[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PROJECT

public static final MClass PROJECT
PROJECT OBJECT


COVERING_DOCUMENT

public static final MClass COVERING_DOCUMENT
COVERING DOCUMENT OBJECT


DOCUMENT

public static final MClass DOCUMENT
DOCUMENT OBJECT


SECTION

public static final MClass SECTION
SECTION OBJECT


REQUIREMENT

public static final MClass REQUIREMENT
REQUIREMENT OBJECT


COVER_POINT

public static final MClass COVER_POINT
COVER POINT OBJECT


INFO

public static final MClass INFO
INFO OBJECT (not model object)

Method Detail

values

public static final MClass[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MClass c : MClass.values())
        System.out.println(c);

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

valueOf

public static MClass valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

convert

public static MClass convert(java.lang.Object object)
This method converts a class instance in the matching enum value

Parameters:
object -
Returns:
the matching enum value

Traceability

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.