wt.container.batch
Class Assertion

java.lang.Object
  extended bywt.container.batch.Assertion
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AddAssertion, RemoveAssertion, ReplaceAssertion

public abstract class Assertion
extends Object
implements Serializable

Base assertion; all assertions are against a BatchContainer and a target object. The assertion indicates that the target object is either being added, removed or replaced in the BatchContainer.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  BatchContainer container
           
private  WTException exception
           
private static String RESOURCE
           
private  Object target
           
 
Constructor Summary
Assertion(BatchContainer container, Object target)
          Constructor which forms an assertion against a BatchContainer and a target Object.
 
Method Summary
 BatchContainer getContainer()
          Get the BatchContainer which was the target of this Assertion.
 WTException getException()
          Gets the object for the association that plays role: exception.
 Object getTarget()
          Get the object which was the target of this Assertion.
 void setException(WTException a_Exception)
          Sets the object for the association that plays role: exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

target

private Object target

container

private BatchContainer container

exception

private WTException exception
Constructor Detail

Assertion

public Assertion(BatchContainer container,
                 Object target)
Constructor which forms an assertion against a BatchContainer and a target Object.

Supported API: false

Parameters:
container -
target -
Method Detail

getException

public WTException getException()
Gets the object for the association that plays role: exception.

Supported API: false

Returns:
WTException

setException

public void setException(WTException a_Exception)
Sets the object for the association that plays role: exception.

Supported API: false

Parameters:
a_Exception -

getContainer

public BatchContainer getContainer()
Get the BatchContainer which was the target of this Assertion.

Supported API: false

Returns:
BatchContainer

getTarget

public Object getTarget()
Get the object which was the target of this Assertion.

Supported API: false

Returns:
Object