org.csapi.jr.se.cs
Class PriceVolume

java.lang.Object
  extended byorg.csapi.jr.se.cs.PriceVolume
All Implemented Interfaces:
java.io.Serializable

public final class PriceVolume
extends java.lang.Object
implements java.io.Serializable

Defines the Sequence of Data Elements that identify a price for a volume.

See Also:
Serialized Form

Constructor Summary
PriceVolume()
          Creates a new PriceVolume instance.
PriceVolume(ChargingPrice _price, Volume _volume)
          Creates a new PriceVolume instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 ChargingPrice getPrice()
          This method returns a price.
 Volume getVolume()
          This method returns a volume.
 int hashCode()
          Returns a hashcode value for the object.
 void setPrice(ChargingPrice price)
          This method sets a price.
 void setVolume(Volume volume)
          This method sets a volume.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriceVolume

public PriceVolume()
Creates a new PriceVolume instance.


PriceVolume

public PriceVolume(ChargingPrice _price,
                   Volume _volume)
Creates a new PriceVolume instance.

Parameters:
_price -
_volume -
Method Detail

getPrice

public ChargingPrice getPrice()
This method returns a price.

Returns:
a org.csapi.jr.se.cs.ChargingPrice value

getVolume

public Volume getVolume()
This method returns a volume.

Returns:
a org.csapi.jr.se.cs.Volume value

setPrice

public void setPrice(ChargingPrice price)
This method sets a price.


setVolume

public void setVolume(Volume volume)
This method sets a volume.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.