wt.projmgmt.resource
Class ProjectAssignee

java.lang.Object
  extended bywt.workflow.work.WfAssignee
      extended bywt.workflow.work.WfPrincipalAssignee
          extended bywt.projmgmt.resource.ProjectAssignee
All Implemented Interfaces:
Evolvable, Externalizable, Serializable

public class ProjectAssignee
extends WfPrincipalAssignee
implements Externalizable

Represents a human resource assigned to a project task. Contains attributes that allow the accrual of effort spent during the task.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private  int percentUtilization
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Fields inherited from class wt.workflow.work.WfPrincipalAssignee
 
Fields inherited from class wt.workflow.work.WfAssignee
 
Constructor Summary
ProjectAssignee()
          Constructs project assignee.
ProjectAssignee(String princ_str)
          Constructs project assignee given a string representation of a reference to a principal.
 
Method Summary
 int getPercentUtilization()
          Gets the value of the attribute: percentUtilization; Integer number between 0 and 100 indicating the actual portion of time a time resource is used in the assignment.
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
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(ProjectAssignee thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setPercentUtilization(int a_PercentUtilization)
          Sets the value of the attribute: percentUtilization; Integer number between 0 and 100 indicating the actual portion of time a time resource is used in the assignment.
 String toString()
          Returns string representtaion of the assignee.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.workflow.work.WfPrincipalAssignee
equals, getPrincipal, readVersion, setPrincipal
 
Methods inherited from class wt.workflow.work.WfAssignee
getCompletionPolicy, initialize, isRequired, readVersion, setCompletionPolicy, setRequired
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

percentUtilization

private int percentUtilization

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

ProjectAssignee

public ProjectAssignee()
Constructs project assignee. No args constructor.

Supported API: false


ProjectAssignee

public ProjectAssignee(String princ_str)
Constructs project assignee given a string representation of a reference to a principal.

Supported API: false

Parameters:
princ_str -
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 WfPrincipalAssignee
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 WfPrincipalAssignee
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

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

getPercentUtilization

public int getPercentUtilization()
Gets the value of the attribute: percentUtilization; Integer number between 0 and 100 indicating the actual portion of time a time resource is used in the assignment.

Supported API: false

Returns:
int

setPercentUtilization

public void setPercentUtilization(int a_PercentUtilization)
                           throws WTPropertyVetoException
Sets the value of the attribute: percentUtilization; Integer number between 0 and 100 indicating the actual portion of time a time resource is used in the assignment.

Supported API: false

Parameters:
a_PercentUtilization -
Throws:
WTPropertyVetoException

toString

public String toString()
Returns string representtaion of the assignee.

Supported API: false

Overrides:
toString in class WfPrincipalAssignee
Returns:
String