unbbayes.util.extension.dto.impl
Class Dto
java.lang.Object
unbbayes.util.extension.dto.impl.Dto
- All Implemented Interfaces:
- IDataTransferObject
- Direct Known Subclasses:
- NodeDto
public class Dto
- extends Object
- implements IDataTransferObject
Basic implementation of general data transfer object not using generics
- Author:
- Shou Matsumoto
Constructor Summary |
protected |
Dto()
The main constructor is not public. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
protected Map<String,Object> map
Dto
protected Dto()
- The main constructor is not public. Use
newInstance()
instead.
This is kept protected in order to permit extension.
newInstance
public static Dto newInstance()
getObject
public Object getObject(String key)
- Description copied from interface:
IDataTransferObject
- These methods can be used to store additional parameters into
this DTO.
- Specified by:
getObject
in interface IDataTransferObject
- Parameters:
key
- : cannot be null
- Returns:
setObject
public void setObject(String key,
Object object)
- Description copied from interface:
IDataTransferObject
- These methods can be used to store additional parameters into
this DTO.
- Specified by:
setObject
in interface IDataTransferObject
Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.