Type Boolean

All Supertypes:
OclAny

Predefined type Boolean
extends OclAny

The Boolean type the common true / false values.


Operation Summary
 Boolean =(Boolean rhs)
          True if this boolean is the same as rhs.
 Boolean <>(Boolean rhs)
          True if either this boolean or rhs is true, but not both.
 Boolean and(Boolean rhs)
          True if both this boolean or rhs are true.
 Boolean implies(Boolean rhs)
          True if this boolean is false, or if rhs is true.
 Boolean not
          True if this boolean is false.
 Boolean or(Boolean rhs)
          True if either this boolean or rhs is true.
 String toString
          A representative character string of this boolean.
 Boolean xor(Boolean rhs)
          True if either this boolean or rhs is true, but not both.
 
Operations inherited from type OclAny
=, <>, oclAsType, oclIsKindOf, oclIsTypeOf
 

Operations Detail

=

 public Boolean =(Boolean rhs)
True if this boolean is the same as rhs.

<>

 public Boolean <>(Boolean rhs)
True if either this boolean or rhs is true, but not both.

or

 public Boolean or(Boolean rhs)
True if either this boolean or rhs is true.

xor

 public Boolean xor(Boolean rhs)
True if either this boolean or rhs is true, but not both.

and

 public Boolean and(Boolean rhs)
True if both this boolean or rhs are true.

not

 public Boolean not
True if this boolean is false.

implies

 public Boolean implies(Boolean rhs)
True if this boolean is false, or if rhs is true.

toString

 public String toString
A representative character string of this boolean.


Copyright 1999-2002 ObjeXion Software SA. All rights reserved.