org.jboss.dna.common.jdbc.model.spi
Class ReferenceBean

java.lang.Object
  extended by org.jboss.dna.common.jdbc.model.spi.CoreMetaDataBean
      extended by org.jboss.dna.common.jdbc.model.spi.ReferenceBean
All Implemented Interfaces:
Serializable, CoreMetaData, Reference

public class ReferenceBean
extends CoreMetaDataBean
implements Reference

Provides all database table REF column specific metadata.

Author:
Sergiy Litsenko
See Also:
Serialized Form

Constructor Summary
ReferenceBean()
          Default constructor
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceBean

public ReferenceBean()
Default constructor

Method Detail

getSourceTable

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

Specified by:
getSourceTable in interface Reference
Returns:
table name that this the scope of a reference attribure

setSourceTable

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

Specified by:
setSourceTable in interface Reference
Parameters:
sourceTable - table name that this the scope of a reference attribure

getSourceDataType

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

Specified by:
getSourceDataType in interface Reference
Returns:
source type of a distinct type or user-generated Ref type,

setSourceDataType

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

Specified by:
setSourceDataType in interface Reference
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.