com.metamatrix.query.function.metadata
Class InvalidFunctionItem

java.lang.Object
  extended by com.metamatrix.query.report.ReportItem
      extended by com.metamatrix.query.function.metadata.InvalidFunctionItem
All Implemented Interfaces:
java.io.Serializable

public class InvalidFunctionItem
extends ReportItem

This is a specialized report item for reporting invalid function methods during function metadata validation. It is overrides ReportItem and adds an additional attribute with the method reference for the invalid method.

See Also:
Serialized Form

Field Summary
static java.lang.String INVALID_FUNCTION
          Report item type
 
Constructor Summary
InvalidFunctionItem()
          Constructor for InvalidFunctionItem.
InvalidFunctionItem(FunctionMethod method, java.lang.String message)
          Construct with invalid function object and exception.
 
Method Summary
 FunctionMethod getMethod()
          Gets the method.
 void setMethod(FunctionMethod method)
          Sets the method.
 
Methods inherited from class com.metamatrix.query.report.ReportItem
getMessage, getType, setMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INVALID_FUNCTION

public static final java.lang.String INVALID_FUNCTION
Report item type

See Also:
Constant Field Values
Constructor Detail

InvalidFunctionItem

public InvalidFunctionItem()
Constructor for InvalidFunctionItem.


InvalidFunctionItem

public InvalidFunctionItem(FunctionMethod method,
                           java.lang.String message)
Construct with invalid function object and exception.

Parameters:
method - Invalid function method object
message - Message describing invalid function
Method Detail

getMethod

public FunctionMethod getMethod()
Gets the method.

Returns:
Returns a FunctionMethod

setMethod

public void setMethod(FunctionMethod method)
Sets the method.

Parameters:
method - The method to set


Copyright © 2009. All Rights Reserved.