|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.lifecycle.LifeCycleHistory
LifeCycleHistory captures an audit traill for an object as it moves through a LifeCycle. This history includes the who and when of life cycle events, signatures and criteria evaluation results.
Use the newLifeCycleHistory
static factory method(s), not
the LifeCycleHistory
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: false
Phase
,
LifeCycleSignature
,
Serialized FormField Summary | |
private String |
action
|
static String |
ACTION
Label for the attribute; The action associated with this object. |
private static int |
ACTION_UPPER_LIMIT
|
static String |
ACTOR_NAME
Label for the attribute; The name of the performer of the action. |
private static int |
ACTOR_NAME_UPPER_LIMIT
|
private String |
actorName
|
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
LIFE_CYCLE_NAME
Label for the attribute; The name of the LifeCycle Supported API: false |
private static int |
LIFE_CYCLE_NAME_UPPER_LIMIT
|
private String |
lifeCycleName
|
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
PHASE_NAME
Label for the attribute; The name of the Phase Supported API: false |
private static int |
PHASE_NAME_UPPER_LIMIT
|
private String |
phaseName
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private State |
state
|
static String |
STATE
Label for the attribute; The state of the associated object after the action was performed. |
private static int |
STATE_UPPER_LIMIT
|
static String |
TEAM_TEMPLATE_IDENTITY
Label for the attribute; The identity of the Team Template. |
private static int |
TEAM_TEMPLATE_IDENTITY_UPPER_LIMIT
|
private String |
teamTemplateIdentity
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
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 | |
LifeCycleHistory()
|
Method Summary | |
private void |
actionValidate(String a_Action)
|
private void |
actorNameValidate(String a_ActorName)
|
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 |
getAction()
Gets the value of the attribute: ACTION. |
String |
getActorName()
Gets the value of the attribute: ACTOR_NAME. |
String |
getConceptualClassname()
Deprecated. |
String |
getLifeCycleName()
Gets the value of the attribute: LIFE_CYCLE_NAME. |
String |
getPhaseName()
Gets the value of the attribute: PHASE_NAME. |
State |
getState()
Gets the value of the attribute: STATE. |
String |
getTeamTemplateIdentity()
Gets the value of the attribute: TEAM_TEMPLATE_IDENTITY. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
private void |
lifeCycleNameValidate(String a_LifeCycleName)
|
static LifeCycleHistory |
newLifeCycleHistory()
Default factory for the class. |
private void |
phaseNameValidate(String a_PhaseName)
|
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(LifeCycleHistory thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setAction(String a_Action)
Sets the value of the attribute: ACTION. |
void |
setActorName(String a_ActorName)
Sets the value of the attribute: ACTOR_NAME. |
void |
setLifeCycleName(String a_LifeCycleName)
Sets the value of the attribute: LIFE_CYCLE_NAME. |
void |
setPhaseName(String a_PhaseName)
Sets the value of the attribute: PHASE_NAME. |
void |
setState(State a_State)
Sets the value of the attribute: STATE. |
void |
setTeamTemplateIdentity(String a_TeamTemplateIdentity)
Sets the value of the attribute: TEAM_TEMPLATE_IDENTITY. |
private void |
teamTemplateIdentityValidate(String a_TeamTemplateIdentity)
|
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, duplicate, 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 |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String ACTION
private static int ACTION_UPPER_LIMIT
private String action
public static final String ACTOR_NAME
private static int ACTOR_NAME_UPPER_LIMIT
private String actorName
public static final String STATE
private static int STATE_UPPER_LIMIT
private State state
public static final String LIFE_CYCLE_NAME
private static int LIFE_CYCLE_NAME_UPPER_LIMIT
private String lifeCycleName
public static final String PHASE_NAME
private static int PHASE_NAME_UPPER_LIMIT
private String phaseName
public static final String TEAM_TEMPLATE_IDENTITY
private static int TEAM_TEMPLATE_IDENTITY_UPPER_LIMIT
private String teamTemplateIdentity
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public LifeCycleHistory()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class WTObject
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class WTObject
input
-
IOException
ClassNotFoundException
protected boolean readVersion(LifeCycleHistory 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 WTObject
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 WTObject
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String getAction()
public void setAction(String a_Action) throws WTPropertyVetoException
a_Action
-
WTPropertyVetoException
private void actionValidate(String a_Action) throws WTPropertyVetoException
a_Action
-
WTPropertyVetoException
public String getActorName()
public void setActorName(String a_ActorName) throws WTPropertyVetoException
a_ActorName
-
WTPropertyVetoException
private void actorNameValidate(String a_ActorName) throws WTPropertyVetoException
a_ActorName
-
WTPropertyVetoException
public State getState()
public void setState(State a_State) throws WTPropertyVetoException
a_State
-
WTPropertyVetoException
public String getLifeCycleName()
public void setLifeCycleName(String a_LifeCycleName) throws WTPropertyVetoException
a_LifeCycleName
-
WTPropertyVetoException
private void lifeCycleNameValidate(String a_LifeCycleName) throws WTPropertyVetoException
a_LifeCycleName
-
WTPropertyVetoException
public String getPhaseName()
public void setPhaseName(String a_PhaseName) throws WTPropertyVetoException
a_PhaseName
-
WTPropertyVetoException
private void phaseNameValidate(String a_PhaseName) throws WTPropertyVetoException
a_PhaseName
-
WTPropertyVetoException
public String getTeamTemplateIdentity()
public void setTeamTemplateIdentity(String a_TeamTemplateIdentity) throws WTPropertyVetoException
a_TeamTemplateIdentity
-
WTPropertyVetoException
private void teamTemplateIdentityValidate(String a_TeamTemplateIdentity) throws WTPropertyVetoException
a_TeamTemplateIdentity
-
WTPropertyVetoException
public static LifeCycleHistory newLifeCycleHistory() throws WTException
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 WTObject
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 WTObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |