com.ibm.carma.model.util
Class CAFUtils

java.lang.Object
  extended by com.ibm.carma.model.util.CAFUtils

public class CAFUtils
extends java.lang.Object

Utility methods for working with the CARMA custom action configuration in a dynamic manner.

Since:
7.1

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
CAFUtils()
           
 
Method Summary
static java.lang.String[] getFieldKeys(java.lang.Object item)
          Returns an array of Field member info keys that should be displayed for the given item.
static java.lang.String[] getFieldNames(java.lang.Object item)
          Returns an array of Field displayable names that should be displayed for the given item.
static Field[] getFields(java.lang.Object item)
          Returns an array of Fields that should be displayed for the given item.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

CAFUtils

public CAFUtils()
Method Detail

getFields

public static Field[] getFields(java.lang.Object item)
Returns an array of Fields that should be displayed for the given item. The entire Field specification will be returned in the array.

Parameters:
item - the item to retrieve fields for
Returns:
array of Field specifications for the item

getFieldKeys

public static java.lang.String[] getFieldKeys(java.lang.Object item)
Returns an array of Field member info keys that should be displayed for the given item. Only the member info key for the field is returned.

Parameters:
item - the item to retrieve fields for
Returns:
array of Field member info keys for the item

getFieldNames

public static java.lang.String[] getFieldNames(java.lang.Object item)
Returns an array of Field displayable names that should be displayed for the given item. Only the displayable name for the field is returned.

Parameters:
item - the item to retrieve fields for
Returns:
array of displayable Field names for the item