org.hops.lg.pg
Class lg_util.LG_MarksList

java.lang.Object
  extended by org.hops.lg.pg.lg_util.LG_MarksList
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
lg_util

public class lg_util.LG_MarksList
extends java.lang.Object
implements java.lang.Comparable

this class stores the list of marks for a rule or pattern form


Field Summary
 java.lang.String domain
          applcation name
 java.util.ArrayList marks_list
          list of marks
 int ord
          order
 
Constructor Summary
lg_util.LG_MarksList()
           
 
Method Summary
 int compareTo(java.lang.Object o)
          implements comparable
 java.util.Set patterns()
          return the list of patterns that contains the marks list
 java.util.HashMap ReplacePatterns(java.lang.String ruleid, java.util.HashMap patsofpats)
          search patterns in the marks list.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

marks_list

public java.util.ArrayList marks_list
list of marks


ord

public int ord
order


domain

public java.lang.String domain
applcation name

Constructor Detail

lg_util.LG_MarksList

public lg_util.LG_MarksList()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
implements comparable

Specified by:
compareTo in interface java.lang.Comparable

patterns

public java.util.Set patterns()
return the list of patterns that contains the marks list


ReplacePatterns

public java.util.HashMap ReplacePatterns(java.lang.String ruleid,
                                         java.util.HashMap patsofpats)
search patterns in the marks list. If one of them is in the list of pattern of patterns, create news list of marks replacing the pattern with the patterns of the pattern.