com.ibm.websphere.sdo
Interface DataObjectAccessBean

All Superinterfaces:
java.util.Map

public interface DataObjectAccessBean
extends java.util.Map

Service Data Objects - DataObjectAccessBean.

This interface defines the interface to a DataObject. DataObjectAccessBean has the following responsibilities:


Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Method Summary
 DataGraphAccessBean getDataGraphAccessBean()
          Returns the DataGraphAccessBean this DataList is contained within To flush changes to the back-end pass the DataGraphAccessBean to the MediatorAccessBean
 DataListAccessBean getDataListAccessBean(java.lang.String name)
          Return the DataListAccessBean at the given path By default relationships between tables are name Table1_Table2 i.e.
 DataObjectAccessBean getDataObjectAccessBean(java.lang.String name)
          Return the DataObjectAccessBean at the given path By default relationships between tables are name Table1_Table2 i.e.
 java.lang.Class getType(java.lang.String name)
          Returns the type to which this map maps the specified key.
 boolean isReadOnly(java.lang.String name)
          Returns whether the object to which this map maps the specified key is read only.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getDataGraphAccessBean

public DataGraphAccessBean getDataGraphAccessBean()
Returns the DataGraphAccessBean this DataList is contained within To flush changes to the back-end pass the DataGraphAccessBean to the MediatorAccessBean
Returns:
DataGraphAccessBean

getDataListAccessBean

public DataListAccessBean getDataListAccessBean(java.lang.String name)
Return the DataListAccessBean at the given path By default relationships between tables are name Table1_Table2 i.e. You this is a dataObject for a CUSTOMER table and you have a 1 -> * relationship with the ORDER table getDataListAccessBean(CUSTOMER_ORDER) will return the list of Orders for this Customer.
Parameters:
the - path of the DataListAccessBean to retrieve
Returns:
the DataListAccessBean at the following path

getDataObjectAccessBean

public DataObjectAccessBean getDataObjectAccessBean(java.lang.String name)
Return the DataObjectAccessBean at the given path By default relationships between tables are name Table1_Table2 i.e. You this is a dataObject for a CUSTOMER table and you have a 1 -> 1 relationship with the ORDER table getDataListAccessBean(CUSTOMER_ORDER) will return the the Order for this Customer.
Parameters:
the - path of the DataObjectAccessBean to retrieve
Returns:
the DataObjectAccessBean at the following path

getType

public java.lang.Class getType(java.lang.String name)
Returns the type to which this map maps the specified key. Returns null if the map contains no mapping for this key. A return value of null does not necessarily indicate that the map contains no mapping for the key; it's also possible that the map explicitly maps the key to null. The containsKey operation may be used to distinguish these two cases.
Parameters:
key - key whose associated value is to be returned.
Returns:
the type to which this map maps the specified key, or null if the map contains no mapping for this key.
See Also:
Map.get(Object)

isReadOnly

public boolean isReadOnly(java.lang.String name)
Returns whether the object to which this map maps the specified key is read only.
Parameters:
key - key whose associated value is to be returned.
Returns:
whether the object to which this map maps the specified key is read only
See Also:
Map.get(Object)