WebObjects 5.2

com.webobjects.eoapplication
Class EODataSourceFactory

java.lang.Object
  |
  +--com.webobjects.eoapplication.EODataSourceFactory

public abstract class EODataSourceFactory
extends Object


Constructor Summary
EODataSourceFactory()
          
 
Method Summary
static EODataSourceFactory defaultDataSourceFactory()
          
abstract  boolean isDetailDataSource(EODataSource dataSource)
          
abstract  boolean isMasterDataSource(EODataSource dataSource)
          
abstract  EODataSource newMasterDataSource(EOEditingContext editingContext, String entityName, EOFetchSpecification fetchSpecification)
          
abstract  EODataSource newMasterDataSourceWithFetchSpecificationName(EOEditingContext editingContext, String entityName, String fetchSpecificationName)
          
abstract  void setAuxilaryQualifierOnDataSource(EODataSource dataSource, EOQualifier qualifier)
          
static void setDefaultDataSourceFactory(EODataSourceFactory dataSourceFactory)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EODataSourceFactory

public EODataSourceFactory()
Method Detail

defaultDataSourceFactory

public static EODataSourceFactory defaultDataSourceFactory()
Returns:

isDetailDataSource

public abstract boolean isDetailDataSource(EODataSource dataSource)
Parameters:
dataSource -
Returns:

isMasterDataSource

public abstract boolean isMasterDataSource(EODataSource dataSource)
Parameters:
dataSource -
Returns:

newMasterDataSource

public abstract EODataSource newMasterDataSource(EOEditingContext editingContext,
                                                 String entityName,
                                                 EOFetchSpecification fetchSpecification)
Parameters:
editingContext -
entityName -
fetchSpecification -
Returns:

newMasterDataSourceWithFetchSpecificationName

public abstract EODataSource newMasterDataSourceWithFetchSpecificationName(EOEditingContext editingContext,
                                                                           String entityName,
                                                                           String fetchSpecificationName)
Parameters:
editingContext -
entityName -
fetchSpecificationName -
Returns:

setAuxilaryQualifierOnDataSource

public abstract void setAuxilaryQualifierOnDataSource(EODataSource dataSource,
                                                      EOQualifier qualifier)
Parameters:
dataSource -
qualifier -

setDefaultDataSourceFactory

public static void setDefaultDataSourceFactory(EODataSourceFactory dataSourceFactory)
Parameters:
dataSourceFactory -

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.