wt.dataops.delete
Class DeleteTaskObject

java.lang.Object
  extended bycom.ptc.core.task.DefaultTaskObject
      extended bywt.dataops.delete.DeleteTaskObject
All Implemented Interfaces:
Externalizable, Serializable, TaskObject

public class DeleteTaskObject
extends DefaultTaskObject
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
private  String modelName
           
private  String name
           
private  String number
           
protected static long OLD_FORMAT_VERSION_UID
           
private  Persistable p
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  String type
           
 
Fields inherited from class com.ptc.core.task.DefaultTaskObject
 
Fields inherited from interface com.ptc.core.task.TaskObject
OBJECT, OID
 
Constructor Summary
DeleteTaskObject()
           
 
Method Summary
 String getModelName()
          

Supported API: false
 String getName()
          

Supported API: false
 String getNumber()
          

Supported API: false
 Object getObject()
          

Supported API: false
private static String getObjectStringAttribute(Object obj, String getMethodName)
           
 String getType()
          

Supported API: false
 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(DeleteTaskObject thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
private  void setIdentityAttributes()
           
 void setOid(String a_oid)
          

Supported API: false
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class com.ptc.core.task.DefaultTaskObject
addAttribute, getAttribute, getAttributes, getOid, readVersion, setAttributes, setObject
 
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

name

private String name

number

private String number

modelName

private String modelName

type

private String type

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

p

private Persistable p
Constructor Detail

DeleteTaskObject

public DeleteTaskObject()
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 DefaultTaskObject
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 DefaultTaskObject
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

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

setOid

public void setOid(String a_oid)
            throws WTPropertyVetoException


Supported API: false

Specified by:
setOid in interface TaskObject
Overrides:
setOid in class DefaultTaskObject
Parameters:
a_oid -
Throws:
WTPropertyVetoException

getObject

public Object getObject()


Supported API: false

Specified by:
getObject in interface TaskObject
Overrides:
getObject in class DefaultTaskObject
Returns:
Object

getName

public String getName()


Supported API: false

Specified by:
getName in interface TaskObject
Overrides:
getName in class DefaultTaskObject
Returns:
String

getNumber

public String getNumber()


Supported API: false

Specified by:
getNumber in interface TaskObject
Overrides:
getNumber in class DefaultTaskObject
Returns:
String

getModelName

public String getModelName()


Supported API: false

Specified by:
getModelName in interface TaskObject
Overrides:
getModelName in class DefaultTaskObject
Returns:
String

getType

public String getType()


Supported API: false

Specified by:
getType in interface TaskObject
Overrides:
getType in class DefaultTaskObject
Returns:
String

setIdentityAttributes

private void setIdentityAttributes()
                            throws WTException
Throws:
WTException

getObjectStringAttribute

private static String getObjectStringAttribute(Object obj,
                                               String getMethodName)