wt.workflow.engine
Class WfVotingEventAudit

java.lang.Object
  extended bywt.fc.WTObject
      extended bywt.enterprise.Simple
          extended bywt.workflow.engine.WfEventAudit
              extended bywt.workflow.engine.WfVotingEventAudit
All Implemented Interfaces:
AccessControlled, BusinessInformation, DisplayIdentification, DomainAdministered, Externalizable, NetFactor, Notifiable, ObjectMappable, Persistable, Serializable

public class WfVotingEventAudit
extends WfEventAudit
implements Externalizable

Use the newWfVotingEventAudit static factory method(s), not the WfVotingEventAudit 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: false

Extendable: false

See Also:
Serialized Form

Field Summary
static String ASSIGNEE_REF
          Label for the attribute; User responsible for vote.
private  WTPrincipalReference assigneeRef
           
private static String CLASSNAME
           
static String EVENT_LIST
          Label for the attribute.
private static int EVENT_LIST_UPPER_LIMIT
           
private  UserEventVector eventList
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private  boolean required
           
static String REQUIRED
          Label for the attribute.
private static String RESOURCE
           
private  Role role
           
static String ROLE
          Label for the attribute; Role associated withe the task.
private static int ROLE_UPPER_LIMIT
           
(package private) static long serialVersionUID
           
private  boolean signed
           
static String SIGNED
          Label for the attribute; Recordw whether vote was signed or not.
static String USER_COMMENT
          Label for the attribute; Records task comment at the time task was completed.
private static int USER_COMMENT_UPPER_LIMIT
           
private  String userComment
           
 
Fields inherited from class wt.workflow.engine.WfEventAudit
ACTIVITY_KEY, ACTIVITY_NAME, EVENT_TYPE, PROCESS_KEY, PROCESS_NAME, PROCESS_TEMPLATE_NAME, PROCESS_TEMPLATE_VERSION, TIMESTAMP, TRIP_COUNT, USER_REF
 
Fields inherited from class wt.enterprise.Simple
 
Fields inherited from class wt.fc.WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMP
 
Fields inherited from interface wt.admin.DomainAdministered
DOMAIN_REF, INHERITED_DOMAIN
 
Fields inherited from interface wt.fc.BusinessInformation
BUSINESS_TYPE, IDENTITY
 
Fields inherited from interface wt.notify.Notifiable
EVENT_SET
 
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
WfVotingEventAudit()
           
 
Method Summary
 boolean equals(Object obj)
          Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers.
private  void eventListValidate(UserEventVector a_EventList)
           
 WTPrincipalReference getAssigneeRef()
          Gets the value of the attribute: ASSIGNEE_REF.
 String getConceptualClassname()
          Deprecated.  
 UserEventVector getEventList()
          Gets the value of the attribute: EVENT_LIST.
 Role getRole()
          Gets the value of the attribute: ROLE.
 String getUserComment()
          Gets the value of the attribute: USER_COMMENT.
 int hashCode()
          Returns a hash code for this object based upon its ObjectIdentifier.
 boolean isRequired()
          Gets the value of the attribute: REQUIRED.
 boolean isSigned()
          Gets the value of the attribute: SIGNED.
static WfVotingEventAudit newWfVotingEventAudit(WTContainerRef container_ref)
          

