org.shapelogic.streamlogic
Class RulePredicate

java.lang.Object
  extended by org.shapelogic.streamlogic.RulePredicate

public final class RulePredicate
extends java.lang.Object

Simple data class for a rule that is a predicate with 4 inputs.
How should this be represented in a text file?
A: POINT_COUNT == 5
A POINT_COUNT == 5
A POINT_COUNT == 5;
A: POINT_COUNT == 5; LINE_COUNT = 5
! A POINT_COUNT == 5; LINE_COUNT = 5
A POINT_COUNT == 5; LINE_COUNT = 5
def A POINT_COUNT == 5; LINE_COUNT = 5
========== def A POINT_COUNT == 5 LINE_COUNT == 5
HOLE_COUNT == 1
===== def A POINT_COUNT == 5 && LINE_COUNT == 5
|| HOLE_COUNT == 1

Author:
Sami Badawi

Field Summary
 java.lang.String matchName
           
 java.lang.String predicate
           
 java.lang.String streamName
           
 double value
           
 
Constructor Summary
RulePredicate(java.lang.String matchName, java.lang.String streamName, java.lang.String predicate, double value)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matchName

public final java.lang.String matchName

streamName

public final java.lang.String streamName

predicate

public final java.lang.String predicate

value

public final double value
Constructor Detail

RulePredicate

public RulePredicate(java.lang.String matchName,
                     java.lang.String streamName,
                     java.lang.String predicate,
                     double value)


Copyright © 2009. All Rights Reserved.