commonj.connector.metadata.description
Interface DataBindingDescription


public interface DataBindingDescription

DataBindingDescription is used to describe the output of a DataBindingGenerator, specifying if it is a top level object, whether service data objects are used, and the definition of the DataBinding (the class name and its content).

Since:
1.0

Method Summary
 String getDataBindingClassName()
          Specifies the package and class name of the DataBinding.
 String getDataBindingDefinition()
          String containing the full content of the Data Binding or Record class.
 boolean isDataBinding()
          If true denotes that this is a DataBinding used with Service Data Objects.
 boolean isRoot()
          If true denotes that this DataBinding is used with the input or return DataObject, or is the input or output cci.Record.
 

Method Detail

isRoot

boolean isRoot()
If true denotes that this DataBinding is used with the input or return DataObject, or is the input or output cci.Record.

Returns:
Returns true if this is the top level DataBinding or cci.Record to be used for input or output.

isDataBinding

boolean isDataBinding()
If true denotes that this is a DataBinding used with Service Data Objects. If false is returned then it is a cci.Record.

Returns:
Returns true if this is used with Service Data Objects, and false if it is only a cci.Record.

getDataBindingClassName

String getDataBindingClassName()
Specifies the package and class name of the DataBinding. For example "java.lang.String". The DataBinding must have a public default constructor.

Returns:
Returns the fully qualified name of the DataBinding or Record class.

getDataBindingDefinition

String getDataBindingDefinition()
String containing the full content of the Data Binding or Record class.

For compilation, the application server libraries must be in the classpath, specifically the J2EE CA interfaces, the SDO 2.0 interfaces, the EMD 1.0 interfaces, and the libraries of the resource adapter.

Returns:
String which contains the full source content of the DataBinding or Record class. null may be returned for the case where the cci.Record is a pre-existing class that is in the classpath of the application.