org.jboss.dna.common.jdbc.model.api
Interface Reference

All Superinterfaces:
CoreMetaData, Serializable
All Known Implementing Classes:
ReferenceBean

public interface Reference
extends CoreMetaData

Provides all database table REF column specific metadata.

Author:
Sergiy Litsenko

Method Summary
 SqlType getSourceDataType()
          Returns source type of a distinct type or user-generated Ref type.
 Table getSourceTable()
          Returns table name that this the scope of a reference attribure
 void setSourceDataType(SqlType sourceDataType)
          Sets source type of a distinct type or user-generated Ref type.
 void setSourceTable(Table sourceTable)
          Sets table name that this the scope of a reference attribure
 

Method Detail

getSourceTable

Table getSourceTable()
Returns table name that this the scope of a reference attribure

Returns:
table name that this the scope of a reference attribure

setSourceTable

void setSourceTable(Table sourceTable)
Sets table name that this the scope of a reference attribure

Parameters:
sourceTable - table name that this the scope of a reference attribure

getSourceDataType

SqlType getSourceDataType()
Returns source type of a distinct type or user-generated Ref type.

Returns:
source type of a distinct type or user-generated Ref type,

setSourceDataType

void setSourceDataType(SqlType sourceDataType)
Sets source type of a distinct type or user-generated Ref type.

Parameters:
sourceDataType - source type of a distinct type or user-generated Ref type,


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.