|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.projmgmt.monitor.ProjMgmtEvent
ProjMgmtEvent
represents in the database individual events
that constitute the "project history."
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static String |
CONTAINER
Label for the attribute. |
private WTContainerRef |
containerReference
|
static String |
CREATOR_REF
Label for the attribute; Reference to the user responsible for the action that created the event. |
private WTPrincipalReference |
creatorRef
|
static String |
EVENT_TIME
Label for the attribute; Time of the occurrence of the event. |
static String |
EVENT_TYPE
Label for the attribute; Type of the event. |
private static int |
EVENT_TYPE_UPPER_LIMIT
|
private Timestamp |
eventTime
|
private ProjectEventType |
eventType
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
PLAN_REF
Label for the attribute; Reference to the project plan to which the execution object belongs. |
private ObjectReference |
planRef
|
static long |
R60_EXTERNALIZATION_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static String |
SOURCE
Label for the attribute. |
static String |
SOURCE_REFERENCE
Label for the attribute. |
private ObjectReference |
sourceReference
|
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 | |
ProjMgmtEvent()
|
Method Summary | |
private void |
containerReferenceValidate(WTContainerRef a_ContainerReference)
|
static ProjMgmtEvent |
createProjMgmtEvent(ProjectEventType event_type,
ExecutionObject source,
Timestamp event_time,
Object old_val)
Project management event factory. |
private void |
creatorRefValidate(WTPrincipalReference a_CreatorRef)
|
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. |
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. |
WTPrincipalReference |
getCreatorRef()
Gets the value of the attribute: CREATOR_REF. |
Timestamp |
getEventTime()
Gets the value of the attribute: EVENT_TIME. |
ProjectEventType |
getEventType()
Gets the value of the attribute: EVENT_TYPE. |
ObjectReference |
getPlanRef()
Gets the value of the attribute: PLAN_REF. |
ExecutionObject |
getSource()
Gets the object for the association that plays role: SOURCE. |
ObjectReference |
getSourceReference()
Gets the value of the attribute: SOURCE_REFERENCE. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize()
Supported API: false |
private void |
planRefValidate(ObjectReference a_PlanRef)
|
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(ProjMgmtEvent 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 |
setCreatorRef(WTPrincipalReference a_CreatorRef)
Sets the value of the attribute: CREATOR_REF. |
void |
setEventTime(Timestamp a_EventTime)
Sets the value of the attribute: EVENT_TIME. |
void |
setEventType(ProjectEventType a_EventType)
Sets the value of the attribute: EVENT_TYPE. |
void |
setPlanRef(ObjectReference a_PlanRef)
Sets the value of the attribute: PLAN_REF. |
void |
setSource(ExecutionObject a_Source)
Sets the object for the association that plays role: SOURCE. |
void |
setSourceReference(ObjectReference a_SourceReference)
Sets the value of the attribute: SOURCE_REFERENCE. |
private void |
sourceReferenceValidate(ObjectReference a_SourceReference)
|
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, 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, getConceptualClassname |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String EVENT_TYPE
private static int EVENT_TYPE_UPPER_LIMIT
private ProjectEventType eventType
public static final String EVENT_TIME
private Timestamp eventTime
public static final String PLAN_REF
private ObjectReference planRef
public static final String CREATOR_REF
private WTPrincipalReference creatorRef
public static final String SOURCE
public static final String SOURCE_REFERENCE
private ObjectReference sourceReference
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
public static final long R60_EXTERNALIZATION_VERSION_UID
Constructor Detail |
public ProjMgmtEvent()
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(ProjMgmtEvent 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 ProjectEventType getEventType()
public void setEventType(ProjectEventType a_EventType) throws WTPropertyVetoException
a_EventType
-
WTPropertyVetoException
public Timestamp getEventTime()
public void setEventTime(Timestamp a_EventTime) throws WTPropertyVetoException
a_EventTime
-
WTPropertyVetoException
public ObjectReference getPlanRef()
public void setPlanRef(ObjectReference a_PlanRef) throws WTPropertyVetoException
a_PlanRef
-
WTPropertyVetoException
private void planRefValidate(ObjectReference a_PlanRef) throws WTPropertyVetoException
a_PlanRef
-
WTPropertyVetoException
public WTPrincipalReference getCreatorRef()
public void setCreatorRef(WTPrincipalReference a_CreatorRef) throws WTPropertyVetoException
a_CreatorRef
-
WTPropertyVetoException
private void creatorRefValidate(WTPrincipalReference a_CreatorRef) throws WTPropertyVetoException
a_CreatorRef
-
WTPropertyVetoException
public ExecutionObject getSource()
public void setSource(ExecutionObject a_Source) throws WTPropertyVetoException, WTException
a_Source
-
WTPropertyVetoException
WTException
public ObjectReference getSourceReference()
public void setSourceReference(ObjectReference a_SourceReference) throws WTPropertyVetoException
a_SourceReference
-
WTPropertyVetoException
private void sourceReferenceValidate(ObjectReference a_SourceReference) throws WTPropertyVetoException
a_SourceReference
-
WTPropertyVetoException
public static ProjMgmtEvent createProjMgmtEvent(ProjectEventType event_type, ExecutionObject source, Timestamp event_time, Object old_val) throws WTException
event_type
- source
- event_time
- old_val
-
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
protected void initialize() throws WTException
Item
initialize
in class Item
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |