org.enhydra.shark.corba
Class WfAssignmentCORBA

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.WorkflowModel._WfAssignmentImplBase
          extended by org.enhydra.shark.corba.WfAssignmentCORBA
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.InvokeHandler, BaseBusinessObject, BaseBusinessObjectOperations, WfAssignment, WfAssignmentOperations

public class WfAssignmentCORBA
extends _WfAssignmentImplBase

WfAssignmentImpl - Workflow Assignment Object implementation

Version:
1.0
Author:
Sasa Bojanic
See Also:
Serialized Form

Constructor Summary
protected WfAssignmentCORBA(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._WfAssignmentImplBase
_ids, _invoke
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

WfAssignmentCORBA

protected WfAssignmentCORBA(Collective toJoin,
                            WfAssignment sharkAss)
Creates new WfAssignment.

Parameters:
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 org.omg.CORBA.portable.ObjectImpl

toString

public java.lang.String toString()
Overrides:
toString in class org.omg.CORBA.portable.ObjectImpl