Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Ticket #1106 (closed task: fixed)

Opened 1 year ago

Last modified 1 year ago

LogicExpression operands should implement an Operand interface

Reported by: tmdugan Assigned to: tmdugan
Priority: major Milestone:
Component: Logic Service Keywords:
Cc: Introductory Ticket: 0
Code Review Status:

Description

Operands of the LogicExpression should implement an Operand interface instead of just being generic objects. This makes Operand types much more precise. We would have OperandDate for Date, Duration would implement Operand, OperandNumeric for Float, Double, and Integer, OperandText for String, OperandConcept for Concept, LogicExpression implements Operand, and Result implements Operand. The operands in a LogicExpression become of type Operand instead of type Object. We would need to update all the instanceof processing of operands in the DAOs.

Change History

11/07/08 14:16:23 changed by djazayeri

  • status changed from new to closed.
  • resolution set to fixed.

Checked in code in [5936]. This doesn't have unit tests yet. First I'm going to write some integration tests on LogicCriteria, then come back to these.