com.novell.zos.constraint
Interface DefinedConstraint

All Superinterfaces:
Constraint, Serializable

public interface DefinedConstraint
extends Constraint

Evaluates to true only if the left side fact is defined in the match context. If the left side is not defined, this will evaluate to false.


Field Summary
 
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
 String getFactName()
          Retrieve the name of the fact used in the left hand side of the constraint.
 void setFactName(String factname)
          Set the left hand side of the constraint.
 
Methods inherited from interface com.novell.zos.constraint.Constraint
getReason, setReason, toString, toXmlDocument, validate
 

Method Detail

getFactName

String getFactName()
Retrieve the name of the fact used in the left hand side of the constraint.

Returns:
the fact name

setFactName

void setFactName(String factname)
Set the left hand side of the constraint.

Parameters:
factname - the fact name


Copyright 2008 Novell, Inc. All Rights Reserved.