org.exolab.castor.builder.conflictresolution

Class BaseClassNameCRStrategy

Implemented Interfaces:
ClassNameCRStrategy
Known Direct Subclasses:
InformViaLogClassNameCRStrategy, WarningViaDialogClassNameCRStrategy

public abstract class BaseClassNameCRStrategy
extends java.lang.Object
implements ClassNameCRStrategy

Abtract base class for all ClassNameCRStrategy implementations.

Method Summary

protected SingleClassGenerator
getSingleClassGenerator()
Returns the current caller of this strategy implementation.
void
setSingleClassGenerator(SingleClassGenerator generator)
Sets the current caller of this strategy implementation.

Method Details

getSingleClassGenerator

protected final SingleClassGenerator getSingleClassGenerator()
Returns the current caller of this strategy implementation. This can be used to change the state of the calling object as a result of a strategy implementation.
Returns:
the current caller of this strategy implementation.

setSingleClassGenerator

public final void setSingleClassGenerator(SingleClassGenerator generator)
Sets the current caller of this strategy implementation. This can be used to change the state of the calling object as a result of a strategy implementation.
Specified by:
setSingleClassGenerator in interface ClassNameCRStrategy
Parameters:
generator - the current caller of this strategy implementation.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com