atg.repository.loader
Interface BatchElement

All Known Subinterfaces:
Error, Result

public interface BatchElement

Super interface for Result and Error interfaces that defines a method for distinguishing instances of those interfaces without requiring an instanceof check.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static boolean ERROR_TYPE
           
static boolean RESULT_TYPE
           
 
Method Summary
 Batch getContainer()
          Returns the Batch containing this BatchElement.
 boolean getElementType()
          Returns the type of this element, BatchElement.Result or BatchElement.Error
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values

RESULT_TYPE

static final boolean RESULT_TYPE
See Also:
Constant Field Values

ERROR_TYPE

static final boolean ERROR_TYPE
See Also:
Constant Field Values
Method Detail

getElementType

boolean getElementType()
Returns the type of this element, BatchElement.Result or BatchElement.Error


getContainer

Batch getContainer()
Returns the Batch containing this BatchElement.