IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.model
Interface IResolver

All Known Implementing Classes:
DefaultResolver

public interface IResolver

This interface is used to resolve the expression language.


Method Summary
 int getIndex(java.lang.String next)
          Return the index value from the property expression or -1.
 java.lang.String getKey(java.lang.String next)
          Return the map key from the property expression or null.
 java.lang.String getProperty(java.lang.String next)
          Return the property name from the property expression.
 boolean hasNested(java.lang.String name)
          Indicates whether or not the expression contains nested property expressions or not.
 boolean isIndexed(java.lang.String next)
          Indicate whether the expression is for an indexed property or not.
 boolean isMapped(java.lang.String next)
          Indicate whether the expression is for a mapped property or not.
 java.lang.String next(java.lang.String name)
          Extract the next property expression from the current expression.
 java.lang.String remove(java.lang.String name)
          Remove the last property expression from the current expression.
 

Method Detail

hasNested

boolean hasNested(java.lang.String name)
Indicates whether or not the expression contains nested property expressions or not.

Parameters:
expression - The property expression
Returns:
The next property expression

isIndexed

boolean isIndexed(java.lang.String next)
Indicate whether the expression is for an indexed property or not.

Parameters:
expression - The property expression
Returns:
true if the expression is indexed, otherwise false

isMapped

boolean isMapped(java.lang.String next)
Indicate whether the expression is for a mapped property or not.

Parameters:
expression - The property expression
Returns:
true if the expression is mapped, otherwise false

getIndex

int getIndex(java.lang.String next)
Return the index value from the property expression or -1.

Parameters:
expression - The property expression
Returns:
The index value or -1 if the property is not indexed
Throws:
java.lang.IllegalArgumentException - If the indexed property is illegally formed or has an invalid (non-numeric) value.

getProperty

java.lang.String getProperty(java.lang.String next)
Return the property name from the property expression.

Parameters:
expression - The property expression
Returns:
The property name

getKey

java.lang.String getKey(java.lang.String next)
Return the map key from the property expression or null.

Parameters:
expression - The property expression
Returns:
The index value
Throws:
java.lang.IllegalArgumentException - If the mapped property is illegally formed.

remove

java.lang.String remove(java.lang.String name)
Remove the last property expression from the current expression.

Parameters:
expression - The property expression
Returns:
The new expression value, with first property expression removed - null if there are no more expressions

next

java.lang.String next(java.lang.String name)
Extract the next property expression from the current expression.

Parameters:
expression - The property expression
Returns:
The next property expression

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011