com.ibm.itim.dataservices.model
Class LifecycleRule

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.LifecycleRule

public class LifecycleRule
extends java.lang.Object

Class that represents a lifecycle rule associated with an object profile. The lifecycle rule is defined by a trigger and an operation to execute as a result of that trigger. The operation is a reference only to an operation defined for the same object profile the rule is defined for.


Constructor Summary
LifecycleRule()
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the lifecycle rule.
 java.lang.String getOperation()
          Returns the name of the operation executed by the lifecycle rule.
 java.lang.Object getTrigger()
          Returns the trigger condition of the rule.
 void setName(java.lang.String name)
          Changes the name of the lifecycle rule.
 void setOperation(java.lang.String operation)
          Changes the name of the operation executed by the lifecycle rule.
 void setTrigger(java.lang.Object trigger)
          Changes the trigger condition of the rule.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleRule

public LifecycleRule()
Method Detail

getName

public java.lang.String getName()
Returns the name of the lifecycle rule.
Returns:
Name of the lifecycle rule.

setName

public void setName(java.lang.String name)
Changes the name of the lifecycle rule.
Parameters:
name - Name of the lifecycle rule.

getTrigger

public java.lang.Object getTrigger()
Returns the trigger condition of the rule.
Returns:
Object representing the trigger condition. The supported objects are Schedulable objects (see Scheduling package) and the DataTrigger object.

setTrigger

public void setTrigger(java.lang.Object trigger)
Changes the trigger condition of the rule.
Parameters:
trigger - Object representing the trigger condition. The supported objects are Schedulable objects (see Scheduling package) and the DataTrigger object.

getOperation

public java.lang.String getOperation()
Returns the name of the operation executed by the lifecycle rule.
Returns:
Name of the lifecycle rule operation.

setOperation

public void setOperation(java.lang.String operation)
Changes the name of the operation executed by the lifecycle rule.
Parameters:
operation - Name of the lifecycle rule operation.