Package com.bayesserver
Interface Expression
-
- All Known Subinterfaces:
DistributionExpression,QueryExpression
- All Known Implementing Classes:
FunctionVariableExpression,TableExpression
public interface ExpressionBase interface for expressions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Expressioncopy()Creates a copy of the expression.ExpressionReturnTypegetReturnType()Gets the return type of the expression.StringgetText()Gets the expression text.voidsetText(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.
-
-