Package com.sun.corba.ee.impl.dynamicany
Class DynFixedImpl
java.lang.Object
org.omg.CORBA.LocalObject
com.sun.corba.ee.impl.dynamicany.DynAnyImpl
com.sun.corba.ee.impl.dynamicany.DynAnyBasicImpl
com.sun.corba.ee.impl.dynamicany.DynFixedImpl
- All Implemented Interfaces:
Serializable
,Object
,IDLEntity
,DynAny
,DynAnyOperations
,DynFixed
,DynFixedOperations
- See Also:
-
Field Summary
FieldsFields inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyImpl
any, index, NO_INDEX, orb, status, STATUS_DESTROYABLE, STATUS_DESTROYED, STATUS_UNDESTROYABLE, wrapper
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
protected
DynFixedImpl
(ORB orb, Any any, boolean copyValue) protected
DynFixedImpl
(ORB orb, TypeCode typeCode) -
Method Summary
Methods inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyBasicImpl
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
Methods inherited from class com.sun.corba.ee.impl.dynamicany.DynAnyImpl
_ids, clearData, factory, getAny, getAny, setStatus, type, writeAny
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface 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
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
DynFixedImpl
private DynFixedImpl() -
DynFixedImpl
-
DynFixedImpl
-
-
Method Details
-
get_value
Description copied from interface:DynFixedOperations
Returns the value of a DynFixed.- Specified by:
get_value
in interfaceDynFixedOperations
- Returns:
- the value
-
set_value
Description copied from interface:DynFixedOperations
Sets the value of the DynFixed. The val string must contain a fixed string constant in the same format as used for IDL fixed-point literals. However, the trailing d or D is optional. The return value is true if val can be represented as the DynFixed without loss of precision. If val has more fractional digits than can be represented in the DynFixed, fractional digits are truncated and the return value is false.- Specified by:
set_value
in interfaceDynFixedOperations
- Parameters:
val
- a fixed string constant- Returns:
- if val can be represented with no loss of position
- Throws:
TypeMismatch
- If val does not contain a valid fixed-point literal or contains extraneous characters other than leading or trailing white spaceInvalidValue
- If val contains a value whose scale exceeds that of the DynFixed or is not initialized
-
toString
-