com.metamatrix.connector.metadata.index
Class MetadataInCriteria

java.lang.Object
  extended by com.metamatrix.connector.metadata.index.MetadataInCriteria
All Implemented Interfaces:
MetadataSearchCriteria

public class MetadataInCriteria
extends java.lang.Object
implements MetadataSearchCriteria

Since:
4.3

Constructor Summary
MetadataInCriteria(java.lang.String fieldName, java.util.Collection fieldValues)
          Constructor MetadataInCriteria
 
Method Summary
 java.lang.String getFieldFunction()
          Get the name of the function applied on the field part of criteria.
 java.lang.String getFieldName()
          Get the name of field used on criteria which gets matched against a literal.
 java.util.Collection getFieldValues()
          Get the value of field used on criteria which is a literal used as part of seach criteria.
 java.util.Collection getLiteralCriteria()
          Get a collection of MetadataLiteralCriteria objects that represent this MetadataInCriteria object.
 boolean hasFieldWithCaseFunctions()
          Return true if any case functions are involved on the fieldName of this criteria
 void setFieldFunction(java.lang.String fieldFunction)
          Set the name of the function applied on the field part of criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataInCriteria

public MetadataInCriteria(java.lang.String fieldName,
                          java.util.Collection fieldValues)
Constructor MetadataInCriteria

Parameters:
fieldName - The name of field used on criteria which gets matched against a literal.
fieldValue - The value of field used on criteria which is a literal used as part of seach criteria.
Since:
4.3
Method Detail

getFieldFunction

public java.lang.String getFieldFunction()
Get the name of the function applied on the field part of criteria.

Returns:
returns the fieldFunction.
Since:
4.3

setFieldFunction

public void setFieldFunction(java.lang.String fieldFunction)
Set the name of the function applied on the field part of criteria.

Parameters:
fieldFunction - The fieldFunction to set.
Since:
4.3

getFieldName

public java.lang.String getFieldName()
Get the name of field used on criteria which gets matched against a literal.

Returns:
returns the fieldName.
Since:
4.3

getFieldValues

public java.util.Collection getFieldValues()
Get the value of field used on criteria which is a literal used as part of seach criteria.

Returns:
returns the fieldValue.
Since:
4.3

hasFieldWithCaseFunctions

public boolean hasFieldWithCaseFunctions()
Return true if any case functions are involved on the fieldName of this criteria

Returns:
true if there are any functions else false.
Since:
4.3

getLiteralCriteria

public java.util.Collection getLiteralCriteria()
Get a collection of MetadataLiteralCriteria objects that represent this MetadataInCriteria object.

Returns:
Collection of MetadataLiteralCriteria
Since:
4.3


Copyright © 2009. All Rights Reserved.