raccoon.api.types
Interface IUnionBean


public interface IUnionBean

The interface for a java bean that is in fact an equivalent to C++ Union.

Since:
Raccoon v0.8
Version:
$Id: IUnionBean.java,v 1.1 2004/08/08 20:25:57 crouvrais Exp $
Author:
Cedric ROUVRAIS

Method Summary
 java.lang.Object getValue()
          Retrieves the value of this union instance.
 void setValue(java.lang.Object pUnionValue)
          Defines the value of this union object.
 

Method Detail

setValue

void setValue(java.lang.Object pUnionValue)
              throws java.lang.IllegalArgumentException
Defines the value of this union object.

Parameters:
pUnionValue - the new value for this instance.
Throws:
java.lang.IllegalArgumentException - if the value to assign doesn't belong to the acceptable class types.

getValue

java.lang.Object getValue()
Retrieves the value of this union instance.

Returns:
the value, null if not defined.


Copyright null null. All Rights Reserved.