com.ptc.wgmecad.table
Class ValueEPMDoc

java.lang.Object
  extended bycom.ptc.wgmecad.table.ValueString
      extended bycom.ptc.wgmecad.table.ValueEPMDoc
All Implemented Interfaces:
ICellValue

public class ValueEPMDoc
extends ValueString


Field Summary
private static ValueEPMDoc ASSEMBLY
           
private static ValueEPMDoc BOARD
           
private static ValueEPMDoc NONE
           
private static ValueEPMDoc SCHEMATIC
           
private static ValueEPMDoc SOURCE
           
 
Fields inherited from class com.ptc.wgmecad.table.ValueString
value
 
Constructor Summary
private ValueEPMDoc(String value)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDirectory()
          ? Gets the default Windchill directory for the EPMdocument, or throws an exception if one isn't set.
static String[] getValidValues()
           
 boolean isAssembly()
           
 boolean isBoard()
           
 boolean isSchematic()
           
 boolean isSource()
           
static ValueEPMDoc stringToEPMDoc(String epmdoc)
           
 
Methods inherited from class com.ptc.wgmecad.table.ValueString
getValue, setValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BOARD

private static final ValueEPMDoc BOARD

SCHEMATIC

private static final ValueEPMDoc SCHEMATIC

ASSEMBLY

private static final ValueEPMDoc ASSEMBLY

SOURCE

private static final ValueEPMDoc SOURCE

NONE

private static final ValueEPMDoc NONE
Constructor Detail

ValueEPMDoc

private ValueEPMDoc(String value)
Method Detail

getValidValues

public static String[] getValidValues()

equals

public boolean equals(Object obj)
Overrides:
equals in class ValueString

getDirectory

public String getDirectory()
                    throws BadEPMDocException
? Gets the default Windchill directory for the EPMdocument, or throws an exception if one isn't set.

Returns:
Throws:
BadEPMDocException - question: what does this method do

isBoard

public boolean isBoard()

isSchematic

public boolean isSchematic()

isAssembly

public boolean isAssembly()

isSource

public boolean isSource()

stringToEPMDoc

public static ValueEPMDoc stringToEPMDoc(String epmdoc)
                                  throws InvalidArgumentException
Throws:
InvalidArgumentException