com.metamatrix.connector.xml.base
Class CriteriaDesc

java.lang.Object
  extended by com.metamatrix.connector.xml.base.ParameterDescriptor
      extended by com.metamatrix.connector.xml.base.CriteriaDesc

public class CriteriaDesc
extends ParameterDescriptor

Author:
BLotenberg To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Field Summary
static java.lang.String PARM_ALLOWS_EMPTY_VALUES_COLUMN_PROPERTY_NAME
           
static java.lang.String PARM_AS_NAMED_ATTRIBUTE_COLUMN_PROPERTY_NAME
           
static java.lang.String PARM_AS_PARENT_ATTRIBUTE_COLUMN_PROPERTY_NAME
           
static java.lang.String PARM_HAS_MULTIPLE_VALUES_COLUMN_PROPERTY_NAME
           
static java.lang.String PARM_HAS_MULTIPLE_VALUES_COMMA_DELIMITED_NAME
           
static java.lang.String PARM_HAS_MULTIPLE_VALUES_MULTI_ELEMENT_NAME
           
static java.lang.String PARM_IS_COMPLEX_SOAP_ARRAY_ELEMENT_NAME
           
static java.lang.String PARM_IS_SIMPLE_SOAP_ARRAY_ELEMENT_NAME
           
static java.lang.String PARM_REQUIRED_VALUE_COLUMN_PROPERTY_NAME
           
static java.lang.String PARM_XPATH_INPUT_COLUMN_PROPERTY_NAME
           
 
Fields inherited from class com.metamatrix.connector.xml.base.ParameterDescriptor
PARM_INPUT_COLUMN_PROPERTY_NAME, ROLE_COLUMN_PROPERTY_NAME, ROLE_COLUMN_PROPERTY_NAME_DATA, ROLE_COLUMN_PROPERTY_NAME_LOCATION, ROLE_COLUMN_PROPERTY_NAME_RESPONSE_IN, ROLE_COLUMN_PROPERTY_NAME_RESPONSE_OUT
 
Constructor Summary
CriteriaDesc(Element myElement, java.util.ArrayList myValues)
           
 
Method Summary
 boolean allowEmptyValue()
           
 CriteriaDesc cloneWithoutValues()
           
static CriteriaDesc getCriteriaDescForColumn(Element element, IQuery query)
           
 java.lang.String getCurrentIndexValue()
           
 java.lang.String getDataAttributeName()
           
 java.lang.String getInputXpath()
           
 java.lang.String getNativeType()
           
 int getNumberOfValues()
           
 java.util.ArrayList getValues()
           
 boolean incrementIndex()
           
 boolean isAutoIncrement()
           
 boolean isDataInAttribute()
           
 boolean isEnumeratedAttribute()
           
 boolean isMultiElement()
           
 boolean isParentAttribute()
           
 boolean isSimpleSoapElement()
           
 boolean isSOAPArrayElement()
           
 boolean isUnlimited()
           
static boolean nameMatch(IExpression expr, java.lang.String elementName)
           
 void resetIndex()
           
 void setValue(int i, java.lang.Object object)
           
static java.lang.String stringifyCriteria(java.lang.String startCriteria)
           
 
Methods inherited from class com.metamatrix.connector.xml.base.ParameterDescriptor
getColumnName, getColumnNumber, getElement, getRole, getXPath, isLocation, isParameter, isResponseId, setColumnName, setColumnNumber, setElement, setIsLocation, setIsParameter, setIsResponseId, setXPath, testForParam, testRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARM_REQUIRED_VALUE_COLUMN_PROPERTY_NAME

public static final java.lang.String PARM_REQUIRED_VALUE_COLUMN_PROPERTY_NAME
See Also:
Constant Field Values

PARM_ALLOWS_EMPTY_VALUES_COLUMN_PROPERTY_NAME

public static final java.lang.String PARM_ALLOWS_EMPTY_VALUES_COLUMN_PROPERTY_NAME
See Also:
Constant Field Values

PARM_HAS_MULTIPLE_VALUES_COLUMN_PROPERTY_NAME

