|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.vo.dto.DTOWrapper
public class DTOWrapper
DTOWrapper serves as a wrapper for java objects. Objects encapsulated within this wrapper are provide with the means tp morph as a DataTransferObject and automatically possess the capability of DataTransferObjects and can be retrieved using the getObject() method.
Copyright ©Zphinx Software Solutions
| Constructor Summary | |
|---|---|
DTOWrapper(Object object)
Public Constructor |
|
| Method Summary | |
|---|---|
Locale |
getLocale()
Gets the Locale where the creator of this DTO is using the system |
Object |
getObject()
Gets the wrapped object |
String |
getSessionId()
Gets a unique ID for this transaction which is used to identify this object across multiple tiers |
void |
setLocale(Locale locale)
|
void |
setSessionId(String sessionId)
Sets this beans sessionId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DTOWrapper(Object object)
object - The object which is wrapped within this object| Method Detail |
|---|
public Object getObject()
public String getSessionId()
DataTransferObject
getSessionId in interface DataTransferObjectpublic void setSessionId(String sessionId)
sessionId - the sessionId to setpublic Locale getLocale()
DataTransferObject
getLocale in interface DataTransferObjectpublic void setLocale(Locale locale)
locale - the locale to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||