WebObjects 5.2.3

com.webobjects.eoapplication
Class EODataSourceFactory

java.lang.Object
  extended bycom.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 Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.