jp.ac.nagoyau.is.ss.kishii.suntori.message.data
Class ValueData

java.lang.Object
  extended by jp.ac.nagoyau.is.ss.kishii.suntori.message.data.RCRSCSData<java.lang.Integer>
      extended by jp.ac.nagoyau.is.ss.kishii.suntori.message.data.ValueData

public class ValueData
extends RCRSCSData<java.lang.Integer>

This class represent the data that express Integer value.

Author:
takefumi

Field Summary
 
Fields inherited from class jp.ac.nagoyau.is.ss.kishii.suntori.message.data.RCRSCSData
type, value
 
Constructor Summary
ValueData(DataType type)
          Constructor
ValueData(DataType type, java.lang.Integer value)
          Constructor
 
Method Summary
 void setData(java.lang.Integer value)
          Set the value to obj
 
Methods inherited from class jp.ac.nagoyau.is.ss.kishii.suntori.message.data.RCRSCSData
equals, getData, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueData

public ValueData(DataType type)
Constructor

Parameters:
type - type of the data(DataType)

ValueData

public ValueData(DataType type,
                 java.lang.Integer value)
Constructor

Parameters:
type - type of the data(DataType)
value - actual value of the data(Integer)
Method Detail

setData

public void setData(java.lang.Integer value)
Description copied from class: RCRSCSData
Set the value to obj

Specified by:
setData in class RCRSCSData<java.lang.Integer>
Parameters:
value - actual value of this data