net.sf.farrago.cwm.behavioral
Interface CallArguments

All Superinterfaces:
RefAssociation, RefBaseObject
All Known Implementing Classes:
CallArguments$Hib

public interface CallArguments
extends RefAssociation

CallArguments association proxy interface. Identifies the Argument instances representing the actual argument values passed to an Operation during the particular invocation indicated by the CallAction instance. The ordering of actual argument values is assumed to correspond to the ordering of the Operation?s parameters as represented by the ordering of the BehavioralFeatureParameter association.

Note: This type should not be subclassed, implemented or directly instantiated by clients. It is generated from a MOF metamodel and implemented by Enki or MDR.


Method Summary
 boolean add(CwmArgument actualArgument, CwmCallAction callAction)
          Creates a link between the pair of instance objects in the associations link set.
 boolean exists(CwmArgument actualArgument, CwmCallAction callAction)
          Queries whether a link currently exists between a given pair of instance objects in the associations link set.
 List<CwmArgument> getActualArgument(CwmCallAction callAction)
          Queries the instance objects that are related to a particular instance object by a link in the current associations link set.
 CwmCallAction getCallAction(CwmArgument actualArgument)
          Queries the instance object that is related to a particular instance object by a link in the current associations link set.
 boolean remove(CwmArgument actualArgument, CwmCallAction callAction)
          Removes a link between a pair of instance objects in the current associations link set.
 
Methods inherited from interface javax.jmi.reflect.RefAssociation
refAddLink, refAllLinks, refLinkExists, refQuery, refQuery, refRemoveLink
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

exists

boolean exists(CwmArgument actualArgument,
               CwmCallAction callAction)
Queries whether a link currently exists between a given pair of instance objects in the associations link set.

Parameters:
actualArgument - Value of the first association end.
callAction - Value of the second association end.
Returns:
Returns true if the queried link exists.

getActualArgument

List<CwmArgument> getActualArgument(CwmCallAction callAction)
Queries the instance objects that are related to a particular instance object by a link in the current associations link set.

Parameters:
callAction - Required value of the second association end.
Returns:
List of related objects.

getCallAction

CwmCallAction getCallAction(CwmArgument actualArgument)
Queries the instance object that is related to a particular instance object by a link in the current associations link set.

Parameters:
actualArgument - Required value of the first association end.
Returns:
Related object or null if none exists.

add

boolean add(CwmArgument actualArgument,
            CwmCallAction callAction)
Creates a link between the pair of instance objects in the associations link set.

Parameters:
actualArgument - Value of the first association end.
callAction - Value of the second association end.

remove

boolean remove(CwmArgument actualArgument,
               CwmCallAction callAction)
Removes a link between a pair of instance objects in the current associations link set.

Parameters:
actualArgument - Value of the first association end.
callAction - Value of the second association end.