public static final java.lang.String PARM_HAS_MULTIPLE_VALUES_COLUMN_PROPERTY_NAME
See Also:
Constant Field Values

PARM_HAS_MULTIPLE_VALUES_COMMA_DELIMITED_NAME

public static final java.lang.String PARM_HAS_MULTIPLE_VALUES_COMMA_DELIMITED_NAME
See Also:
Constant Field Values

PARM_HAS_MULTIPLE_VALUES_MULTI_ELEMENT_NAME

public static final java.lang.String PARM_HAS_MULTIPLE_VALUES_MULTI_ELEMENT_NAME
See Also:
Constant Field Values

PARM_IS_SIMPLE_SOAP_ARRAY_ELEMENT_NAME

public static final java.lang.String PARM_IS_SIMPLE_SOAP_ARRAY_ELEMENT_NAME
See Also:
Constant Field Values

PARM_IS_COMPLEX_SOAP_ARRAY_ELEMENT_NAME

public static final java.lang.String PARM_IS_COMPLEX_SOAP_ARRAY_ELEMENT_NAME
See Also:
Constant Field Values

PARM_XPATH_INPUT_COLUMN_PROPERTY_NAME

public static final java.lang.String PARM_XPATH_INPUT_COLUMN_PROPERTY_NAME
See Also:
Constant Field Values

PARM_AS_PARENT_ATTRIBUTE_COLUMN_PROPERTY_NAME

public static final java.lang.String PARM_AS_PARENT_ATTRIBUTE_COLUMN_PROPERTY_NAME
See Also:
Constant Field Values

PARM_AS_NAMED_ATTRIBUTE_COLUMN_PROPERTY_NAME

public static final java.lang.String PARM_AS_NAMED_ATTRIBUTE_COLUMN_PROPERTY_NAME
See Also:
Constant Field Values
Constructor Detail

CriteriaDesc

public CriteriaDesc(Element myElement,
                    java.util.ArrayList myValues)
             throws ConnectorException
Throws:
ConnectorException
See Also:
com.metamatrix.server.datatier.SynchConnectorConnection#submitRequest(java.lang.Object)
Method Detail

getCriteriaDescForColumn

public static CriteriaDesc getCriteriaDescForColumn(Element element,
                                                    IQuery query)
                                             throws ConnectorException
Throws:
ConnectorException

getInputXpath

public java.lang.String getInputXpath()
                               throws ConnectorException
Throws:
ConnectorException

isUnlimited

public boolean isUnlimited()

isMultiElement

public boolean isMultiElement()

isSOAPArrayElement

public boolean isSOAPArrayElement()

isAutoIncrement

public boolean isAutoIncrement()
                        throws ConnectorException
Throws:
ConnectorException

isParentAttribute

public boolean isParentAttribute()
                          throws ConnectorException
Throws:
ConnectorException

isEnumeratedAttribute

public boolean isEnumeratedAttribute()
                              throws ConnectorException
Throws:
ConnectorException

allowEmptyValue

public boolean allowEmptyValue()
                        throws ConnectorException
Throws:
ConnectorException

isDataInAttribute

public boolean isDataInAttribute()
                          throws ConnectorException
Throws:
ConnectorException

getDataAttributeName

public java.lang.String getDataAttributeName()
                                      throws ConnectorException
Throws:
ConnectorException

getValues

public java.util.ArrayList getValues()

getNumberOfValues

public int getNumberOfValues()

getCurrentIndexValue

public java.lang.String getCurrentIndexValue()
                                      throws ConnectorException
Throws:
ConnectorException

incrementIndex

public boolean incrementIndex()
                       throws ConnectorException
Throws:
ConnectorException

resetIndex

public void resetIndex()

nameMatch

public static boolean nameMatch(IExpression expr,
                                java.lang.String elementName)

stringifyCriteria

public static java.lang.String stringifyCriteria(java.lang.String startCriteria)

cloneWithoutValues

public CriteriaDesc cloneWithoutValues()

setValue

public void setValue(int i,
                     java.lang.Object object)

getNativeType

public java.lang.String getNativeType()

isSimpleSoapElement

public boolean isSimpleSoapElement()


Copyright © 2009. All Rights Reserved.