Supported API: false
 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(WfVotingEventAudit thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setAssigneeRef(WTPrincipalReference a_AssigneeRef)
          Sets the value of the attribute: ASSIGNEE_REF.
 void setEventList(UserEventVector a_EventList)
          Sets the value of the attribute: EVENT_LIST.
 void setRequired(boolean a_Required)
          Sets the value of the attribute: REQUIRED.
 void setRole(Role a_Role)
          Sets the value of the attribute: ROLE.
 void setSigned(boolean a_Signed)
          Sets the value of the attribute: SIGNED.
 void setUserComment(String a_UserComment)
          Sets the value of the attribute: USER_COMMENT.
 String toString()
          

Supported API: false
private  void userCommentValidate(String a_UserComment)
           
 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.workflow.engine.WfEventAudit
getActivityKey, getActivityName, getEventType, getProcessKey, getProcessName, getProcessTemplateName, getProcessTemplateVersion, getSource, getTimestamp, getTripCount, getUserRef, initialize, readVersion, setActivityKey, setActivityName, setEventType, setProcessKey, setProcessName, setProcessTemplateName, setProcessTemplateVersion, setTimestamp, setTripCount, setUserRef
 
Methods inherited from class wt.enterprise.Simple
getBusinessType, getDomainRef, getEventSet, getIdentity, initialize, isInheritedDomain, readVersion, setDomainRef, setEventSet, setInheritedDomain
 
Methods inherited from class wt.fc.WTObject
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

ROLE

public static final String ROLE
Label for the attribute; Role associated withe the task.

Supported API: false

See Also:
Constant Field Values

ROLE_UPPER_LIMIT

private static int ROLE_UPPER_LIMIT

role

private Role role

ASSIGNEE_REF

public static final String ASSIGNEE_REF
Label for the attribute; User responsible for vote.

Supported API: false

See Also:
Constant Field Values

assigneeRef

private WTPrincipalReference assigneeRef

USER_COMMENT

public static final String USER_COMMENT
Label for the attribute; Records task comment at the time task was completed.

Supported API: false

See Also:
Constant Field Values

USER_COMMENT_UPPER_LIMIT

private static int USER_COMMENT_UPPER_LIMIT

userComment

private String userComment

EVENT_LIST

public static final String EVENT_LIST
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

EVENT_LIST_UPPER_LIMIT

private static int EVENT_LIST_UPPER_LIMIT

eventList

private UserEventVector eventList

SIGNED

public static final String SIGNED
Label for the attribute; Recordw whether vote was signed or not.

Supported API: false

See Also:
Constant Field Values

signed

private boolean signed

REQUIRED

public static final String REQUIRED
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

required

private boolean required

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
Constructor Detail

WfVotingEventAudit

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

readVersion

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

writeExternal

public void writeExternal(PersistentStoreIfc output)
                   throws SQLException,
                          DatastoreException
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.

(Not intended for general use.)

Supported API: false

Specified by:
writeExternal in interface ObjectMappable
Overrides:
writeExternal in class WfEventAudit
Parameters:
output -
Throws:
SQLException
DatastoreException

readExternal

public void readExternal(PersistentRetrieveIfc input)
                  throws SQLException,
                         DatastoreException
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
readExternal in interface ObjectMappable
Overrides:
readExternal in class WfEventAudit
Parameters:
input -
Throws:
SQLException
DatastoreException

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Returns:
String

getRole

public Role getRole()
Gets the value of the attribute: ROLE. Role associated withe the task.

Supported API: false

Returns:
Role

setRole

public void setRole(Role a_Role)
Sets the value of the attribute: ROLE. Role associated withe the task.

Supported API: false

Parameters:
a_Role -

getAssigneeRef

public WTPrincipalReference getAssigneeRef()
Gets the value of the attribute: ASSIGNEE_REF. User responsible for vote.

Supported API: false

Returns:
WTPrincipalReference

setAssigneeRef

public void setAssigneeRef(WTPrincipalReference a_AssigneeRef)
Sets the value of the attribute: ASSIGNEE_REF. User responsible for vote.

Supported API: false

Parameters:
a_AssigneeRef -

getUserComment

public String getUserComment()
Gets the value of the attribute: USER_COMMENT. Records task comment at the time task was completed.

Supported API: false

Returns:
String

setUserComment

public void setUserComment(String a_UserComment)
                    throws WTPropertyVetoException
Sets the value of the attribute: USER_COMMENT. Records task comment at the time task was completed.

Supported API: false

Parameters:
a_UserComment -
Throws:
WTPropertyVetoException

userCommentValidate

private void userCommentValidate(String a_UserComment)
                          throws WTPropertyVetoException
Parameters:
a_UserComment -
Throws:
WTPropertyVetoException

getEventList

public UserEventVector getEventList()
Gets the value of the attribute: EVENT_LIST.

Supported API: false

Returns:
UserEventVector

setEventList

public void setEventList(UserEventVector a_EventList)
                  throws WTPropertyVetoException
Sets the value of the attribute: EVENT_LIST.

Supported API: false

Parameters:
a_EventList -
Throws:
WTPropertyVetoException

eventListValidate

private void eventListValidate(UserEventVector a_EventList)
                        throws WTPropertyVetoException
Parameters:
a_EventList -
Throws:
WTPropertyVetoException

isSigned

public boolean isSigned()
Gets the value of the attribute: SIGNED. Recordw whether vote was signed or not.

Supported API: false

Returns:
boolean

setSigned

public void setSigned(boolean a_Signed)
Sets the value of the attribute: SIGNED. Recordw whether vote was signed or not.

Supported API: false

Parameters:
a_Signed -

isRequired

public boolean isRequired()
Gets the value of the attribute: REQUIRED.

Supported API: false

Returns:
boolean

setRequired

public void setRequired(boolean a_Required)
Sets the value of the attribute: REQUIRED.

Supported API: false

Parameters:
a_Required -

toString

public String toString()


Supported API: false

Overrides:
toString in class WfEventAudit
Returns:
String

newWfVotingEventAudit

public static WfVotingEventAudit newWfVotingEventAudit(WTContainerRef container_ref)
                                                throws WTException


Supported API: false

Parameters:
container_ref -
Returns:
WfVotingEventAudit
Throws:
WTException

equals

public boolean equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers. 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

Overrides:
equals in class WfEventAudit
Parameters:
obj -
Returns:
boolean

hashCode

public int hashCode()
Returns a hash code for this object based upon its 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

Overrides:
hashCode in class WfEventAudit
Returns:
int