|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.fc.Item
com.ptc.windchill.esi.txn.ESITransaction
Defines an ESI Transaction and manages a set of ReleaseActivities.
Use the newESITransaction
static factory method(s), not
the ESITransaction
constructor, to construct instances of
this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: true
Extendable: true
Field Summary | |
private static String |
CLASSNAME
|
static String |
CONTAINER
Label for the attribute. |
private WTContainerRef |
containerReference
|
private String |
creator
|
static String |
CREATOR
Label for the attribute; The name of the user who created this entry. |
private static int |
CREATOR_UPPER_LIMIT
|
private boolean |
deleted
|
static String |
DELETED
Label for the attribute. |
static String |
END_TIME_STAMP
Label for the attribute; End timestamp of the transaction. |
private Timestamp |
endTimeStamp
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
ID_NUMBER
Label for the attribute. |
private int |
idNumber
|
static String |
MESSAGE
Label for the attribute. |
static String |
MESSAGE_REFERENCE
Label for the attribute. |
private ObjectReference |
messageReference
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static String |
START_TIME_STAMP
Label for the attribute; Start timestamp of the transaction. |
private Timestamp |
startTimeStamp
|
private ESITransactionStatusType |
status
|
static String |
STATUS
Label for the attribute. |
private static int |
STATUS_UPPER_LIMIT
|
Fields inherited from class wt.fc.Item |
VERSION_40_UID, VERSION_51_UID |
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.inf.container.WTContained |
CONTAINER_ID, CONTAINER_NAME, CONTAINER_REFERENCE |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
ESITransaction()
|
Method Summary | |
private void |
containerReferenceValidate(WTContainerRef a_ContainerReference)
|
private void |
creatorValidate(String a_Creator)
|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
String |
getConceptualClassname()
Deprecated. |
WTContainer |
getContainer()
Gets the object for the association that plays role: CONTAINER. |
String |
getContainerName()
Gets the value of the attribute: CONTAINER_NAME. |
WTContainerRef |
getContainerReference()
Gets the value of the attribute: CONTAINER_REFERENCE. |
String |
getCreator()
Gets the value of the attribute: CREATOR. |
Timestamp |
getEndTimeStamp()
Gets the value of the attribute: END_TIME_STAMP. |
int |
getIdNumber()
Gets the value of the attribute: ID_NUMBER. |
ESITransactionMessage |
getMessage()
Gets the object for the association that plays role: MESSAGE. |
ObjectReference |
getMessageReference()
Gets the value of the attribute: MESSAGE_REFERENCE. |
Timestamp |
getStartTimeStamp()
Gets the value of the attribute: START_TIME_STAMP. |
ESITransactionStatusType |
getStatus()
Gets the object for the association that plays role: STATUS. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize(ESITransactionMessage msg)
Supports initialization, following construction of an instance. |
boolean |
isDeleted()
Gets the value of the attribute: DELETED. |
private void |
messageReferenceValidate(ObjectReference a_MessageReference)
|
(package private) static ESITransaction |
newESITransaction()
Supported API: false |
(package private) static ESITransaction |
newESITransaction(ESITransactionMessage msg)
Supported API: false |
(package private) static ESITransaction |
newESITransaction(String userName,
int transactionId)
|
private static Timestamp |
now()
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
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(ESITransaction thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setContainer(WTContainer a_Container)
Sets the object for the association that plays role: CONTAINER. |
void |
setContainerReference(WTContainerRef a_ContainerReference)
Sets the value of the attribute: CONTAINER_REFERENCE. |
void |
setCreator(String a_Creator)
Sets the value of the attribute: CREATOR. |
void |
setDeleted(boolean a_Deleted)
Sets the value of the attribute: DELETED. |
void |
setEndTimeStamp(Timestamp a_EndTimeStamp)
Sets the value of the attribute: END_TIME_STAMP. |
void |
setIdNumber(int a_IdNumber)
Sets the value of the attribute: ID_NUMBER. |
void |
setMessage(ESITransactionMessage a_Message)
Sets the object for the association that plays role: MESSAGE. |
void |
setMessageReference(ObjectReference a_MessageReference)
Sets the value of the attribute: MESSAGE_REFERENCE. |
void |
setStartTimeStamp(Timestamp a_StartTimeStamp)
Sets the value of the attribute: START_TIME_STAMP. |
void |
setStatus(ESITransactionStatusType a_Status)
Sets the object for the association that plays role: STATUS. |
private void |
statusValidate(ESITransactionStatusType a_Status)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.fc.Item |
getDomainRef, initialize, isInheritedDomain, readVersion, setDomainRef, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String ID_NUMBER
private int idNumber
public static final String DELETED
private boolean deleted
public static final String CREATOR
private static int CREATOR_UPPER_LIMIT
private String creator
public static final String START_TIME_STAMP
private Timestamp startTimeStamp
public static final String END_TIME_STAMP
private Timestamp endTimeStamp
public static final String STATUS
private static int STATUS_UPPER_LIMIT
private ESITransactionStatusType status
public static final String MESSAGE
public static final String MESSAGE_REFERENCE
private ObjectReference messageReference
public static final String CONTAINER
private WTContainerRef containerReference
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public ESITransaction()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Item
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Item
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ESITransaction thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Item
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Item
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public int getIdNumber()
public void setIdNumber(int a_IdNumber) throws WTPropertyVetoException
a_IdNumber
-
WTPropertyVetoException
public boolean isDeleted()
public void setDeleted(boolean a_Deleted) throws WTPropertyVetoException
a_Deleted
-
WTPropertyVetoException
public String getCreator()
public void setCreator(String a_Creator) throws WTPropertyVetoException
a_Creator
-
WTPropertyVetoException
private void creatorValidate(String a_Creator) throws WTPropertyVetoException
a_Creator
-
WTPropertyVetoException
public Timestamp getStartTimeStamp()
public void setStartTimeStamp(Timestamp a_StartTimeStamp) throws WTPropertyVetoException
a_StartTimeStamp
-
WTPropertyVetoException
public Timestamp getEndTimeStamp()
public void setEndTimeStamp(Timestamp a_EndTimeStamp) throws WTPropertyVetoException
a_EndTimeStamp
-
WTPropertyVetoException
public ESITransactionStatusType getStatus()
public void setStatus(ESITransactionStatusType a_Status) throws WTPropertyVetoException
a_Status
-
WTPropertyVetoException
private void statusValidate(ESITransactionStatusType a_Status) throws WTPropertyVetoException
a_Status
-
WTPropertyVetoException
public ESITransactionMessage getMessage()
public void setMessage(ESITransactionMessage a_Message) throws WTPropertyVetoException, WTException
a_Message
-
WTPropertyVetoException
WTException
public ObjectReference getMessageReference()
public void setMessageReference(ObjectReference a_MessageReference) throws WTPropertyVetoException
a_MessageReference
-
WTPropertyVetoException
private void messageReferenceValidate(ObjectReference a_MessageReference) throws WTPropertyVetoException
a_MessageReference
-
WTPropertyVetoException
static ESITransaction newESITransaction(ESITransactionMessage msg) throws WTException
msg
-
WTException
protected void initialize(ESITransactionMessage msg) throws WTException
msg
-
WTException
static ESITransaction newESITransaction() throws WTException
WTException
public String getContainerName()
WTContainer
this object is assigned to.
getContainerName
in interface WTContained
public WTContainer getContainer()
getContainer
in interface WTContained
public void setContainer(WTContainer a_Container) throws WTPropertyVetoException, WTException
setContainer
in interface WTContained
a_Container
-
WTPropertyVetoException
WTException
public WTContainerRef getContainerReference()
getContainerReference
in interface WTContained
public void setContainerReference(WTContainerRef a_ContainerReference) throws WTPropertyVetoException
setContainerReference
in interface WTContained
a_ContainerReference
-
WTPropertyVetoException
private void containerReferenceValidate(WTContainerRef a_ContainerReference) throws WTPropertyVetoException
a_ContainerReference
-
WTPropertyVetoException
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class Item
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class Item
static ESITransaction newESITransaction(String userName, int transactionId) throws WTException
WTException
private static Timestamp now()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |