edu.umich.eecs.tac.props
Class UserPopulationState.UserPopulationEntry

java.lang.Object
  extended by edu.umich.eecs.tac.props.AbstractKeyedEntry<T>
      extended by edu.umich.eecs.tac.props.AbstractTransportableEntry<Product>
          extended by edu.umich.eecs.tac.props.UserPopulationState.UserPopulationEntry
All Implemented Interfaces:
KeyedEntry<Product>, java.io.Serializable, se.sics.isl.transport.Transportable
Enclosing class:
UserPopulationState

public static class UserPopulationState.UserPopulationEntry
extends AbstractTransportableEntry<Product>

See Also:
Serialized Form

Constructor Summary
UserPopulationState.UserPopulationEntry()
           
UserPopulationState.UserPopulationEntry(Product key)
           
 
Method Summary
 int[] getDistribution()
           
 Product getProduct()
          Returns the product.
protected  java.lang.String keyNodeName()
          Returns the transport name of the key node for externalization.
protected  void readEntry(se.sics.isl.transport.TransportReader reader)
          Reads the entry state from the TransportReader.
 void setDistribution(int[] distribution)
           
protected  void setProduct(Product product)
          Sets the product.
protected  void writeEntry(se.sics.isl.transport.TransportWriter writer)
          Writes the entry state to the TransportWriter.
 
Methods inherited from class edu.umich.eecs.tac.props.AbstractTransportableEntry
readKey, writeKey
 
Methods inherited from class edu.umich.eecs.tac.props.AbstractKeyedEntry
getKey, getTransportName, read, setKey, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPopulationState.UserPopulationEntry

public UserPopulationState.UserPopulationEntry(Product key)

UserPopulationState.UserPopulationEntry

public UserPopulationState.UserPopulationEntry()
Method Detail

getDistribution

public int[] getDistribution()

setDistribution

public void setDistribution(int[] distribution)

getProduct

public final Product getProduct()
Returns the product.

Returns:
the product.

setProduct

protected final void setProduct(Product product)
Sets the product.

Parameters:
product - the product.

keyNodeName

protected java.lang.String keyNodeName()
Description copied from class: AbstractTransportableEntry
Returns the transport name of the key node for externalization.

Specified by:
keyNodeName in class AbstractTransportableEntry<Product>
Returns:
the transport name of the key node.

readEntry

protected void readEntry(se.sics.isl.transport.TransportReader reader)
                  throws java.text.ParseException
Description copied from class: AbstractKeyedEntry
Reads the entry state from the TransportReader. The attributes should be read in first, then the nodes.

Specified by:
readEntry in class AbstractKeyedEntry<Product>
Parameters:
reader - the reader to read the state in from.
Throws:
java.text.ParseException - if a parse exception occurs

writeEntry

protected void writeEntry(se.sics.isl.transport.TransportWriter writer)
Description copied from class: AbstractKeyedEntry
Writes the entry state to the TransportWriter. The attributes should be written in first, then the nodes.

Specified by:
writeEntry in class AbstractKeyedEntry<Product>
Parameters:
writer - the writer to write the entry state to


Copyright © 2007-2009 Association for Trading Agent Research. All Rights Reserved.