Package com.bayesserver
Interface Expression
-
- All Known Subinterfaces:
DistributionExpression
,QueryExpression
- All Known Implementing Classes:
FunctionVariableExpression
,TableExpression
public interface Expression
Base interface for expressions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Expression
copy()
Creates a copy of the expression.ExpressionReturnType
getReturnType()
Gets the return type of the expression.String
getText()
Gets the expression text.void
setText(String value)
Sets the expression text.
-
-
-
Method Detail
-
copy
Expression copy()
Creates a copy of the expression. The new expression will not have an owner.- Returns:
- A copy of the expression.
-
getText
String getText()
Gets the expression text.
-
setText
void setText(String value)
Sets the expression text.
-
getReturnType
ExpressionReturnType getReturnType()
Gets the return type of the expression.
-
-