com.novell.zos.jdl
Class MatchResult

java.lang.Object
  extended by com.novell.zos.jdl.MatchResult

public class MatchResult
extends java.lang.Object

MatchResult defines results of a Constraint match().

Instance of MatchResult is returned from match() operations. From the MatchResult you can retrieve a List of the IDs of the matching grid objects and the non-matching Grid Objects.


Method Summary
 java.lang.String getFailureReason(java.lang.String objectId)
          Retrieve the failure reason String.
 org.python.core.PyList getMatchObjects()
          Retrieve List of the IDs of the matching grid objects.
 org.python.core.PyList getNonMatchObjects()
          Retrieve List of the IDs of the non-matching grid objects.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMatchObjects

public org.python.core.PyList getMatchObjects()
Retrieve List of the IDs of the matching grid objects.

Returns:
List of IDs

getNonMatchObjects

public org.python.core.PyList getNonMatchObjects()
Retrieve List of the IDs of the non-matching grid objects.

Returns:
List of IDs

getFailureReason

public java.lang.String getFailureReason(java.lang.String objectId)
Retrieve the failure reason String.
Will be empty if reason string was not used in constraint definition.

Parameters:
objectId - ID of non-matching grid object
Returns:
reason string.


Copyright (c) 2011 Novell, Inc. All rights reserved.