org.jcon.data
Class Aggregator

java.lang.Object
  extended by org.jcon.data.Aggregator
All Implemented Interfaces:
ObjectTransform

public class Aggregator
extends java.lang.Object
implements ObjectTransform

Transforms a set of objects into an Aggregate object, generated by iterating across the set.

Copyright 1997-2009 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
Aggregator()
           
 
Method Summary
 java.lang.String getAggregateOnProperty()
           
 void setAggregateOnProperty(java.lang.String newProperty)
           
 java.lang.Object transform(java.lang.Object victim)
          Our one method; this transforms one object into another.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aggregator

public Aggregator()
Method Detail

transform

public java.lang.Object transform(java.lang.Object victim)
Description copied from interface: ObjectTransform
Our one method; this transforms one object into another. Transformation must be nondestructive, but may produce a derived product that is still affected by changes to the original, so beware.

Specified by:
transform in interface ObjectTransform

getAggregateOnProperty

public java.lang.String getAggregateOnProperty()

setAggregateOnProperty

public void setAggregateOnProperty(java.lang.String newProperty)