|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.iquery.metadata.expr.StringExpression
@SASScope(value="ALL") @SubjectToChange public class StringExpression
Models expressions that are not modeled in more detail by other classes. In this sense, it is the "catch-all" model for expressions not modeled otherwise. For example, the scalar expression A*B can be modeled either with the FunctionCall class or with this class. (Note that a similar A>B is modeled by the SimpleConditionalExpression_Comparison class.) As we add more detailed modeling of our expressions, use of this class may diminish.
| Field Summary |
|---|
| Fields inherited from interface com.sas.iquery.metadata.business.ModelItem |
|---|
EVENT_OBJECT_PROPERTY_CHANGED |
| Constructor Summary | |
|---|---|
StringExpression()
|
|
| Method Summary | |
|---|---|
boolean |
containsAggregateFunction(ServerProperties serverProperties)
Checks to see if the text contains one of the server's aggregate functions |
int |
getExpressionType()
Returns an expression type from the values in class ExpressionTypes |
java.lang.String |
getText()
Returns the text for this expression. |
boolean |
isCalculatedItem()
Checks whether a StringExpression is a calculated item |
void |
setExpressionType(int expressionType)
Sets the expression type with a value from class ExpressionTypes |
void |
setText(java.lang.String text)
Sets the expression text to the given string |
| Methods inherited from interface com.sas.iquery.metadata.business.BusinessModelResourceReferencer |
|---|
getResources |
| Constructor Detail |
|---|
public StringExpression()
| Method Detail |
|---|
public java.lang.String getText()
throws MetadataException
MetadataExceptionpublic void setText(java.lang.String text)
text - the text string to set on this expressionpublic int getExpressionType()
getExpressionType in interface ExpressionInterfacepublic void setExpressionType(int expressionType)
expressionType - the given expression type to set
public boolean containsAggregateFunction(ServerProperties serverProperties)
throws MetadataException
serverProperties - - ServerProperties containing a server's function lists
MetadataExceptionpublic boolean isCalculatedItem()
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||