au.edu.archer.service.ddm.dto.response.impl
Class DatafileSliceResponseImpl

java.lang.Object
  extended by au.edu.archer.service.ddm.dto.response.impl.DatafileSliceResponseImpl
All Implemented Interfaces:
DatafileSliceResponse

public class DatafileSliceResponseImpl
extends java.lang.Object
implements DatafileSliceResponse

The DatafileSliceResponseImpl implements the DatafileSliceResponse interface which populates the datafile parameter slice.


Constructor Summary
DatafileSliceResponseImpl()
           
 
Method Summary
 int getDatafileId()
          Get the datafile Id.
 java.lang.String getDatafileName()
          Get the datafile name.
 java.lang.String getParamValue(java.lang.String key)
          Get the datafile parameter name.
 java.util.Map<java.lang.String,java.lang.String> getParamValues()
          Get the all datafile parameter name for a slice.
 void setDatafileId(int datafileId)
          Set the datafile id.
 void setDatafileName(java.lang.String datafileName)
          Set the datafile name.
 void setParamValue(java.lang.String key, java.lang.String value)
          Set the datafile parameter value.
 void setParamValues(java.util.Map<java.lang.String,java.lang.String> paramValues)
          Set the datafile parameter values for a slice.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatafileSliceResponseImpl

public DatafileSliceResponseImpl()
Method Detail

getDatafileId

public int getDatafileId()
Get the datafile Id.

Specified by:
getDatafileId in interface DatafileSliceResponse
Returns:
A datafile id.

setDatafileId

public void setDatafileId(int datafileId)
Set the datafile id.

Parameters:
datafileId - A datafile id.

getDatafileName

public java.lang.String getDatafileName()
Get the datafile name.

Specified by:
getDatafileName in interface DatafileSliceResponse
Returns:
A datafile name.

setDatafileName

public void setDatafileName(java.lang.String datafileName)
Set the datafile name.

Parameters:
datafileName - A datafile name.

setParamValue

public void setParamValue(java.lang.String key,
                          java.lang.String value)
Set the datafile parameter value.

Parameters:
key - The datafile parameter key.
value - The datafile parameter value.

getParamValue

public java.lang.String getParamValue(java.lang.String key)
Get the datafile parameter name.

Specified by:
getParamValue in interface DatafileSliceResponse
Parameters:
key - The key of datafile parameter name.
Returns:
the datafile parameter value.

getParamValues

public java.util.Map<java.lang.String,java.lang.String> getParamValues()
Get the all datafile parameter name for a slice.

Specified by:
getParamValues in interface DatafileSliceResponse
Returns:
A Collection of datafile parameter name for a slice.

setParamValues

public void setParamValues(java.util.Map<java.lang.String,java.lang.String> paramValues)
Set the datafile parameter values for a slice.

Parameters:
paramValues - A Collection of datafile parameters.


Copyright © 2008-09 Monash University. All Rights Reserved.