com.ptc.windchill.cadx.common
Class NewPartFolderData

java.lang.Object
  extended bycom.ptc.windchill.cadx.common.NewPartFolderData
All Implemented Interfaces:
Externalizable, Serializable

public class NewPartFolderData
extends Object
implements Externalizable

Holds information about an New Part folder specified This information should be kept with workspace only and should removed from next iteration. This folder info can be used to move 1st iteration to its itended location. If the A.1 iteration of Part is removed from workspace, then the information will be lost. User has explicitely move the part during checkin.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
private  String location
           
private  String name
           
private  String number
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Constructor Summary
NewPartFolderData()
          

Supported API: false
NewPartFolderData(String a_Name, String a_Number, String a_Location)
          

Supported API: false
 
Method Summary
 boolean equals(Object a_Object)
          

Supported API: false
 String getLocation()
          Gets the value of the attribute: location.
 String getName()
          Gets the value of the attribute: name.
 String getNumber()
          Gets the value of the attribute: number.
 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(NewPartFolderData thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setLocation(String a_Location)
          Sets the value of the attribute: location.
 void setName(String a_Name)
          Sets the value of the attribute: name.
 void setNumber(String a_Number)
          Sets the value of the attribute: number.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, 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

name

private String name

number

private String number

location

private String location

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

NewPartFolderData

public NewPartFolderData()


Supported API: false


NewPartFolderData

public NewPartFolderData(String a_Name,
                         String a_Number,
                         String a_Location)


Supported API: false

Parameters:
a_Name -
a_Number -
a_Location -
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
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
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(NewPartFolderData 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

getName

public String getName()
Gets the value of the attribute: name.

Supported API: false

Returns:
String

setName

public void setName(String a_Name)
Sets the value of the attribute: name.

Supported API: false

Parameters:
a_Name -

getNumber

public String getNumber()
Gets the value of the attribute: number.

Supported API: false

Returns:
String

setNumber

public void setNumber(String a_Number)
Sets the value of the attribute: number.

Supported API: false

Parameters:
a_Number -

getLocation

public String getLocation()
Gets the value of the attribute: location.

Supported API: false

Returns:
String

setLocation

public void setLocation(String a_Location)
Sets the value of the attribute: location.

Supported API: false

Parameters:
a_Location -

equals

public boolean equals(Object a_Object)


Supported API: false

Parameters:
a_Object -
Returns:
boolean