|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.EnumeratedType
wt.projmgmt.msproject.ImportMode
This EnumeratedType
is used to specify how conflicts are
handled during a Microsoft Project Plan
import operation.
For example, this type can be used to specify whether imported objects
should:
PTC Project Plan
,
PTC Project Plan
regardless of what
other objects are already in the plan or,
PTC Project Plan
Nested Class Summary |
Nested classes inherited from class wt.fc.EnumeratedType |
|
Field Summary | |
static ImportMode |
APPEND
A mode that appends the imported projects nodes to the project plan without removing any existing project nodes. |
private static String |
CLASS_RESOURCE
|
private static String |
CLASSNAME
|
private static Hashtable |
localeSets
|
static ImportMode |
MERGE
A mode that merges imported projects nodes the existing project nodes. |
static ImportMode |
REPLACE
A mode that replaces all project nodes with the imported nodes. |
private static String |
RESOURCE
|
private static EnumeratedType[] |
valueSet
|
Fields inherited from class wt.fc.EnumeratedType |
secretHandshake, SEP_CHAR |
Fields inherited from interface wt.meta.EnumeratedType |
DEFAULT_VALUE, ORDER, SELECTABLE |
Constructor Summary | |
protected |
ImportMode()
Used by sub-classes that need a default constructor. |
Method Summary | |
static ImportMode |
getImportModeDefault()
Returns the default value (instance) for the ImportMode set. |
static ImportMode[] |
getImportModeSet()
Returns a copy of the set of valid values (instances) for the ImportMode class. |
protected EnumeratedType[] |
getLocaleSet(Locale locale)
Returns the set of values (instances) for this instance, for the specified locale. |
EnumeratedType[] |
getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale. |
private static EnumeratedType[] |
initializeLocaleSet(Locale locale)
|
static ImportMode |
newImportMode(int secretHandshake)
Used by EnumeratedType for constructing instances of ImportMode, from a resource bundle. |
static ImportMode |
toImportMode(String internal_value)
Returns the ImportMode instance for the internal_value argument. |
protected EnumeratedType[] |
valueSet()
Returns a reference to the set of valid values (instances) for this instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String CLASS_RESOURCE
private static final EnumeratedType[] valueSet
private static Hashtable localeSets
public static final ImportMode REPLACE
public static final ImportMode APPEND
public static final ImportMode MERGE
Constructor Detail |
protected ImportMode()
Method Detail |
public static ImportMode newImportMode(int secretHandshake) throws IllegalAccessException
secretHandshake
-
IllegalAccessException
public static ImportMode toImportMode(String internal_value) throws WTInvalidParameterException
internal_value
- The internal (persistent) value for a valid instance of ImportMode.
WTInvalidParameterException
public static ImportMode getImportModeDefault()
public static ImportMode[] getImportModeSet()
public EnumeratedType[] getValueSet()
getValueSet
in class EnumeratedType
protected EnumeratedType[] valueSet()
valueSet
in class EnumeratedType
protected EnumeratedType[] getLocaleSet(Locale locale)
getLocaleSet
in class EnumeratedType
locale
-
private static EnumeratedType[] initializeLocaleSet(Locale locale) throws Throwable
locale
-
Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |