Library | Package Java Toolkit

Class DiagnosticSeverity

package com.ptc.wfc.wfcElementTree;

public class DiagnosticSeverity
  implements jxenum



Description

This enumerated type lists the diagnostic severity types



Field Summary
static final int_ELEM_INFO
    Integer value of enum value "ELEM_INFO"
    Element information
static final DiagnosticSeverityELEM_INFO
    Object value of enum value "ELEM_INFO"
    Element information
static final int_ELEM_WARNING
    Integer value of enum value "ELEM_WARNING"
    Element warning
static final DiagnosticSeverityELEM_WARNING
    Object value of enum value "ELEM_WARNING"
    Element warning
static final int_ELEM_ERROR
    Integer value of enum value "ELEM_ERROR"
    Element error
static final DiagnosticSeverityELEM_ERROR
    Object value of enum value "ELEM_ERROR"
    Element error
static final int_DiagnosticSeverity_null
    Enum null value.

Method Summary
static DiagnosticSeverityFromInt (int value)
    Creates enum object from an integer.
static DiagnosticSeverityFromInt (Integer value)
    Creates enum object from an integer object.
intgetValue ()
    Returns enum object value as an integer.

Method Detail

getValue

intgetValue ()


    Returns enum object value as an integer.
Returns:
Integer enum value.


FromInt

static DiagnosticSeverityFromInt (int value)


    Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.


FromInt

static DiagnosticSeverityFromInt (Integer value)


    Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.