JavaTM Platform
Standard Ed. 6

org.omg.DynamicAny
인터페이스 DynValueBoxOperations

모든 슈퍼 인터페이스:
DynAnyOperations , DynValueCommonOperations
기존의 서브 인터페이스의 일람:
DynValueBox


public interface DynValueBoxOperations
extends DynValueCommonOperations

DynValueBox 객체에 의해, IDL 의 boxed 치 형의 조작이 지원됩니다. DynValueBox 인터페이스는, null 와 null 이외의 양쪽 모두의 치 형을 나타낼 수가 있습니다. null 이외의 치 형을 나타내는 DynValueBox 의 경우, DynValueBox 에는 boxed 형의 컴퍼넌트가 1 개 포함됩니다. null 의 치 형을 나타내는 DynValueBox 에는 컴퍼넌트는 없고, 현재 위치는 -1 이 됩니다.


메소드의 개요
 DynAny get_boxed_value_as_dyn_any ()
          boxed 치를 DynAny 로 돌려줍니다.
 Any get_boxed_value ()
          boxed 치를 Any 로 돌려줍니다.
 void set_boxed_value_as_dyn_any (DynAny  boxed)
          boxed 형을, 파라미터에 포함되는 값으로 옮겨놓습니다.
 void set_boxed_value (Any  boxed)
          boxed 형을, 지정한 값으로 옮겨놓습니다.
 
인터페이스 org.omg.DynamicAny. DynValueCommonOperations 로부터 상속된 메소드
is_null , set_to_null , set_to_value
 
인터페이스 org.omg.DynamicAny. DynAnyOperations 로부터 상속된 메소드
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
 

메소드의 상세

get_boxed_value

Any  get_boxed_value()
                    throws InvalidValue 
boxed 치를 Any 로 돌려줍니다.

예외:
InvalidValue - 이 객체가 null 치의 boxed 형을 나타내는 경우

set_boxed_value

void set_boxed_value(Any  boxed)
                     throws TypeMismatch 
boxed 형을, 지정한 값으로 옮겨놓습니다. DynBoxedValue 가 null 의 치 형을 나타내는 경우는, null 이외의 값에 변환됩니다.

예외:
TypeMismatch - 이 객체가 null 이외의 boxed 형을 나타내, 파라미터의 형태가 현재의 boxed 형에 일치하지 않는 경우

get_boxed_value_as_dyn_any

DynAny  get_boxed_value_as_dyn_any()
                                  throws InvalidValue 
boxed 치를 DynAny 로 돌려줍니다.

예외:
InvalidValue - 이 객체가 null 치의 boxed 형을 나타내는 경우

set_boxed_value_as_dyn_any

void set_boxed_value_as_dyn_any(DynAny  boxed)
                                throws TypeMismatch 
boxed 형을, 파라미터에 포함되는 값으로 옮겨놓습니다. DynBoxedValue 가 null 의 치 형을 나타내는 경우는, null 이외의 값에 변환됩니다.

예외:
TypeMismatch - 이 객체가 null 이외의 boxed 형을 나타내, 파라미터의 형태가 현재의 boxed 형에 일치하지 않는 경우

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.