public class OwExprBooleanValue extends OwExprValue
The standard boolean value.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Modifier and Type | Field and Description |
|---|---|
static OwExprBooleanValue |
FALSE
Singleton instance of TRUE
|
static OwExprBooleanValue |
TRUE
Singleton instance of TRUE
|
| Modifier and Type | Method and Description |
|---|---|
OwExprValue |
accept(OwExprBinaryOperator binaryOperator_p,
OwExprBooleanValue v1_p)
Stage 2 binary operator visitor acceptance method
|
OwExprValue |
accept(OwExprBinaryOperator binaryOperator_p,
OwExprStringValue v1_p)
Stage 2 binary operator visitor acceptance method
|
OwExprValue |
accept(OwExprBinaryOperator binaryOperator_p,
OwExprValue v2_p)
Stage 1 binary operator visitor acceptance method
|
OwExprValue |
accept(OwExprUnaryOperator unaryOperator_p)
Unary operator visitor acceptance method
|
boolean |
equals(Object obj_p) |
boolean |
getBoolean() |
int |
hashCode() |
Object |
toJavaObject(Class javaSuperType_p)
Java class conversion method.
|
String |
toString() |
static OwExprBooleanValue |
value(boolean bool_p)
Singleton value instances accessor
|
static OwExprBooleanValue |
value(Boolean bool_p) |
accept, accept, accept, accept, at, fromJavaValue, fromJavaValue, function, getJavaType, getValuePropeties, hasProperty, length, propertypublic static final OwExprBooleanValue TRUE
public static final OwExprBooleanValue FALSE
public static final OwExprBooleanValue value(boolean bool_p)
public static final OwExprBooleanValue value(Boolean bool_p)
public OwExprValue accept(OwExprBinaryOperator binaryOperator_p, OwExprValue v2_p) throws OwExprEvaluationException
OwExprValueaccept in class OwExprValuebinaryOperator_p - binary operator visitorv2_p - right side operator valueOwExprValueOwExprEvaluationException - if the operation fails for any reason (unsupported operand types ,
incompatible operands, unimplemented operation or operation failure at evaluation time)public OwExprValue accept(OwExprBinaryOperator binaryOperator_p, OwExprBooleanValue v1_p) throws OwExprEvaluationException
OwExprValueaccept in class OwExprValuebinaryOperator_p - binary operator visitorv1_p - lef side operator valueOwExprValueOwExprEvaluationException - if the operation fails for any reason (unsupported operand types ,
incompatible operands, unimplemented operation or operation failure at evaluation time)public OwExprValue accept(OwExprBinaryOperator binaryOperator_p, OwExprStringValue v1_p) throws OwExprEvaluationException
OwExprValueaccept in class OwExprValuebinaryOperator_p - binary operator visitorv1_p - lef side operator valueOwExprValueOwExprEvaluationException - if the operation fails for any reason (unsupported operand types ,
incompatible operands, unimplemented operation or operation failure at evaluation time)public OwExprValue accept(OwExprUnaryOperator unaryOperator_p) throws OwExprEvaluationException
OwExprValueaccept in class OwExprValueunaryOperator_p - binary operator visitorOwExprValueOwExprEvaluationException - if the operation fails for any reason (unsupported operand types ,
incompatible operands, unimplemented operation or operation failure at evaluation time)public boolean getBoolean()
public Object toJavaObject(Class javaSuperType_p) throws OwExprEvaluationException
OwExprValuetoJavaObject in class OwExprValuejavaSuperType_p - the requested java super type
The returned type should be a subclass of this type.
This is necessary for values having more than one possible java peers
such as OwExprNumericValue's Integer and Double support.OwExprEvaluationExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.