com.novell.zos.constraint
Interface ContainsConstraint

All Superinterfaces:
BinaryConstraint, Constraint, Serializable

public interface ContainsConstraint
extends BinaryConstraint

Performs a simple set operation that returns true is the right side of the operation is found in the value set of the left side.
Supported match modes:


Field Summary
 
Fields inherited from interface com.novell.zos.constraint.BinaryConstraint
MATCH_MODE_EXACT, MATCH_MODE_GLOB, MATCH_MODE_REGEXP
 
Fields inherited from interface com.novell.zos.constraint.Constraint
TYPE_ACCEPT, TYPE_ALLOCATION, TYPE_CONTINUE, TYPE_DEFAULT, TYPE_PROVISION, TYPE_REPOSITORY, TYPE_RESOURCE, TYPE_START, TYPE_VMHOST, TYPES
 
Method Summary
 boolean getRhsAndMatchMode()
           
 void setRhsAndMatchMode(boolean mode)
          Set to true to combine RHS array with AND operation.
 
Methods inherited from interface com.novell.zos.constraint.BinaryConstraint
getFactName, getFactValue, getMatchMode, getValue, setFactName, setFactValue, setMatchMode, setValue
 
Methods inherited from interface com.novell.zos.constraint.Constraint
getReason, setReason, toString, toXmlDocument, validate
 

Method Detail

setRhsAndMatchMode

void setRhsAndMatchMode(boolean mode)
Set to true to combine RHS array with AND operation. Set to false to combine RHS array with OR operation.


getRhsAndMatchMode

boolean getRhsAndMatchMode()
Returns:
true if RHS arrays are combined with AND operation else false if combined with OR operation.


Copyright 2008 Novell, Inc. All Rights Reserved.