net.sf.farrago.session
Class FarragoSessionDdlDropRule

java.lang.Object
  extended by net.sf.farrago.session.FarragoSessionDdlDropRule

public class FarragoSessionDdlDropRule
extends Object

FarragoSessionDdlDropRule specifies the action to take when an association link deletion event is detected during DDL.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/session/FarragoSessionDdlDropRule.java#7 $
Author:
John V. Sichi

Field Summary
private  ReferentialRuleTypeEnum action
           
private  String endName
           
private  Class superInterface
           
 
Constructor Summary
FarragoSessionDdlDropRule(String endName, Class superInterface, ReferentialRuleTypeEnum action)
          Creates a new FarragoSessionDdlDropRule object.
 
Method Summary
 ReferentialRuleTypeEnum getAction()
           
 String getEndName()
           
 Class getSuperInterface()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

superInterface

private final Class superInterface

action

private final ReferentialRuleTypeEnum action

endName

private final String endName
Constructor Detail

FarragoSessionDdlDropRule

public FarragoSessionDdlDropRule(String endName,
                                 Class superInterface,
                                 ReferentialRuleTypeEnum action)
Creates a new FarragoSessionDdlDropRule object.

Parameters:
endName - the end to which this rule applies
superInterface - a filter on the instance of the end to which the rule applies; if null, the rule applies to any object; otherwise, the object must be an instance of this class
action - what to do when this rule fires
Method Detail

getEndName

public String getEndName()

getSuperInterface

public Class getSuperInterface()

getAction

public ReferentialRuleTypeEnum getAction()