|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.tuberlin.cs.cis.ocl.eval.instance.PredefinedInstance | +--de.tuberlin.cs.cis.ocl.eval.instance.OclAnyInstance | +--de.tuberlin.cs.cis.ocl.eval.instance.BooleanInstance
Represents an instance of the OCL type Boolean.
Field Summary | |
static BooleanInstance |
FALSE
Constant describing the boolean OCL value false |
static BooleanInstance |
TRUE
Constant describing the boolean OCL value true |
Constructor Summary | |
BooleanInstance(boolean value)
Constructs an instance of the OCL type Boolean via a Java boolean . |
|
BooleanInstance(java.lang.Boolean value)
Constructs an instance of the OCL type Boolean via a Java Boolean . |
Method Summary | |
OclBoolean |
and(OclBoolean b2)
Results in True if either this instance and b2 is true. |
static boolean |
booleanValue(OclBoolean b2)
Determines the Java boolean representation of an
OclBoolean value. |
boolean |
equals(java.lang.Object o)
|
OclBoolean |
implies(OclBoolean b2)
Results in True if this instance is false, or if b is true and b2 is true. |
OclBoolean |
not()
Results in True if this instance is false. |
OclBoolean |
or(OclBoolean b2)
Results in True if either this instance or b2 is true. |
OclBoolean |
xor(OclBoolean b2)
Results in True if either this instance or b2 is true, but not both. |
Methods inherited from class de.tuberlin.cs.cis.ocl.eval.instance.OclAnyInstance |
eq, neq, oclAsType, oclInState, oclIsKindOf, oclIsNew, oclIsTypeOf |
Methods inherited from class de.tuberlin.cs.cis.ocl.eval.instance.PredefinedInstance |
getRepresentation, getRuntimeType, getValue, hashCode, invoke, navigate, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.tuberlin.cs.cis.ocl.type.reflect.OclAny |
eq, neq, oclAsType, oclInState, oclIsKindOf, oclIsNew, oclIsTypeOf |
Field Detail |
public static final BooleanInstance TRUE
public static final BooleanInstance FALSE
Constructor Detail |
public BooleanInstance(java.lang.Boolean value)
Boolean
.
value
- a Java Boolean
.public BooleanInstance(boolean value)
boolean
.
value
- a Java boolean
.Method Detail |
public static boolean booleanValue(OclBoolean b2)
boolean
representation of an
OclBoolean
value.
b2
- an OclBoolean
value
boolean
representation of the
specified OCL Boolean value.public OclBoolean and(OclBoolean b2)
OclBoolean
and
in interface OclBoolean
b2
- an instance of Boolean (!= null)
public OclBoolean implies(OclBoolean b2)
OclBoolean
implies
in interface OclBoolean
b2
- b2 an instance of Boolean (!= null)
public OclBoolean not()
OclBoolean
not
in interface OclBoolean
public OclBoolean or(OclBoolean b2)
OclBoolean
or
in interface OclBoolean
b2
- an instance of Boolean (!= null)
public OclBoolean xor(OclBoolean b2)
OclBoolean
xor
in interface OclBoolean
b2
- an instance of Boolean (!= null)
public boolean equals(java.lang.Object o)
equals
in class OclAnyInstance
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |