public interface DynStructOperations extends DynAnyOperations
Modifier and Type | Method and Description |
---|---|
TCKind |
current_member_kind()
Returns the TCKind associated with the member at the current position.
|
String |
current_member_name()
Returns the name of the member at the current position.
|
NameDynAnyPair[] |
get_members_as_dyn_any()
Returns a sequence of NameDynAnyPairs describing the name and the value of each member
in the struct associated with a DynStruct object.
|
NameValuePair[] |
get_members()
Returns a sequence of NameValuePairs describing the name and the value of each member
in the struct associated with a DynStruct object.
|
void |
set_members_as_dyn_any(NameDynAnyPair[] value)
Initializes the struct data value associated with a DynStruct object from a sequence of NameDynAnyPairs.
|
void |
set_members(NameValuePair[] value)
Initializes the struct data value associated with a DynStruct object from a sequence of NameValuePairs.
|
assign, component_count, copy, current_component, destroy, equal, from_any, get_any, get_boolean, get_char, get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, get_reference, get_short, get_string, get_typecode, get_ulong, get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any, insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float, insert_long, insert_longlong, insert_octet, insert_reference, insert_short, insert_string, insert_typecode, insert_ulong, insert_ulonglong, insert_ushort, insert_val, insert_wchar, insert_wstring, next, rewind, seek, to_any, type
String current_member_name() throws TypeMismatch, InvalidValue
TypeMismatch
- if the DynStruct represents an empty exception.InvalidValue
- if the current position does not indicate a memberTCKind current_member_kind() throws TypeMismatch, InvalidValue
TypeMismatch
- if the DynStruct represents an empty exception.InvalidValue
- if the current position does not indicate a memberNameValuePair[] get_members()
void set_members(NameValuePair[] value) throws TypeMismatch, InvalidValue
Members must appear in the NameValuePairs in the order in which they appear in the IDL specification of the struct as indicated by the DynStruct's TypeCode or they must be empty strings. The operation makes no attempt to assign member values based on member names.
TypeMismatch
- if the member names supplied in the passed sequence do not match the
corresponding member name in the DynStruct's TypeCode and they are not empty stringsInvalidValue
- if the passed sequence has a number of elements that disagrees
with the number of members as indicated by the DynStruct's TypeCodeNameDynAnyPair[] get_members_as_dyn_any()
void set_members_as_dyn_any(NameDynAnyPair[] value) throws TypeMismatch, InvalidValue
Members must appear in the NameDynAnyPairs in the order in which they appear in the IDL specification of the struct as indicated by the DynStruct's TypeCode or they must be empty strings. The operation makes no attempt to assign member values based on member names.
TypeMismatch
- if the member names supplied in the passed sequence do not match the
corresponding member name in the DynStruct's TypeCode and they are not empty stringsInvalidValue
- if the passed sequence has a number of elements that disagrees
with the number of members as indicated by the DynStruct's TypeCode Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.