Package com.sun.corba.se.impl.dynamicany
Class DynFixedImpl
java.lang.Object
org.omg.CORBA.LocalObject
com.sun.corba.se.impl.dynamicany.DynAnyBasicImpl
com.sun.corba.se.impl.dynamicany.DynFixedImpl
- All Implemented Interfaces:
Serializable,Object,IDLEntity,DynAny,DynAnyOperations,DynFixed,DynFixedOperations
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Anyprotected intprotected static final intprotected ORBprotected byteprotected static final byteprotected static final byteprotected static final byteprotected ORBUtilSystemException -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDynFixedImpl(ORB orb, Any any, boolean copyValue) protectedDynFixedImpl(ORB orb, TypeCode typeCode) -
Method Summary
Modifier and TypeMethodDescriptionString[]_ids()protected voidprotected DynAnyFactoryfactory()Returns the value of a DynFixed.protected AnygetAny()protected AnybooleanSets the value of the DynFixed.protected voidsetStatus(byte newStatus) toString()type()Returns the TypeCode associated with this DynAny object.protected voidwriteAny(OutputStream out) Methods inherited from class com.sun.corba.se.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_anyMethods 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_connectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, typeMethods 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
-
NO_INDEX
protected static final int NO_INDEX- See Also:
-
STATUS_DESTROYABLE
protected static final byte STATUS_DESTROYABLE- See Also:
-
STATUS_UNDESTROYABLE
protected static final byte STATUS_UNDESTROYABLE- See Also:
-
STATUS_DESTROYED
protected static final byte STATUS_DESTROYED- See Also:
-
orb
-
wrapper
-
any
-
status
protected byte status -
index
protected int index
-
-
Constructor Details
-
DynFixedImpl
-
DynFixedImpl
-
-
Method Details
-
get_value
Description copied from interface:DynFixedOperationsReturns the value of a DynFixed.- Specified by:
get_valuein interfaceDynFixedOperations
-
set_value
Description copied from interface:DynFixedOperationsSets 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_valuein interfaceDynFixedOperations- Throws:
TypeMismatchInvalidValue
-
toString
-
factory
-
getAny
-
getAny
-
writeAny
-
setStatus
protected void setStatus(byte newStatus) -
clearData
protected void clearData() -
type
Description copied from interface:DynAnyOperationsReturns the TypeCode associated with this DynAny object. A DynAny object is created with a TypeCode value assigned to it. This TypeCode value determines the type of the value handled through the DynAny object. Note that the TypeCode associated with a DynAny object is initialized at the time the DynAny is created and cannot be changed during lifetime of the DynAny object.- Specified by:
typein interfaceDynAnyOperations- Returns:
- The TypeCode associated with this DynAny object
-
_ids
-