net.sf.farrago.cwm.relational
Interface TriggerUsingColumnSet

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

public interface TriggerUsingColumnSet
extends RefAssociation

TriggerUsingColumnSet association proxy interface. This associates a Trigger with the NamedColumnSets it uses in its expressions.

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(CwmNamedColumnSet usedColumnSet, CwmTrigger usingTrigger)
          Creates a link between the pair of instance objects in the associations link set.
 boolean exists(CwmNamedColumnSet usedColumnSet, CwmTrigger usingTrigger)
          Queries whether a link currently exists between a given pair of instance objects in the associations link set.
 Collection<CwmNamedColumnSet> getUsedColumnSet(CwmTrigger usingTrigger)
          Queries the instance objects that are related to a particular instance object by a link in the current associations link set.
 Collection<CwmTrigger> getUsingTrigger(CwmNamedColumnSet usedColumnSet)
          Queries the instance objects that are related to a particular instance object by a link in the current associations link set.
 boolean remove(CwmNamedColumnSet usedColumnSet, CwmTrigger usingTrigger)
          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(CwmNamedColumnSet usedColumnSet,
               CwmTrigger usingTrigger)
Queries whether a link currently exists between a given pair of instance objects in the associations link set.

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

getUsedColumnSet

Collection<CwmNamedColumnSet> getUsedColumnSet(CwmTrigger usingTrigger)
Queries the instance objects that are related to a particular instance object by a link in the current associations link set.

Parameters:
usingTrigger - Required value of the second association end.
Returns:
Collection of related objects.

getUsingTrigger

Collection<CwmTrigger> getUsingTrigger(CwmNamedColumnSet usedColumnSet)
Queries the instance objects that are related to a particular instance object by a link in the current associations link set.

Parameters:
usedColumnSet - Required value of the first association end.
Returns:
Collection of related objects.

add

boolean add(CwmNamedColumnSet usedColumnSet,
            CwmTrigger usingTrigger)
Creates a link between the pair of instance objects in the associations link set.

Parameters:
usedColumnSet - Value of the first association end.
usingTrigger - Value of the second association end.

remove

boolean remove(CwmNamedColumnSet usedColumnSet,
               CwmTrigger usingTrigger)
Removes a link between a pair of instance objects in the current associations link set.

Parameters:
usedColumnSet - Value of the first association end.
usingTrigger - Value of the second association end.