org.enhydra.shark.corba.poa
Class WfAssignmentCORBA

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.WorkflowModel.WfAssignmentPOA
          extended by org.enhydra.shark.corba.poa.WfAssignmentCORBA
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, BaseBusinessObjectOperations, WfAssignmentOperations

public class WfAssignmentCORBA
extends WfAssignmentPOA

WfAssignmentImpl - Workflow Assignment Object implementation

Version:
1.0
Author:
David Forslund

Constructor Summary
protected WfAssignmentCORBA(org.omg.CORBA.ORB orb, Collective toJoin, WfAssignment sharkAss)
          Creates new WfAssignment.
 
Method Summary
 WfActivity activity()
          Gets the activity object of this assignment.
 WfResource assignee()
          Gets the assignee (resource) of this assignment.
 boolean equals(java.lang.Object obj)
           
 boolean get_accepted_status()
           
 void set_accepted_status(boolean accept)
           
 void set_assignee(WfResource new_value)
          Sets the assignee of this assignment.
 java.lang.String toString()
           
 
Methods inherited from class org.omg.WorkflowModel.WfAssignmentPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WfAssignmentCORBA

protected WfAssignmentCORBA(org.omg.CORBA.ORB orb,
                            Collective toJoin,
                            WfAssignment sharkAss)
Creates new WfAssignment.

Parameters:
orb -
sharkAss - a WfAssignment
Method Detail

activity

public WfActivity activity()
                    throws BaseException
Gets the activity object of this assignment.

Returns:
WfActivity The activity object of this assignment.
Throws:
BaseException

assignee

public WfResource assignee()
                    throws BaseException
Gets the assignee (resource) of this assignment.

Returns:
WfResource The assignee of this assignment.
Throws:
BaseException

set_assignee

public void set_assignee(WfResource new_value)
                  throws BaseException,
                         InvalidResource
Sets the assignee of this assignment.

Throws:
BaseException
InvalidResource

set_accepted_status

public void set_accepted_status(boolean accept)
                         throws BaseException,
                                CannotAcceptSuspended
Throws:
BaseException
CannotAcceptSuspended

get_accepted_status

public boolean get_accepted_status()
                            throws BaseException
Throws:
BaseException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object