org.omg.DynamicAny.DynValueBoxOperations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openjdk-orb Show documentation
Show all versions of openjdk-orb Show documentation
JBoss repackaging of the OpenJDK ORB
The newest version!
package org.omg.DynamicAny;
/**
* org/omg/DynamicAny/DynValueBoxOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/tomek/workspace/openjdk-orb/src/share/classes/org/omg/DynamicAny/DynamicAny.idl
* Wednesday, February 1, 2023 4:15:32 PM CET
*/
/**
* DynValueBox objects support the manipulation of IDL boxed value types.
* The DynValueBox interface can represent both null and non-null value types.
* For a DynValueBox representing a non-null value type, the DynValueBox has a single component
* of the boxed type. A DynValueBox representing a null value type has no components
* and a current position of -1.
*/
public interface DynValueBoxOperations extends org.omg.DynamicAny.DynValueCommonOperations
{
/**
* Returns the boxed value as an Any.
*
* @exception InvalidValue if this object represents a null value box type
*/
org.omg.CORBA.Any get_boxed_value () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
/**
* Replaces the boxed value with the specified value.
* If the DynBoxedValue represents a null valuetype, it is converted to a non-null value.
*
* @exception TypeMismatch if this object represents a non-null value box type and the type
* of the parameter is not matching the current boxed value type.
*/
void set_boxed_value (org.omg.CORBA.Any boxed) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
/**
* Returns the boxed value as a DynAny.
*
* @exception InvalidValue if this object represents a null value box type
*/
org.omg.DynamicAny.DynAny get_boxed_value_as_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
/**
* Replaces the boxed value with the value contained in the parameter.
* If the DynBoxedValue represents a null valuetype, it is converted to a non-null value.
*
* @exception TypeMismatch if this object represents a non-null value box type and the type
* of the parameter is not matching the current boxed value type.
*/
void set_boxed_value_as_dyn_any (org.omg.DynamicAny.DynAny boxed) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
} // interface DynValueBoxOperations