Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


org.eclipse.emf.query.conditions.booleans
Class BooleanCondition

java.lang.Object
  extended by 

org.eclipse.emf.query.conditions.Condition
      extended by 

org.eclipse.emf.query.conditions.DataTypeCondition<
Boolean>
          extended by 
org.eclipse.emf.query.conditions.booleans.BooleanCondition

public class BooleanCondition
extends DataTypeCondition< Boolean>

A Condition object that tests for Boolean arguments. The arguments being evaluated are adapted to a Boolean first using a BooleanAdapter and then compared to the initialization value of this BooleanCondition. It evaluates to true when values are equal


Field Summary
 
Fields inherited from class org.eclipse.emf.query.conditions. DataTypeCondition
adapter, value
 
Fields inherited from class org.eclipse.emf.query.conditions. Condition
FALSE, TRUE
 
Constructor Summary
BooleanCondition (boolean booleanValue)
          Constructs this BooleanCondition with a boolean value to test for.
BooleanCondition (boolean booleanValue, BooleanAdapter adapter)
          Constructs this BooleanCondition with a boolean value to test for.
BooleanCondition (boolean booleanValue, IDataTypeAdapter< Boolean> adapter)
          Constructs this BooleanCondition with a boolean value to test for.
 
Method Summary
 
Methods inherited from class org.eclipse.emf.query.conditions. DataTypeCondition
isSatisfied
 
Methods inherited from class org.eclipse.emf.query.conditions. Condition
AND, EQUIVALENT, IMPLIES, OR, XOR
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanCondition

public BooleanCondition(boolean booleanValue)
Constructs this BooleanCondition with a boolean value to test for. It uses the BooleanAdapter.DEFAULT adapter to handle the simplest case when argument objects are known to be instances of Boolean class

Parameters:
booleanValue - The initialization value of this Condition to use in testing argument objects for equality.

BooleanCondition

public BooleanCondition(boolean booleanValue,
                        
IDataTypeAdapter<
Boolean> adapter)
Constructs this BooleanCondition with a boolean value to test for. It uses the argument BooleanAdapter adapter to adapt argument objects to Boolean objects in order to do the comparison

Parameters:
booleanValue - The initialization value of this Condition to use in testing argument objects for equality.
adapter - The generic IDataTypeAdapter to use to extract a Boolean representation of the argument object when evaluating it.
Since:
1.2

BooleanCondition

public BooleanCondition(boolean booleanValue,
                        
BooleanAdapter adapter)
Constructs this BooleanCondition with a boolean value to test for. It uses the argument BooleanAdapter adapter to adapt argument objects to Boolean objects in order to do the comparison

Parameters:
booleanValue - The initialization value of this Condition to use in testing argument objects for equality.
adapter - The BooleanAdapter to use to extract a Boolean representation of the argument object when evaluating it.

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire