|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_Like
public class SimpleConditionalExpression_Like
Models the LIKE simple conditional expression, which has the following abstract form:
<WhatToCompare> [NOT] LIKE <patternExpression>
Field Summary | |
---|---|
static java.lang.String |
EVENT_ESCAPE_CHAR_CHANGED
|
static java.lang.String |
EVENT_LIKE_PATTERN_CHANGED
|
static java.lang.String |
EVENT_MATCH_MANY_CHAR_CHANGED
|
static java.lang.String |
EVENT_MATCH_ONE_CHAR_CHANGED
|
static java.lang.String |
EVENT_WHAT_TO_COMPARE_CHANGED
|
Fields inherited from class com.sas.iquery.metadata.expr.relational.RelationalConditionalExpression |
---|
EVENT_FF_OVERRIDE_STATUS_CHANGED, EVENT_FF_OVERRIDE_VALUE_CHANGED |
Fields inherited from class com.sas.iquery.metadata.expr.ConditionalExpression |
---|
EVENT_NEGATION_CHANGED |
Fields inherited from interface com.sas.iquery.metadata.business.Base |
---|
EVENT_OBJECT_DEFINITION_CHANGED |
Fields inherited from interface com.sas.iquery.metadata.business.ModelItem |
---|
EVENT_OBJECT_PROPERTY_CHANGED |
Constructor Summary | |
---|---|
SimpleConditionalExpression_Like()
|
Method Summary | |
---|---|
java.lang.Character |
getEscapeCharacter()
Gets the escape character used by LIKE expression or NULL. |
java.lang.Character |
getMatchManyCharacter()
Gets the user set 'match many' character used by LIKE expression or null if the user has not set one and "%" will be used. |
java.lang.Character |
getMatchOneCharacter()
Gets the user set 'match one' character used by LIKE expression or null if the user has not set one and "_" will be used. |
ExpressionInterface |
getPatternExpression()
Gets the pattern expression for this LIKE expression. |
ExpressionInterface |
getWhatToCompare()
Gets the expression being tested for the pattern |
void |
setEscapeCharacter(java.lang.Character escape)
Sets the escape character portion of the LIKE expression. |
void |
setMatchManyCharacter(java.lang.Character matchMany)
Sets the match many character to use in the LIKE expression. |
void |
setMatchOneCharacter(java.lang.Character matchOne)
Sets the 'match one' character to use in the LIKE expression. |
void |
setPatternExpression(ExpressionInterface expr)
Sets the pattern expression portion of the LIKE expression. |
void |
setWhatToCompare(ExpressionInterface expr)
Sets the expression for what the pattern is to be tested against ( <whatToCompare> [NOT] LIKE <pattern> ). |
Methods inherited from class com.sas.iquery.metadata.expr.relational.RelationalConditionalExpression |
---|
getExpression |
Methods inherited from class com.sas.iquery.metadata.expr.ConditionalExpression |
---|
getExpressionType, isNegated, setIsNegated |
Methods inherited from interface com.sas.iquery.metadata.business.BusinessModelResourceReferencer |
---|
getResources |
Methods inherited from interface com.sas.iquery.metadata.PropertyChangeListenee |
---|
addListener, getListeners, removeListener |
Methods inherited from interface com.sas.iquery.metadata.business.UsabilityInterface |
---|
getReasonsUnusable, isUsableInQuery |
Field Detail |
---|
public static final java.lang.String EVENT_WHAT_TO_COMPARE_CHANGED
public static final java.lang.String EVENT_LIKE_PATTERN_CHANGED
public static final java.lang.String EVENT_ESCAPE_CHAR_CHANGED
public static final java.lang.String EVENT_MATCH_MANY_CHAR_CHANGED
public static final java.lang.String EVENT_MATCH_ONE_CHAR_CHANGED
Constructor Detail |
---|
public SimpleConditionalExpression_Like()
Method Detail |
---|
public void setWhatToCompare(ExpressionInterface expr)
<whatToCompare> [NOT] LIKE <pattern>
).
Property change events signalled:
expr
- left side of conditional expressionpublic ExpressionInterface getWhatToCompare()
public void setPatternExpression(ExpressionInterface expr)
Property change events signalled:
expr
- right side of conditional expressionpublic ExpressionInterface getPatternExpression()
public void setEscapeCharacter(java.lang.Character escape)
Property change events signalled:
escape
- character to be used in the LIKE expressionpublic java.lang.Character getEscapeCharacter()
public void setMatchManyCharacter(java.lang.Character matchMany)
Property change events signalled:
match
- many character to be used in the LIKE expression or null
to reset to defaultpublic java.lang.Character getMatchManyCharacter()
null
if the user has not set one and "%" will be used.
null
public void setMatchOneCharacter(java.lang.Character matchOne)
Property change events signalled:
'match
- one' character to be used in the LIKE expression or null
to reset to defaultpublic java.lang.Character getMatchOneCharacter()
null
if the user has not set one and "_" will be used.
null
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |