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:


Nested Class Summary
static class ContainsConstraint.ContainsMode
           
 
Field Summary
static EnumSet AND_OR
           
 
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_AUTHORIZE, TYPE_CONTINUE, TYPE_DEFAULT, TYPE_HEALTH, TYPE_PROVISION, TYPE_REPOSITORY, TYPE_RESET, TYPE_RESOURCE, TYPE_START, TYPE_TRIGGER, TYPE_VMHOST, TYPES
 
Method Summary
 ContainsConstraint.ContainsMode getContainsMode()
           
 boolean getRhsAndMatchMode()
          Deprecated. use getMode
 void setContainsMode(ContainsConstraint.ContainsMode mode)
           
 void setRhsAndMatchMode(boolean mode)
          Deprecated. use setMode Set to true to combine RHS array with AND operation. Set to false to combine RHS array with OR 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
 

Field Detail

AND_OR

static final EnumSet AND_OR
Method Detail

setRhsAndMatchMode

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


getRhsAndMatchMode

boolean getRhsAndMatchMode()
Deprecated. use getMode

Returns:
true if RHS arrays are combined with AND operation else false if combined with OR operation.

setContainsMode

void setContainsMode(ContainsConstraint.ContainsMode mode)

getContainsMode

ContainsConstraint.ContainsMode getContainsMode()


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