org.ujac.util.exi
Interface ExpressionOperation

All Known Implementing Classes:
BaseDateType.BeginOfYearOperation, BaseDateType.DecrementDayOperation, BaseDateType.DecrementMonthOperation, BaseDateType.DecrementYearOperation, BaseDateType.EndOfYearOperation, BaseDateType.EqualOperation, BaseDateType.FormatOperation, BaseDateType.GetDayOperation, BaseDateType.GetMonthOperation, BaseDateType.GetYearOperation, BaseDateType.GreaterEqualOperation, BaseDateType.GreaterOperation, BaseDateType.IncrementDayOperation, BaseDateType.IncrementMonthOperation, BaseDateType.IncrementYearOperation, BaseDateType.LessEqualOperation, BaseDateType.LessOperation, BaseDateType.MaxOperation, BaseDateType.MinOperation, BaseDateType.NextUltimoOperation, BaseDateType.NotEqualOperation, BaseDateType.PreviousUltimoOperation, BaseDateType.ReferenceOperation, BaseDateType.SetDayOperation, BaseDateType.SetMonthOperation, BaseDateType.SetYearOperation, BaseExpressionOperation, BaseNumberType.FormatOperation, BaseType.EqualOperation, BaseType.InstanceofOperation, BaseType.NotEqualOperation, BaseType.ObjectDefinedOperation, BaseType.ObjectNotDefinedOperation, BaseType.ToStringOperation, BooleanType.AndOperation, BooleanType.ConditionOperation, BooleanType.EqualOperation, BooleanType.NotEqualOperation, BooleanType.NotOperation, BooleanType.OrOperation, ByteArrayType.GetOperation, ByteArrayType.IsEmptyOperation, ByteArrayType.NotEmptyOperation, ByteArrayType.SizeOperation, ByteType.AbsOperation, ByteType.AddOperation, ByteType.DivOperation, ByteType.EqualOperation, ByteType.GreaterEqualOperation, ByteType.GreaterOperation, ByteType.LessEqualOperation, ByteType.LessOperation, ByteType.MaxOperation, ByteType.MinOperation, ByteType.ModOperation, ByteType.MulOperation, ByteType.NotEqualOperation, ByteType.SubOperation, CharArrayType.GetOperation, CharArrayType.IsEmptyOperation, CharArrayType.NotEmptyOperation, CharArrayType.SizeOperation, CharType.AddOperation, CharType.EqualOperation, CharType.GreaterEqualOperation, CharType.GreaterOperation, CharType.LessEqualOperation, CharType.LessOperation, CharType.MaxOperation, CharType.MinOperation, CharType.NotEqualOperation, CollectionType.ContainsOperation, CollectionType.GetOperation, CollectionType.IsEmptyOperation, CollectionType.NotContainsOperation, CollectionType.NotEmptyOperation, CollectionType.SizeOperation, CollectionType.SortOperation, ConditionResultHolderType.ElseOperation, DefaultType.PropertyDefinedOperation, DefaultType.ReferenceOperation, DoubleArrayType.GetOperation, DoubleArrayType.IsEmptyOperation, DoubleArrayType.NotEmptyOperation, DoubleArrayType.SizeOperation, DoubleType.AbsOperation, DoubleType.AddOperation, DoubleType.DivOperation, DoubleType.EqualOperation, DoubleType.GreaterEqualOperation, DoubleType.GreaterOperation, DoubleType.LessEqualOperation, DoubleType.LessOperation, DoubleType.MaxOperation, DoubleType.MinOperation, DoubleType.MulOperation, DoubleType.NotEqualOperation, DoubleType.SubOperation, FloatArrayType.GetOperation, FloatArrayType.IsEmptyOperation, FloatArrayType.NotEmptyOperation, FloatArrayType.SizeOperation, FloatType.AbsOperation, FloatType.AddOperation, FloatType.DivOperation, FloatType.EqualOperation, FloatType.GreaterEqualOperation, FloatType.GreaterOperation, FloatType.LessEqualOperation, FloatType.LessOperation, FloatType.MaxOperation, FloatType.MinOperation, FloatType.MulOperation, FloatType.NotEqualOperation, FloatType.SubOperation, IntArrayType.GetOperation, IntArrayType.IsEmptyOperation, IntArrayType.NotEmptyOperation, IntArrayType.SizeOperation, IntegerType.AbsOperation, IntegerType.AddOperation, IntegerType.DivOperation, IntegerType.EqualOperation, IntegerType.GreaterEqualOperation, IntegerType.GreaterOperation, IntegerType.LessEqualOperation, IntegerType.LessOperation, IntegerType.MaxOperation, IntegerType.MinOperation, IntegerType.ModOperation, IntegerType.MulOperation, IntegerType.NotEqualOperation, IntegerType.SubOperation, LongArrayType.GetOperation, LongArrayType.IsEmptyOperation, LongArrayType.NotEmptyOperation, LongArrayType.SizeOperation, LongType.AbsOperation, LongType.AddOperation, LongType.DivOperation, LongType.EqualOperation, LongType.GreaterEqualOperation, LongType.GreaterOperation, LongType.LessEqualOperation, LongType.LessOperation, LongType.MaxOperation, LongType.MinOperation, LongType.ModOperation, LongType.MulOperation, LongType.NotEqualOperation, LongType.SubOperation, MapEntryType.ReferenceOperation, MapType.ContainsKeyOperation, MapType.EntriesOperation, MapType.GetOperation, MapType.IsEmptyOperation, MapType.NotContainsKeyOperation, MapType.NotEmptyOperation, MapType.SizeOperation, NullValueType.AbsOperation, NullValueType.AddOperation, NullValueType.DivOperation, NullValueType.EqualOperation, NullValueType.FormatOperation, NullValueType.GreaterEqualOperation, NullValueType.GreaterOperation, NullValueType.IsEmptyOperation, NullValueType.LessEqualOperation, NullValueType.LessOperation, NullValueType.MaxOperation, NullValueType.MinOperation, NullValueType.MulOperation, NullValueType.NotEmptyOperation, NullValueType.NotEqualOperation, NullValueType.PropertyDefinedOperation, NullValueType.ReferenceOperation, NullValueType.SizeOperation, NullValueType.SubOperation, ObjectArrayType.GetOperation, ObjectArrayType.IsEmptyOperation, ObjectArrayType.NotEmptyOperation, ObjectArrayType.SizeOperation, ResourceBundleType.ContainsKeyOperation, ResourceBundleType.GetOperation, ResourceBundleType.IsEmptyOperation, ResourceBundleType.NotContainsKeyOperation, ResourceBundleType.NotEmptyOperation, RowType.ColumnCountOperation, RowType.FormatValueOperation, RowType.HasColumnOperation, RowType.HasRowsOperation, RowType.IsVisibleOperation, RowType.NoRowsOperation, RowType.ReferenceOperation, RowType.RowCountOperation, RowType.RowTypeOperation, ShortArrayType.GetOperation, ShortArrayType.IsEmptyOperation, ShortArrayType.NotEmptyOperation, ShortArrayType.SizeOperation, ShortType.AbsOperation, ShortType.AddOperation, ShortType.DivOperation, ShortType.EqualOperation, ShortType.GreaterEqualOperation, ShortType.GreaterOperation, ShortType.LessEqualOperation, ShortType.LessOperation, ShortType.MaxOperation, ShortType.MinOperation, ShortType.ModOperation, ShortType.MulOperation, ShortType.NotEqualOperation, ShortType.SubOperation, StringType.CapitalizeOperation, StringType.ConcatOperation, StringType.EqualOperation, StringType.IsEmptyOperation, StringType.LengthOperation, StringType.LikeOperation, StringType.LowerCaseOperation, StringType.NotEmptyOperation, StringType.NotEqualOperation, StringType.NotLikeOperation, StringType.SubstringOperation, StringType.TrimOperation, StringType.UpperCaseOperation, TableType.ColumnCountOperation, TableType.ColumnsOperation, TableType.FormatValueOperation, TableType.GetRowOperation, TableType.HasColumnOperation, TableType.HasRowsOperation, TableType.NoRowsOperation, TableType.ReferenceOperation, TableType.RotateOperation, TableType.RowCountOperation, TableType.VisibleColumnsOperation

public interface ExpressionOperation

Name: ExpressionOperation
Description: The interface for expression operations.

Author:
lauerc

Method Summary
 Object evaluate(ExpressionTuple expr, ExpressionContext ctx)
          Evaluates the given values.
 String getDescription()
          Gets a description for the operation.
 String getExamples()
          Gets examples for the item.
 

Method Detail

evaluate

Object evaluate(ExpressionTuple expr,
                ExpressionContext ctx)
                throws ExpressionException
Evaluates the given values.

Parameters:
expr - The expression tuple to evaluate.
ctx - The expression context.
Returns:
The result of the tuple evaluation.
Throws:
ExpressionException - If the evaluation failed.

getDescription

String getDescription()
Gets a description for the operation.

Returns:
The item's description.

getExamples

String getExamples()
Gets examples for the item.

Returns:
one ore more examples for the item's usage..


Copyright © 2003-2004 UJAC.org. All Rights Reserved.