com.ptc.windchill.cadx.checkin
Class ModelCheckHelper

java.lang.Object
  extended bycom.ptc.windchill.cadx.checkin.ModelCheckHelper

public class ModelCheckHelper
extends Object


Field Summary
private static String configAlias
           
private static boolean isModelCheckEnabled
           
private  int MC_DATE
           
private  int MC_ERR
           
private static String mcConfig
           
private static int numErrors
           
private static long numHours
           
private static String RESOURCE
           
private static String setConfig
           
private static String setErrors
           
private static String setHours
           
 
Constructor Summary
ModelCheckHelper()
           
 
Method Summary
static String getConfigOption()
           
static String getErrorMessage(int which)
           
static String getGeneralError(EPMDocument epmdoc)
           
static boolean isModelCheckEnabled()
           
static boolean isModelCheckPassed(EPMDocument epmdoc, boolean[] mcValid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isModelCheckEnabled

private static boolean isModelCheckEnabled

numErrors

private static int numErrors

numHours

private static long numHours

mcConfig

private static String mcConfig

configAlias

private static String configAlias

MC_ERR

private int MC_ERR

MC_DATE

private int MC_DATE

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

setErrors

private static String setErrors

setHours

private static String setHours

setConfig

private static String setConfig
Constructor Detail

ModelCheckHelper

public ModelCheckHelper()
Method Detail

isModelCheckEnabled

public static boolean isModelCheckEnabled()

isModelCheckPassed

public static boolean isModelCheckPassed(EPMDocument epmdoc,
                                         boolean[] mcValid)
                                  throws Exception
Throws:
Exception

getGeneralError

public static String getGeneralError(EPMDocument epmdoc)

getErrorMessage

public static String getErrorMessage(int which)

getConfigOption

public static String getConfigOption()