oracle.panama.alert
Interface AlertConditionMeta

All Superinterfaces:
java.io.Serializable

public interface AlertConditionMeta
extends java.io.Serializable

Interface provides accessor methods for the condition meta data for each condition belonging to an alert service or master alert service


Method Summary
TypeMethod
 java.lang.String getCaption()
          get the caption for this condition
 java.lang.String getConditionDefaultValue()
          Returns the default value of the condition
 java.lang.String getConditionName()
           
 java.lang.String getConditionParamName()
          Returns the condition param name a.k.a trigger name
 java.lang.String getConditionParamType()
          get the condition param type
 AlertConditionType getConditionType()
          Returns the condition type
 long getId()
          Get id for the condition meta data
 FeedMetaData getTriggerParameter()
           
 org.w3c.dom.Element getXML()
          Get the condition information in XML format
 void save()
          Commits the changes to the persistent store
 void setCaption(java.lang.String newCaption)
          set the caption for this condition
 void setConditionDefaultValue(java.lang.String condValue)
          Sets the condition default value
 void setConditionType(AlertConditionType condType)
          Set the condition type
 

Method Detail

getId

public long getId()
Get id for the condition meta data
Returns:
long the id

getConditionName

public java.lang.String getConditionName()

getConditionType

public AlertConditionType getConditionType()
Returns the condition type
Returns:
AlertConditionType The alert Condition type
See Also:
AlertCondtionType

setConditionType

public void setConditionType(AlertConditionType condType)
Set the condition type
Parameters:
condType - AlertConditionType object to set as

getConditionDefaultValue

public java.lang.String getConditionDefaultValue()
Returns the default value of the condition
Returns:
String The default value

setConditionDefaultValue

public void setConditionDefaultValue(java.lang.String condValue)
Sets the condition default value
Parameters:
condValue - the condition default value

save

public void save()
          throws PanamaException
Commits the changes to the persistent store
Throws:
PanamaException - exception thrown when commit failes

getConditionParamName

public java.lang.String getConditionParamName()
Returns the condition param name a.k.a trigger name
Returns:
String the condition param name a.k.a trigger name

getConditionParamType

public java.lang.String getConditionParamType()
get the condition param type
Returns:
String the condition param type i.e. NUMBER, TEXT
See Also:
AlertConditionType

getCaption

public java.lang.String getCaption()
get the caption for this condition
Returns:
caption for the condition

setCaption

public void setCaption(java.lang.String newCaption)
set the caption for this condition
Parameters:
newCaption - for the condition

getTriggerParameter

public FeedMetaData getTriggerParameter()

getXML

public org.w3c.dom.Element getXML()
Get the condition information in XML format
Returns:
Element condition in XML format