com.remedy.arsys.api
Class ActiveLinkMacroInfo

java.lang.Object
  |
  +--com.remedy.arsys.api.ActiveLinkMacroInfo
All Implemented Interfaces:
java.lang.Cloneable

public class ActiveLinkMacroInfo
extends java.lang.Object
implements java.lang.Cloneable

The ActiveLinkMacroInfo class lets you specify a macro to run whenever the active link is executed. The macro can perform any operation or series of operations. If the macro contains parameters, you can specify values for those parameters, including a value from a field in the current request.


Constructor Summary
ActiveLinkMacroInfo()
          constructor
ActiveLinkMacroInfo(java.lang.String macroName, java.lang.String macroText, MacroParmInfo[] macroParms)
           
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality.
 NameID getMacroName()
          Returns name of the macro.
 MacroParmInfo[] getMacroParms()
          Returns an array of MacroParmInfo objects.
 java.lang.String getMacroText()
          Returns macro text.
 int hashCode()
          This method can be used to populate a hash table.
 void setMacroName(NameID macroName)
          Sets name of the macro.
 void setMacroParms(MacroParmInfo[] macroParms)
          Sets parameter information.
 void setMacroText(java.lang.String macroText)
          Sets macro text.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveLinkMacroInfo

public ActiveLinkMacroInfo()
constructor

ActiveLinkMacroInfo

public ActiveLinkMacroInfo(java.lang.String macroName,
                           java.lang.String macroText,
                           MacroParmInfo[] macroParms)
Method Detail

getMacroName

public NameID getMacroName()
Returns name of the macro.

setMacroName

public void setMacroName(NameID macroName)
Sets name of the macro.

getMacroText

public java.lang.String getMacroText()
Returns macro text.

setMacroText

public void setMacroText(java.lang.String macroText)
Sets macro text.

getMacroParms

public MacroParmInfo[] getMacroParms()
Returns an array of MacroParmInfo objects.

setMacroParms

public void setMacroParms(MacroParmInfo[] macroParms)
Sets parameter information.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality. The result is true if and only if the argument is not null, is of same type and represents the same content.
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
This method can be used to populate a hash table. Implicitly used method to test equality of objects.
Overrides:
hashCode in class java.lang.Object