|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.fc.ObjectToObjectLink
com.ptc.windchill.esi.txn.ReleaseActivity
A record of a unit of work in an external system
Use the newReleaseActivity
static factory method(s), not
the ReleaseActivity
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 ReleaseActivityAction |
action
|
static String |
ACTION
Label for the attribute. |
private static int |
ACTION_UPPER_LIMIT
|
private static String |
BOM_CLASS
|
private static String |
CLASSNAME
|
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. |
private String |
description
|
static String |
DESCRIPTION
Label for the attribute; Helpful display information for RPC results, should be the logical class of the object Supported API: true |
private static int |
DESCRIPTION_UPPER_LIMIT
|
private static String |
ESIRESOURCE
|
static long |
EXTERNALIZATION_VERSION_UID
|
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
|
static String |
PERSISTABLE_OBJECT_ROLE
Deprecated. , replaced by RELEASABLE_OBJECT_ROLE |
static String |
RELEASABLE_OBJECT_ROLE
Label for the attribute. |
static String |
RELEASE_CLASS
Label for the attribute. |
private static int |
RELEASE_CLASS_UPPER_LIMIT
|
static String |
RELEASE_STAMP
Label for the attribute; Timestamp of the release. |
private String |
releaseClass
|
private Timestamp |
releaseStamp
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private ReleaseStatusType |
status
|
static String |
STATUS
Label for the attribute. |
private static int |
STATUS_UPPER_LIMIT
|
static String |
TARGET_ROLE
Label for the attribute. |
Fields inherited from class wt.fc.ObjectToObjectLink |
ROLE_AOBJECT_REF, ROLE_BOBJECT_REF |
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.fc.BinaryLink |
ALL_ROLES, BOTH_ROLES, ROLE_AOBJECT_ROLE, ROLE_BOBJECT_ROLE |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
ReleaseActivity()
|
Method Summary | |
private void |
actionValidate(ReleaseActivityAction a_Action)
|
private void |
creatorValidate(String a_Creator)
|
private void |
descriptionValidate(String a_Description)
|
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. |
ReleaseActivityAction |
getAction()
Gets the object for the association that plays role: ACTION. |
String |
getConceptualClassname()
Deprecated. |
String |
getCreator()
Gets the value of the attribute: CREATOR. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
ReleaseActivityMessage |
getMessage()
Gets the object for the association that plays role: MESSAGE. |
ObjectReference |
getMessageReference()
Gets the value of the attribute: MESSAGE_REFERENCE. |
Persistable |
getObject()
returns the RoleA object Supported API: false |
String |
getObjectID()
|
String |
getObjectName()
If the persistable object implements getDisplayIdentifier() Supported API: false |
Persistable |
getPersistableObject()
Returns the roleA object. |
Releasable |
getReleasableObject()
Gets the object for the association that plays role: RELEASABLE_OBJECT_ROLE. |
String |
getReleaseClass()
Gets the value of the attribute: RELEASE_CLASS. |
Timestamp |
getReleaseStamp()
Gets the value of the attribute: RELEASE_STAMP. |
ReleaseStatusType |
getStatus()
Gets the object for the association that plays role: STATUS. |
ESITarget |
getTarget()
Gets the object for the association that plays role: TARGET_ROLE. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
boolean |
isBOM()
Returns true if releaseClass value matches the value specified in ESI properties. |
boolean |
isDeleted()
Gets the value of the attribute: DELETED. |
private void |
messageReferenceValidate(ObjectReference a_MessageReference)
|
static ReleaseActivity |
newReleaseActivity(Persistable persistableObject,
ESITarget target)
Deprecated. , replaced by ReleaseActivity newReleaseActivity( Releasable releasableObject, ESITarget target ) |
static ReleaseActivity |
newReleaseActivity(Releasable releasableObject,
ESITarget target)
Default factory for the class. |
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(ReleaseActivity thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
releaseClassValidate(String a_ReleaseClass)
|
void |
setAction(ReleaseActivityAction a_Action)
Sets the object for the association that plays role: ACTION. |
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 |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setMessage(ReleaseActivityMessage 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. |
(package private) void |
setObject(Persistable object)
Sets the ObjectToObjectLink roleA object Supported API: false |
void |
setPersistableObject(Persistable persistableObject)
Deprecated. , replaced by setReleasableObject |
void |
setReleasableObject(Releasable releasableObject)
Sets the object for the association that plays role: RELEASABLE_OBJECT_ROLE. |
void |
setReleaseClass(String a_ReleaseClass)
Sets the value of the attribute: RELEASE_CLASS. |
void |
setReleaseStamp(Timestamp a_ReleaseStamp)
Sets the value of the attribute: RELEASE_STAMP. |
void |
setStatus(ReleaseStatusType a_Status)
Sets the object for the association that plays role: STATUS. |
void |
setTarget(ESITarget target)
Sets the object for the association that plays role: TARGET_ROLE. |
private void |
statusValidate(ReleaseStatusType 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.WTObject |
checkAttributes, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, initialize, 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 RELEASABLE_OBJECT_ROLE
public static final String TARGET_ROLE
public static final String RELEASE_STAMP
private Timestamp releaseStamp
public static final String CREATOR
private static int CREATOR_UPPER_LIMIT
private String creator
public static final String DELETED
private boolean deleted
public static final String DESCRIPTION
private static int DESCRIPTION_UPPER_LIMIT
private String description
public static final String RELEASE_CLASS
private static int RELEASE_CLASS_UPPER_LIMIT
private String releaseClass
public static final String MESSAGE
public static final String MESSAGE_REFERENCE
private ObjectReference messageReference
public static final String STATUS
private static int STATUS_UPPER_LIMIT
private ReleaseStatusType status
public static final String ACTION
private static int ACTION_UPPER_LIMIT
private ReleaseActivityAction action
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String ESIRESOURCE
private static final String BOM_CLASS
public static final String PERSISTABLE_OBJECT_ROLE
RELEASABLE_OBJECT_ROLE
Constructor Detail |
public ReleaseActivity()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class ObjectToObjectLink
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class ObjectToObjectLink
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ReleaseActivity 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 ObjectToObjectLink
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 ObjectToObjectLink
input
-
SQLException
DatastoreException
public Releasable getReleasableObject()
public void setReleasableObject(Releasable releasableObject) throws WTPropertyVetoException
releasableObject
-
WTPropertyVetoException
public ESITarget getTarget()
getTarget
in interface ESITargetAssociation
public void setTarget(ESITarget target) throws WTPropertyVetoException
target
-
WTPropertyVetoException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public Timestamp getReleaseStamp()
public void setReleaseStamp(Timestamp a_ReleaseStamp) throws WTPropertyVetoException
a_ReleaseStamp
-
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 boolean isDeleted()
public void setDeleted(boolean a_Deleted) throws WTPropertyVetoException
a_Deleted
-
WTPropertyVetoException
public String getDescription()
public void setDescription(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
private void descriptionValidate(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
public String getReleaseClass()
public void setReleaseClass(String a_ReleaseClass) throws WTPropertyVetoException
a_ReleaseClass
-
WTPropertyVetoException
private void releaseClassValidate(String a_ReleaseClass) throws WTPropertyVetoException
a_ReleaseClass
-
WTPropertyVetoException
public ReleaseActivityMessage getMessage()
public void setMessage(ReleaseActivityMessage 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
public ReleaseStatusType getStatus()
public void setStatus(ReleaseStatusType a_Status) throws WTPropertyVetoException
a_Status
-
WTPropertyVetoException
private void statusValidate(ReleaseStatusType a_Status) throws WTPropertyVetoException
a_Status
-
WTPropertyVetoException
public ReleaseActivityAction getAction()
public void setAction(ReleaseActivityAction a_Action) throws WTPropertyVetoException
a_Action
-
WTPropertyVetoException
private void actionValidate(ReleaseActivityAction a_Action) throws WTPropertyVetoException
a_Action
-
WTPropertyVetoException
public Persistable getObject()
public String getObjectName()
public Persistable getPersistableObject()
getPersistableObject
in interface ESITargetAssociation
public boolean isBOM()
void setObject(Persistable object) throws WTException
object
-
WTException
public static ReleaseActivity newReleaseActivity(Releasable releasableObject, ESITarget target) throws WTException
releasableObject
- target
-
WTException
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 ObjectToObjectLink
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 ObjectToObjectLink
public String getObjectID() throws WTException
WTException
public void setPersistableObject(Persistable persistableObject)
setReleasableObject
public static ReleaseActivity newReleaseActivity(Persistable persistableObject, ESITarget target) throws WTException
ReleaseActivity newReleaseActivity( Releasable releasableObject, ESITarget target )
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |