com.novell.zos.constraint
Interface BetweenConstraint

All Superinterfaces:
Constraint, Serializable

public interface BetweenConstraint
extends Constraint, Serializable

Binary Operator Constraints that have both a left and right side.


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 getBeginFactValue()
          Retrieve the fact name whose value is used right side of the operation if set with setBeginFactValue() otherwise this will return null.
 Object getBeginValue()
          Retrieve the value of the right side of the operation either directly if set as a value or by looking up the beginfactvalue.
 String getEndFactValue()
          Retrieve the fact name whose value is used right side of the operation if set with setEndFactValue() otherwise this will return null.
 Object getEndValue()
          Retrieve the value of the right side of the operation either directly if set as a value or by looking up the endfactvalue.
 String getFactName()
          Retrieve the fact name of the left side of the operation.
 void setBeginFactValue(String factName)
          Sets the fact name whose value is used in the right side of the operation and in doing so negates any previous setBeginValue() call.
 void setBeginValue(Object value)
          Sets the value of the right side of the operation and in doing so negates any previous setBeginFactValue() call.
 void setEndFactValue(String factName)
          Sets the fact name whose value is used in the right side of the operation and in doing so negates any previous setEndValue() call.
 void setEndValue(Object value)
          Sets the value of the right side of the operation and in doing so negates any previous setEndFactValue() call.
 void setFactName(String factname)
          Sets the fact name for the left side of the operation.
 
Methods inherited from interface com.novell.zos.constraint.Constraint
getReason, setReason, toString, toXmlDocument, validate
 

Method Detail

getFactName

String getFactName()
Retrieve the fact name of the left side of the operation.

Returns:
the fact name

setFactName

void setFactName(String factname)
Sets the fact name for the left side of the operation.

Parameters:
factname - the fact name

getBeginFactValue

String getBeginFactValue()
Retrieve the fact name whose value is used right side of the operation if set with setBeginFactValue() otherwise this will return null.

Returns:
the name of the fact

setBeginFactValue

void setBeginFactValue(String factName)
Sets the fact name whose value is used in the right side of the operation and in doing so negates any previous setBeginValue() call.

Parameters:
factName - the fact name

getBeginValue

Object getBeginValue()
Retrieve the value of the right side of the operation either directly if set as a value or by looking up the beginfactvalue.

Returns:
the right side begin value of the operation

setBeginValue

void setBeginValue(Object value)
Sets the value of the right side of the operation and in doing so negates any previous setBeginFactValue() call.

Parameters:
value - the right side value of the operation

getEndFactValue

String getEndFactValue()
Retrieve the fact name whose value is used right side of the operation if set with setEndFactValue() otherwise this will return null.

Returns:
the name of the fact

setEndFactValue

void setEndFactValue(String factName)
Sets the fact name whose value is used in the right side of the operation and in doing so negates any previous setEndValue() call.

Parameters:
factName - the fact name

getEndValue

Object getEndValue()
Retrieve the value of the right side of the operation either directly if set as a value or by looking up the endfactvalue.

Returns:
the right side end value of the operation

setEndValue

void setEndValue(Object value)
Sets the value of the right side of the operation and in doing so negates any previous setEndFactValue() call.

Parameters:
value - the right side value of the operation


Copyright 2008 Novell, Inc. All Rights Reserved.