org.pf.util
Class AAssociationProcessor

java.lang.Object
  extended by org.pf.util.AAssociationProcessor
All Implemented Interfaces:
IObjectProcessor

public abstract class AAssociationProcessor
extends java.lang.Object
implements IObjectProcessor

Specialized abstract processor for Association objects. Subclasses must override only method.
public boolean processObject( Association association )

Version:
1.0
Author:
M.Duchrow

Constructor Summary
AAssociationProcessor()
          Initialize the new instance with default values.
 
Method Summary
abstract  boolean processObject(Association association)
          Gets called for an association to do something with it.
 boolean processObject(java.lang.Object object)
          Casts the given object to Association if possible.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AAssociationProcessor

public AAssociationProcessor()
Initialize the new instance with default values.

Method Detail

processObject

public abstract boolean processObject(Association association)
Gets called for an association to do something with it.

Parameters:
association - The association to process
Returns:
true if processing should continue, otherwise false

processObject

public boolean processObject(java.lang.Object object)
Casts the given object to Association if possible. If it is not an Association that it will be ignored.

Specified by:
processObject in interface IObjectProcessor
Parameters:
object - The object to be processed (null must be handled)
Returns:
true to continue the processing, false to stop the processing