de.danet.an.workflow.api
Class Activity.Info

java.lang.Object
  extended byde.danet.an.workflow.api.Activity.Info
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Activity

public static class Activity.Info
extends java.lang.Object
implements java.io.Serializable

Class Info combines various informational attributes about an activity in a single structure for efficient retrieval.

See Also:
Serialized Form

Constructor Summary
Activity.Info(ActivityUniqueKey key, java.lang.String actName, java.lang.String actDesc, int actPrio, java.util.Date actLastTime, java.lang.String procName, java.lang.String procDesc)
          Creates a new Info instance with the given values.
 
Method Summary
 java.lang.String description()
          Get the value of activityDescription.
 java.util.Date lastStateTime()
          Get the value of lastStateTime.
 java.lang.String name()
          Get the value of activityName.
 int priority()
          Get the value of activityPriority.
 java.lang.String processDescription()
          Get the value of processDescription.
 java.lang.String processName()
          Get the value of processName.
 ActivityUniqueKey uniqueKey()
          Get the value of uniqueKey.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activity.Info

public Activity.Info(ActivityUniqueKey key,
                     java.lang.String actName,
                     java.lang.String actDesc,
                     int actPrio,
                     java.util.Date actLastTime,
                     java.lang.String procName,
                     java.lang.String procDesc)
Creates a new Info instance with the given values.

Parameters:
key - the unique key.
actName - the activity name.
actDesc - the activity description.
actPrio - the priority of the activity.
actLastTime - the date of the last state change.
procName - the name of the containing process.
procDesc - the description of the containing process.
Method Detail

uniqueKey

public ActivityUniqueKey uniqueKey()
Get the value of uniqueKey.

Returns:
value of uniqueKey.

name

public java.lang.String name()
Get the value of activityName.

Returns:
value of activityName.

description

public java.lang.String description()
Get the value of activityDescription.

Returns:
value of activityDescription.

priority

public int priority()
Get the value of activityPriority.

Returns:
value of activityPriority.

lastStateTime

public java.util.Date lastStateTime()
Get the value of lastStateTime.

Returns:
value of lastStateTime.

processName

public java.lang.String processName()
Get the value of processName.

Returns:
value of processName.

processDescription

public java.lang.String processDescription()
Get the value of processDescription.

Returns:
value of processDescription.