dutils.digger
Interface ComparisonTransformation


public interface ComparisonTransformation

This interface defines a Transformation of two strings. Transformations can be chained. In digger instances of ComparisonTransformation are used for flags that represent String transformatios.


Field Summary
static int BOTH
           
static int ENTRIES_ONLY
           
static int SEARCHED_VALUE_ONLY
           
 
Method Summary
 java.lang.String flagIdentifier()
           
 java.lang.String getFlagDescriptor()
           
 int getTransformType()
           
 java.lang.String transformEntries(java.lang.String str)
          A method that transforms the entries that are being searched and compared with the searched value.
 java.lang.String transformSearchedValue(java.lang.String searchedVal)
          A method that transfomes the searched value.
 

Field Detail

BOTH

public static final int BOTH
See Also:
Constant Field Values

ENTRIES_ONLY

public static final int ENTRIES_ONLY
See Also:
Constant Field Values

SEARCHED_VALUE_ONLY

public static final int SEARCHED_VALUE_ONLY
See Also:
Constant Field Values
Method Detail

transformSearchedValue

public java.lang.String transformSearchedValue(java.lang.String searchedVal)
A method that transfomes the searched value.

Parameters:
searchedVal -
Returns:

transformEntries

public java.lang.String transformEntries(java.lang.String str)
A method that transforms the entries that are being searched and compared with the searched value.

Parameters:
str -
Returns:

getTransformType

public int getTransformType()
Returns:

flagIdentifier

public java.lang.String flagIdentifier()
Returns:

getFlagDescriptor

public java.lang.String getFlagDescriptor()
Returns: