org.openswing.swing.pivottable.aggregators.java
Class HalfYearAggregator

java.lang.Object
  extended byorg.openswing.swing.pivottable.aggregators.java.GenericAggregator
      extended byorg.openswing.swing.pivottable.aggregators.java.HalfYearAggregator
All Implemented Interfaces:
java.io.Serializable

public class HalfYearAggregator
extends GenericAggregator
implements java.io.Serializable

Title: OpenSwing Framework

Description: Generic aggregator for row/column fields of a pivot table: it decodes a java.util.Date or java.sql.Date or java.sql.Timestamp to a Double value, related to the specified half year (1 or 2) in input value.

Copyright: Copyright (C) 2006 Mauro Carniel

This file is part of OpenSwing Framework. This library is free software; you can redistribute it and/or modify it under the terms of the (LGPL) Lesser General Public License as published by the Free Software Foundation; GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. The author may be contacted at: maurocarniel@tin.it

See Also:
Serialized Form

Constructor Summary
HalfYearAggregator()
           
 
Method Summary
 java.lang.Object decodeValue(java.lang.Object value)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HalfYearAggregator

public HalfYearAggregator()
Method Detail

decodeValue

public java.lang.Object decodeValue(java.lang.Object value)
Overrides:
decodeValue in class GenericAggregator

equals

public final boolean equals(java.lang.Object obj)
Overrides:
equals in class GenericAggregator

hashCode

public final int hashCode()
Overrides:
hashCode in class GenericAggregator