wt.projmgmt.msproject
Class ImportInfo

java.lang.Object
  extended bywt.projmgmt.msproject.ImportExportInfo
      extended bywt.projmgmt.msproject.ImportInfo
All Implemented Interfaces:
Externalizable, Serializable

public class ImportInfo
extends ImportExportInfo
implements Externalizable

This class aggregates information that is used to control the behavior of Microsoft Project Plan importing.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
private  String importFile
           
private  ImportMode importMode
           
private  boolean importStartDate
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Fields inherited from class wt.projmgmt.msproject.ImportExportInfo
 
Constructor Summary
ImportInfo()
           
 
Method Summary
 String getImportFile()
          Gets the value of the attribute: importFile; the client file that is being imported.
 ImportMode getImportMode()
          Gets the value of the attribute: importMode; the import mode to use when importing the Microsoft Project Plan.
 boolean isImportStartDate()
          Gets the value of the attribute: importStartDate; the flag that indicates whether the start date should be imported as part of importing the Microsoft Project Plan.
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(ImportInfo thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setImportFile(String a_ImportFile)
          Sets the value of the attribute: importFile; the client file that is being imported.
 void setImportMode(ImportMode a_ImportMode)
          Sets the value of the attribute: importMode; the import mode to use when importing the Microsoft Project Plan.
 void setImportStartDate(boolean a_ImportStartDate)
          Sets the value of the attribute: importStartDate; the flag that indicates whether the start date should be imported as part of importing the Microsoft Project Plan.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.projmgmt.msproject.ImportExportInfo
getEncoding, getImportAction, getLocale, getTaskScope, getTimeZone, isIncludeDependencies, isIncludeResources, isIncludeTasks, isIncludeTimeZone, isProvideFeedback, readVersion, setEncoding, setImportAction, setIncludeDependencies, setIncludeResources, setIncludeTasks, setIncludeTimeZone, setLocale, setProvideFeedback, setTaskScope, setTimeZone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

importStartDate

private boolean importStartDate

importMode

private ImportMode importMode

importFile

private String importFile

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

ImportInfo

public ImportInfo()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class ImportExportInfo
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class ImportExportInfo
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ImportInfo thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

isImportStartDate

public boolean isImportStartDate()
Gets the value of the attribute: importStartDate; the flag that indicates whether the start date should be imported as part of importing the Microsoft Project Plan.

Supported API: false

Returns:
boolean

setImportStartDate

public void setImportStartDate(boolean a_ImportStartDate)
Sets the value of the attribute: importStartDate; the flag that indicates whether the start date should be imported as part of importing the Microsoft Project Plan.

Supported API: false

Parameters:
a_ImportStartDate -

getImportMode

public ImportMode getImportMode()
Gets the value of the attribute: importMode; the import mode to use when importing the Microsoft Project Plan.

Supported API: false

Returns:
ImportMode

setImportMode

public void setImportMode(ImportMode a_ImportMode)
Sets the value of the attribute: importMode; the import mode to use when importing the Microsoft Project Plan.

Supported API: false

Parameters:
a_ImportMode -

getImportFile

public String getImportFile()
Gets the value of the attribute: importFile; the client file that is being imported.

Supported API: false

Returns:
String

setImportFile

public void setImportFile(String a_ImportFile)
Sets the value of the attribute: importFile; the client file that is being imported.

Supported API: false

Parameters:
a_ImportFile -