com.metamatrix.connector.xml.base
Class ParameterDescriptor

java.lang.Object
  extended by com.metamatrix.connector.xml.base.ParameterDescriptor
Direct Known Subclasses:
CriteriaDesc, OutputXPathDesc

public abstract class ParameterDescriptor
extends java.lang.Object


Field Summary
static java.lang.String PARM_INPUT_COLUMN_PROPERTY_NAME
           
static java.lang.String ROLE_COLUMN_PROPERTY_NAME
           
static java.lang.String ROLE_COLUMN_PROPERTY_NAME_DATA
           
static java.lang.String ROLE_COLUMN_PROPERTY_NAME_LOCATION
           
static java.lang.String ROLE_COLUMN_PROPERTY_NAME_RESPONSE_IN
           
static java.lang.String ROLE_COLUMN_PROPERTY_NAME_RESPONSE_OUT
           
 
Constructor Summary
protected ParameterDescriptor()
           
  ParameterDescriptor(Element element)
           
 
Method Summary
 java.lang.String getColumnName()
           
 int getColumnNumber()
           
protected  Element getElement()
           
 java.lang.String getRole()
           
 java.lang.String getXPath()
           
 boolean isLocation()
           
 boolean isParameter()
           
 boolean isResponseId()
           
 void setColumnName(java.lang.String columnName)
           
 void setColumnNumber(int columnNumber)
           
protected  void setElement(Element elem)
           
 void setIsLocation(boolean location)
           
 void setIsParameter(boolean param)
           
 void setIsResponseId(boolean responseId)
           
 void setXPath(java.lang.String xPath)
           
protected static boolean testForParam(Element element)
           
protected  void testRole()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARM_INPUT_COLUMN_PROPERTY_NAME

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

ROLE_COLUMN_PROPERTY_NAME

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

ROLE_COLUMN_PROPERTY_NAME_RESPONSE_IN

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

ROLE_COLUMN_PROPERTY_NAME_RESPONSE_OUT

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

ROLE_COLUMN_PROPERTY_NAME_LOCATION

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

ROLE_COLUMN_PROPERTY_NAME_DATA

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

ParameterDescriptor

public ParameterDescriptor(Element element)
                    throws ConnectorException
Throws:
ConnectorException

ParameterDescriptor

protected ParameterDescriptor()
Method Detail

setXPath

public final void setXPath(java.lang.String xPath)

getXPath

public java.lang.String getXPath()

setIsParameter

public final void setIsParameter(boolean param)

setIsResponseId

public final void setIsResponseId(boolean responseId)

setIsLocation

public final void setIsLocation(boolean location)

isParameter

public final boolean isParameter()

isResponseId

public final boolean isResponseId()

isLocation

public final boolean isLocation()

setColumnName

public final void setColumnName(java.lang.String columnName)

getColumnName

public final java.lang.String getColumnName()

setColumnNumber

public final void setColumnNumber(int columnNumber)

getColumnNumber

public final int getColumnNumber()

setElement

protected void setElement(Element elem)

getElement

protected Element getElement()

testForParam

protected static boolean testForParam(Element element)
                               throws ConnectorException
Throws:
ConnectorException

getRole

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

testRole

protected void testRole()
                 throws ConnectorException
Throws:
ConnectorException


Copyright © 2009. All Rights Reserved.