Class DefaultExpression

Object
ExpressionAbstract
DefaultExpression
All Implemented Interfaces:
Expression
Direct Known Subclasses:
AttributeExpressionImpl, ClassificationFunction, FunctionExpressionImpl, LiteralExpressionImpl, MathExpressionImpl

public abstract class DefaultExpression extends ExpressionAbstract
Implements a default expression, with helpful variables and static methods.
Author:
Rob Hranac, Vision for New York
  • Constructor Details

    • DefaultExpression

      public DefaultExpression()
  • Method Details

    • isAttributeExpression

      protected static boolean isAttributeExpression(short expressionType)
      Checks to see if passed type is attribute.
      Parameters:
      expressionType - Type of expression for check.
      Returns:
      Whether or not this is an attribute expression type.
    • isMathExpression

      protected static boolean isMathExpression(short expressionType)
      Checks to see if passed type is math.
      Parameters:
      expressionType - Type of expression for check.
      Returns:
      Whether or not this is a math expression type.
    • isLiteralExpression

      protected static boolean isLiteralExpression(short expressionType)
      Checks to see if passed type is geometry.
      Parameters:
      expressionType - Type of expression for check.
      Returns:
      Whether or not this is a geometry expression type.
    • isGeometryExpression

      protected static boolean isGeometryExpression(short expressionType)
      Checks to see if passed type is geometry.
      Parameters:
      expressionType - Type of expression for check.
      Returns:
      Whether or not this is a geometry expression type.
    • isExpression

      public static boolean isExpression(short expressionType)
      Checks to see if passed type is geometry.
      Parameters:
      expressionType - Type of expression for check.
      Returns:
      Whether or not this is a geometry expression type.
    • isFunctionExpression

      protected static boolean isFunctionExpression(short expressionType)