edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector
Class RDBMSColumnDescriptor

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.RDBMSColumnDescriptor

public class RDBMSColumnDescriptor
extends Object

Describes how to express a given result set column as an attribute and value.


Constructor Summary
RDBMSColumnDescriptor(String column, String attribute, RDBMSDataConnector.DATA_TYPES type)
          Constructor.
 
Method Summary
 String getAttributeID()
          Gets the name of the attribute to map the column to.
 String getColumnName()
          Gets the name of the database column.
 RDBMSDataConnector.DATA_TYPES getDataType()
          Gets the Java data type to express the database value as.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RDBMSColumnDescriptor

public RDBMSColumnDescriptor(String column,
                             String attribute,
                             RDBMSDataConnector.DATA_TYPES type)
Constructor.

Parameters:
column - name of the database column
attribute - name of the attribute to map the column to
type - Java data type to express the database value as
Method Detail

getColumnName

public String getColumnName()
Gets the name of the database column.

Returns:
name of the database column

getAttributeID

public String getAttributeID()
Gets the name of the attribute to map the column to.

Returns:
name of the attribute to map the column to

getDataType

public RDBMSDataConnector.DATA_TYPES getDataType()
Gets the Java data type to express the database value as.

Returns:
Java data type to express the database value as

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2006-2009 Internet2. All Rights Reserved.