|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.able.rules.AbleLifespan
This class defines the starting and ending conditions and duration for an AbleCorrelatioRule lifetime.
| Field Summary | |
|---|---|
static int |
DISCARD
Value of discard expiration type |
static int |
REPLACE
Value of replace correlation code |
static int |
TERMINATE
Value of terminate expiration type |
| Constructor Summary | |
|---|---|
AbleLifespan(java.lang.Integer id)
Construct a new Lifespan with the specified id Construct all data types and set startup to false. |
|
AbleLifespan(java.lang.String theName)
Construct a new Lifespan with the specified identifier. |
|
| Method Summary | |
|---|---|
void |
addKeyDesc(java.lang.String key)
add key to this lifespan keyBy list. |
java.util.HashMap |
getAliases()
Returns the mapping between the aliases to the event names |
java.lang.String |
getDesc()
Returns lifespan description. |
int |
getElement(java.lang.String desc)
Returns the place of the specified element in the array of elements used by expression tree to evaluate conditions. |
int |
getElementsNum()
Returns the number of elements in this lifespan. |
java.util.ArrayList |
getEventInitiators()
Returns the lifespan's eventInitiatores list |
java.util.ArrayList |
getEventTerminators()
Returns the lifespan's eventTerminators list |
long |
getExpirationInterval()
Returns expiration interval. |
int |
getExpirationIntervalType()
Returns lifespan expiration interval type mode. |
long |
getExpirationTime()
Returns expiration time. |
int |
getExpirationTimeType()
Returns lifespan expiration time type mode. |
java.lang.Integer |
getID()
Returns lifespan ID. |
java.util.Iterator |
getInitiatorIterator()
Returns iterator over this lifespan eventInitiators. |
java.lang.String |
getKeyDesc(int index)
Returns the key description at the specified position. |
int |
getKeysNum()
Returns the number of keys in this lifespan. |
boolean |
getStartup()
Returns true if lifespan initiates on startup. |
java.util.Iterator |
getTerminatorIterator()
Returns iterator over this lifespan eventTerminators. |
boolean |
hasExpire()
Returns true if this lifespan has expiration clause. |
boolean |
isModified()
Return the value of the modified flag |
void |
resetModified()
Reset the lifespan modification flag to false when the new definition becomes active |
void |
setAliases(java.util.HashMap aliases)
Set the lifespan aliases attribute |
void |
setDesc(java.lang.String desc)
Changes this lifespan description to be equal to the specified description. |
void |
setElements(java.util.HashMap elements)
chanaged the mapping between the description of the elements of this lifespan ( initiators, temrinators) to theirs place (index) in the instances array used for expressions, to be equal to the specified mapping. |
void |
setEventInitiators(java.util.ArrayList eventInitiators)
Changes this lifespan eventInitiatirs list to equal to the specified description |
void |
setEventTerminators(java.util.ArrayList eventTerminators)
Changes this lifespan eventTerminators list to equal to the specified description |
void |
setExpirationInterval(long expirationInterval)
Changes this lifespan expiration interval to be equal to the specified time. |
void |
setExpirationIntervalType(int expirationIntervalType)
Changes this lifespan expiration interval type to be equal to the specified type. |
void |
setExpirationTime(long expirationTime)
Changes this lifespan expiration time to be equal to the specified time. |
void |
setExpirationTimeType(int expirationTimeType)
Changes this lifespan expiration type to be equal to the specified type. |
void |
setModified()
Set the lifespan modification flag to true when the definition is modified online |
void |
setStartup(boolean startup)
Changes this lifespan startup flag to be equal to the specified flag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int REPLACE
public static final int TERMINATE
public static final int DISCARD
| Constructor Detail |
public AbleLifespan(java.lang.Integer id)
id - lifespan id;public AbleLifespan(java.lang.String theName)
theName - The lifespan identifier.| Method Detail |
public java.lang.Integer getID()
public java.lang.String getDesc()
public boolean getStartup()
public java.util.ArrayList getEventInitiators()
public java.util.ArrayList getEventTerminators()
public long getExpirationInterval()
public int getExpirationIntervalType()
public long getExpirationTime()
public int getExpirationTimeType()
public int getElement(java.lang.String desc)
desc - element description
public int getElementsNum()
public java.util.Iterator getInitiatorIterator()
public java.util.Iterator getTerminatorIterator()
public void setDesc(java.lang.String desc)
desc - the new description of this lifespanpublic void setEventInitiators(java.util.ArrayList eventInitiators)
eventInitiators - the specified list of initiatorspublic void setEventTerminators(java.util.ArrayList eventTerminators)
eventTerminators - the specified list of terminatorspublic void setStartup(boolean startup)
startup - the new startup flag of this lifespanpublic void setExpirationInterval(long expirationInterval)
expirationInterval - the new expiration interval of this lifespanpublic void setExpirationIntervalType(int expirationIntervalType)
expirationIntervalType - The new expiration interval type of this lifespan.public void setExpirationTime(long expirationTime)
expirationTime - the new expirationTime of this lifespanpublic void setExpirationTimeType(int expirationTimeType)
expirationTimeType - The new expiration time type of this lifespan.public void setModified()
public void setAliases(java.util.HashMap aliases)
aliases - - the attribute value to be setpublic void resetModified()
public boolean isModified()
public void addKeyDesc(java.lang.String key)
key - a key name of this lifespanpublic java.lang.String getKeyDesc(int index)
index - index of Key to return
public int getKeysNum()
public java.util.HashMap getAliases()
public void setElements(java.util.HashMap elements)
elements - The new elements mapping of this lifespan.public boolean hasExpire()
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||