public class StorageEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
EXCEPTION
The storage event contains an exception.
|
static int |
OK
Storage successful.
|
Constructor and Description |
---|
StorageEvent(StoreXBRLThread thread,
int status,
java.lang.Exception e)
Instantiates a new storage event.
|
StorageEvent(StoreXBRLThread thread,
int status,
XBRLInstance pojoInstance,
XBRLInstance regularInstance,
DTSContainer pojoContainer,
DTSContainer regularContainer,
java.lang.String message)
Creates an StorageEvent object to be sent to parent applications.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Gets the exception.
|
java.lang.String |
getMessage()
Gets the message.
|
DTSContainer |
getPojoContainer()
Gets the pojo container.
|
XBRLInstance |
getPojoInstance()
Gets the pojo instance.
|
DTSContainer |
getRegularContainer()
Gets the regular container.
|
XBRLInstance |
getRegularInstance()
Gets the regular instance.
|
int |
getStatus()
|
StoreXBRLThread |
getThread()
Gets the thread.
|
java.lang.String |
toString() |
public static final int OK
public static final int EXCEPTION
public StorageEvent(StoreXBRLThread thread, int status, XBRLInstance pojoInstance, XBRLInstance regularInstance, DTSContainer pojoContainer, DTSContainer regularContainer, java.lang.String message)
thread
- the thread who is sending the eventstatus
- this is OK
or EXCEPTION
pojoInstance
- This is the POJO object model instance documentregularInstance
- This is the RS object model instance documentpojoContainer
- This is the POJO object model DTSContainerregularContainer
- This is the RS object model DTSContainermessage
- This is an error message string in case of any existpublic StorageEvent(StoreXBRLThread thread, int status, java.lang.Exception e)
thread
- the threadstatus
- integere
- Exceptionpublic java.lang.String toString()
toString
in class java.lang.Object
public XBRLInstance getPojoInstance()
public DTSContainer getPojoContainer()
public java.lang.String getMessage()
public XBRLInstance getRegularInstance()
public DTSContainer getRegularContainer()
public int getStatus()
StorageService
for more informationpublic java.lang.Exception getException()
public StoreXBRLThread getThread()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa