|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringExpression
The StringExpression
interface is provided to facilitate the
assembly of String
-valued expressions to be used in Java
generated for First-Use Assembly.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
VERSION
|
Fields inherited from interface com.pega.pegarules.pub.generator.Expression |
---|
EXPR_BOOLEAN, EXPR_INTEGER, EXPR_PROPERTY, EXPR_STRING |
Method Summary | |
---|---|
void |
append(StringExpression aOther)
Extends this StringExpression with the specified one. |
void |
appendExpression(java.lang.String aExpression)
Extends this StringExpression with the specified Java
expression, which is presumed to produce a String value. |
void |
appendString(java.lang.String aString)
Extends this StringExpression with the specified
String value. |
boolean |
isEmpty()
Indicates whether this instance represents an empty String . |
java.lang.String |
toString()
Provides the String value represented by this instance
if Expression.isLiteral() returns true . |
Methods inherited from interface com.pega.pegarules.pub.generator.Expression |
---|
addExpression, getType, isExpression, isLiteral |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
Method Detail |
---|
void append(StringExpression aOther)
StringExpression
with the specified one.
aOther
- StringExpression
to be appendedvoid appendExpression(java.lang.String aExpression)
StringExpression
with the specified Java
expression, which is presumed to produce a String
value.
aExpression
- Java expression to be appendedvoid appendString(java.lang.String aString)
StringExpression
with the specified
String
value.
aString
- String
value to be appendedboolean isEmpty()
String
.
true
if this instance represents an empty
String
java.lang.String toString()
String
value represented by this instance
if Expression.isLiteral()
returns true
.
toString
in class java.lang.Object
String
value of this instance
ExpressionException
- if this method is called when
isLiteral
returns false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |