com.ihr.xbrl.store
Class StorageEvent
java.lang.Object
com.ihr.xbrl.store.StorageEvent
public class StorageEvent
- extends java.lang.Object
- Author:
- Ignacio
|
Field Summary |
static int |
EXCEPTION
The storage event contains an exception |
static int |
OK
Storage successful |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK
public static final int OK
- Storage successful
- See Also:
- Constant Field Values
EXCEPTION
public static final int EXCEPTION
- The storage event contains an exception
- See Also:
- Constant Field Values
StorageEvent
public 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.
- Parameters:
thread - the thread who is sending the eventstatus - this is OK or EXCEPTIONpojoInstance - 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 exist
StorageEvent
public StorageEvent(StoreXBRLThread thread,
int status,
java.lang.Exception e)
- Parameters:
status - integere - Exception
getPojoInstance
public XBRLInstance getPojoInstance()
- Returns:
- the instance
getPojoContainer
public DTSContainer getPojoContainer()
- Returns:
- the dts
getMessage
public java.lang.String getMessage()
- Returns:
- the error message if any
getRegularInstance
public XBRLInstance getRegularInstance()
- Returns:
- the regularInstance
getRegularContainer
public DTSContainer getRegularContainer()
- Returns:
- the regularContainer
getStatus
public int getStatus()
- Possible values are
OK or EXCEPTION
- Returns:
- the status see
StorageService for more information
getException
public java.lang.Exception getException()
- Returns:
- the exception error generated during the storage process
getThread
public StoreXBRLThread getThread()
- Returns:
- the thread
Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa