public class OwExprStringValue extends OwExprValue
The string value implementation.
The implementation relays on the String Java implementation.
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
| Constructor and Description |
|---|
OwExprStringValue(String string_p)
Constructor
|
OwExprStringValue(String string_p,
Class<?> javaType_p)
Constructor
|
| 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,
OwExprDateValue v1_p)
Stage 2 binary operator visitor acceptance method
|
OwExprValue |
accept(OwExprBinaryOperator binaryOperator_p,
OwExprNumericValue 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,
OwExprTimeValue v1_p)
Stage 2 binary operator visitor acceptance method
|
OwExprValue |
accept(OwExprBinaryOperator binaryOperator_p,
OwExprValue v2_p)
Stage 1 binary operator visitor acceptance method
|
boolean |
equals(Object obj_p) |
protected String |
escapeSQLToRegExp(String sqlLike_p)
SQL to Java regular expression pattern conversion and escaping method.
|
String |
getString() |
protected Map |
getValuePropeties()
Overridable default value properties factory method
|
int |
hashCode() |
boolean |
like(String aString_p)
SQL Like function implementation
|
Object |
toJavaObject(Class javaSuperType_p)
Java class conversion method.
|
String |
toString() |
accept, accept, at, fromJavaValue, fromJavaValue, function, getJavaType, hasProperty, length, propertypublic OwExprStringValue(String string_p)
string_p - inner String valuepublic final 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 final OwExprValue accept(OwExprBinaryOperator binaryOperator_p, OwExprNumericValue 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 final 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(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, OwExprDateValue 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, OwExprTimeValue 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 String getString()
public final Object toJavaObject(Class javaSuperType_p) throws OwExprEvaluationException
OwExprValuetoJavaObject in class OwExprValuejavaSuperType_p - OwExprEvaluationExceptionprotected Map getValuePropeties()
OwExprValuegetValuePropeties in class OwExprValueMap of OwExprProperty for this valuepublic boolean like(String aString_p)
aString_p - the like matching patterntrue if this string matches the given pattern false otherwiseCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.