Class DynFixedImpl

All Implemented Interfaces:
Serializable, Object, IDLEntity, DynAny, DynAnyOperations, DynFixed, DynFixedOperations

public class DynFixedImpl extends DynAnyBasicImpl implements DynFixed
See Also:
  • Field Details

  • Constructor Details

    • DynFixedImpl

      protected DynFixedImpl(ORB orb, Any any, boolean copyValue)
    • DynFixedImpl

      protected DynFixedImpl(ORB orb, TypeCode typeCode)
  • Method Details

    • get_value

      public String get_value()
      Description copied from interface: DynFixedOperations
      Returns the value of a DynFixed.
      Specified by:
      get_value in interface DynFixedOperations
    • set_value

      public boolean set_value(String val) throws TypeMismatch, InvalidValue
      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 interface DynFixedOperations
      Throws:
      TypeMismatch
      InvalidValue
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • factory

      protected DynAnyFactory factory()
    • getAny

      protected Any getAny()
    • getAny

      protected Any getAny(DynAny dynAny)
    • writeAny

      protected void writeAny(OutputStream out)
    • setStatus

      protected void setStatus(byte newStatus)
    • clearData

      protected void clearData()
    • type

      public TypeCode type()
      Description copied from interface: DynAnyOperations
      Returns 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:
      type in interface DynAnyOperations
      Returns:
      The TypeCode associated with this DynAny object
    • _ids

      public String[] _ids()