| 
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bmc.arsys.api.FunctionAssignInfo
public class FunctionAssignInfo
The FunctionAssignInfo class specifies a function return value to
 assign in a Set Fields action.
| Constructor Summary | |
|---|---|
FunctionAssignInfo()
constructor  | 
|
FunctionAssignInfo(int functionCode,
                   List<AssignInfo> parameterList)
 | 
|
| Method Summary | |
|---|---|
 Object | 
clone()
Clone implementation that returns an Object with data cloned from self.  | 
 boolean | 
equals(Object obj)
Use this method for checking equality.  | 
 int | 
getFunctionCode()
Returns type of function performed.  | 
 int | 
getNumItems()
Returns number of input parameters.  | 
 List<AssignInfo> | 
getParameterList()
Returns parameter values used.  | 
static int | 
getParamType(int funcCode,
             int paramIndx)
Returns function parameter data type given the function code and argument index  | 
static int | 
getParamType(String function,
             int paramIndx)
Returns function parameter data type given the function name and argument index  | 
 int | 
hashCode()
Returns the hash code value for this instance of the current class.  | 
 void | 
setFunctionCode(int functionCode)
Sets type of function to perform.  | 
 void | 
setNumItems(int numItems)
Sets number of input parameters.  | 
 void | 
setParameterList(List<AssignInfo> parameterList)
Sets parameter values to use.  | 
static int | 
toFuncCode(String function)
Returns the function code given the function name  | 
static String | 
toFuncName(int code)
Returns the function name given the function code  | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public FunctionAssignInfo()
public FunctionAssignInfo(int functionCode,
                          List<AssignInfo> parameterList)
| Method Detail | 
|---|
public int getFunctionCode()
public void setFunctionCode(int functionCode)
functionCode - Possible constants values include the following:
 AR_FUNCTION_DATE
 AR_FUNCTION_TIME
 AR_FUNCTION_MONTH
 AR_FUNCTION_DAY
 AR_FUNCTION_YEAR
 AR_FUNCTION_WEEKDAY
 AR_FUNCTION_HOUR
 AR_FUNCTION_MINUTE
 AR_FUNCTION_SECOND
 AR_FUNCTION_TRUNC
 AR_FUNCTION_ROUND
 AR_FUNCTION_CONVERT
 AR_FUNCTION_LENGTH
 AR_FUNCTION_UPPER
 AR_FUNCTION_LOWER
 AR_FUNCTION_SUBSTR
 AR_FUNCTION_LEFT
 AR_FUNCTION_RIGHT
 AR_FUNCTION_LTRIM
 AR_FUNCTION_RTRIM
 AR_FUNCTION_LPAD
 AR_FUNCTION_RPAD
 AR_FUNCTION_REPLACE
 AR_FUNCTION_STRSTR
 AR_FUNCTION_MIN
 AR_FUNCTION_MAX
 AR_FUNCTION_COLSUM
 AR_FUNCTION_COLCOUNT
 AR_FUNCTION_COLAVG
 AR_FUNCTION_COLMIN
 AR_FUNCTION_COLMAX
 AR_FUNCTION_DATEADD
 AR_FUNCTION_DATEDIFF
 AR_FUNCTION_DATENAME
 AR_FUNCTION_DATENUM
 AR_FUNCTION_CURRCONVERT
 AR_FUNCTION_CURRSETDATE
 AR_FUNCTION_CURRSETTYPE
 AR_FUNCTION_CURRSETVALUE
 AR_FUNCTION_LENGTHC
 AR_FUNCTION_LEFTC
 AR_FUNCTION_RIGHTC
 AR_FUNCTION_LPADC
 AR_FUNCTION_RPADC
 AR_FUNCTION_STRSTRC
 AR_FUNCTION_SUBSTRC
 AR_FUNCTION_ENCRYPT
 AR_FUNCTION_DECRYPT
 AR_MAX_FUNCTION_USED
 public int getNumItems()
public void setNumItems(int numItems)
public List<AssignInfo> getParameterList()
public void setParameterList(List<AssignInfo> parameterList)
public Object clone()
             throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic static int toFuncCode(String function)
function - 
public static String toFuncName(int code)
                         throws ARException
int - 
ARException
public static int getParamType(int funcCode,
                               int paramIndx)
funcCode - paramIndx - 
public static int getParamType(String function,
                               int paramIndx)
function - paramIndx - 
  | 
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||