org.csapi.jr.se.cs
Class PriceVolume

java.lang.Object
  |
  +--org.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(org.csapi.jr.se.cs.ChargingPrice _price, org.csapi.jr.se.cs.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.
 org.csapi.jr.se.cs.ChargingPrice getPrice()
          This method returns a price.
 org.csapi.jr.se.cs.Volume getVolume()
          This method returns a volume.
 int hashCode()
          Returns a hashcode value for the object.
 void setPrice(org.csapi.jr.se.cs.ChargingPrice price)
          This method sets a price.
 void setVolume(org.csapi.jr.se.cs.Volume volume)
          This method sets a volume.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriceVolume

public PriceVolume()
Creates a new PriceVolume instance.


PriceVolume

public PriceVolume(org.csapi.jr.se.cs.ChargingPrice _price,
                   org.csapi.jr.se.cs.Volume _volume)
Creates a new PriceVolume instance.

Parameters:
_price -
_volume -
Method Detail

getPrice

public org.csapi.jr.se.cs.ChargingPrice getPrice()
This method returns a price.

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

getVolume

public org.csapi.jr.se.cs.Volume getVolume()
This method returns a volume.

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

setPrice

public void setPrice(org.csapi.jr.se.cs.ChargingPrice price)
This method sets a price.


setVolume

public void setVolume(org.csapi.jr.se.cs.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.

Overrides:
equals in class java.lang.Object

hashCode

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

Overrides:
hashCode in class java.lang.Object