org.databene.benerator.script
Class ConditionalAndExpression

java.lang.Object
  extended by org.databene.commons.expression.BinaryExpression<java.lang.Boolean>
      extended by org.databene.benerator.script.ConditionalAndExpression
All Implemented Interfaces:
org.databene.commons.Expression<java.lang.Boolean>

public class ConditionalAndExpression
extends org.databene.commons.expression.BinaryExpression<java.lang.Boolean>

Boolean Expression that combines the result of two other boolean expressions with a logical AND.

Created: 24.11.2010 14:04:38

Since:
0.6.4
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.commons.expression.BinaryExpression
term1, term2
 
Constructor Summary
ConditionalAndExpression(org.databene.commons.Expression<?> term1, org.databene.commons.Expression<?> term2)
           
 
Method Summary
 java.lang.Boolean evaluate(org.databene.commons.Context context)
           
 java.lang.String toString()
           
 
Methods inherited from class org.databene.commons.expression.BinaryExpression
isConstant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConditionalAndExpression

public ConditionalAndExpression(org.databene.commons.Expression<?> term1,
                                org.databene.commons.Expression<?> term2)
Method Detail

evaluate

public java.lang.Boolean evaluate(org.databene.commons.Context context)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.