Class Any

java.lang.Object
com.ericsson.otp.ic.Any
Direct Known Subclasses:
Term

public class Any extends Object
The Any class is the java mapping of the any OMG-IDL type.
  • Constructor Details

    • Any

      public Any()
  • Method Details

    • equal

      public boolean equal(Any _any)
      Any comparison method
      Returns:
      true if the input Any is equal to the object, false otherwize
    • type

      public TypeCode type()
      TypeCode accessor method
      Returns:
      the Any's TypeCode
    • type

      public void type(TypeCode _tc)
      TypeCode insertion method
    • read_value

      public void read_value(com.ericsson.otp.erlang.OtpInputStream _is, TypeCode _tc) throws Exception
      Reads a value from the stream, according to the inserted TypeCode
      Throws:
      Exception
    • write_value

      public void write_value(com.ericsson.otp.erlang.OtpOutputStream _os) throws Exception
      Writes the Any's value to the ouput stream
      Throws:
      Exception
    • extract_short

      public short extract_short() throws Exception
      Short value extractor method
      Returns:
      short, the value of Any
      Throws:
      Exception
    • insert_short

      public void insert_short(short s)
      Short value insertion method
    • extract_long

      public int extract_long() throws Exception
      Long value extractor method
      Returns:
      int, the value of Any
      Throws:
      Exception
    • insert_long

      public void insert_long(int i)
      Long value insertion method
    • extract_longlong

      public long extract_longlong() throws Exception
      Long Long value extractor method
      Returns:
      long, the value of Any
      Throws:
      Exception
    • insert_longlong

      public void insert_longlong(long l)
      Long Long value insertion method
    • extract_ushort

      public short extract_ushort() throws Exception
      Unsigned Short value extractor method
      Returns:
      short, the value of Any
      Throws:
      Exception
    • insert_ushort

      public void insert_ushort(short s)
      Unsigned Short value insertion method
    • extract_ulong

      public int extract_ulong() throws Exception
      Unsigned Long value extractor method
      Returns:
      int, the value of Any
      Throws:
      Exception
    • insert_ulong

      public void insert_ulong(int i)
      Unsigned Long value insertion method
    • extract_ulonglong

      public long extract_ulonglong() throws Exception
      Unsigned Long Long value extractor method
      Returns:
      long, the value of Any
      Throws:
      Exception
    • insert_ulonglong

      public void insert_ulonglong(long l)
      Unsigned Long Long value insertion method
    • extract_float

      public float extract_float() throws Exception
      Float value extractor method
      Returns:
      float, the value of Any
      Throws:
      Exception
    • insert_float

      public void insert_float(float f)
      Float value insertion method
    • extract_double

      public double extract_double() throws Exception
      Double value extractor method
      Returns:
      double, the value of Any
      Throws:
      Exception
    • insert_double

      public void insert_double(double d)
      Double value insertion method
    • extract_boolean

      public boolean extract_boolean() throws Exception
      Boolean value extractor method
      Returns:
      boolean, the value of Any
      Throws:
      Exception
    • insert_boolean

      public void insert_boolean(boolean b)
      Boolean value insertion method
    • extract_char

      public char extract_char() throws Exception
      Char value extractor method
      Returns:
      char, the value of Any
      Throws:
      Exception
    • insert_char

      public void insert_char(char c)
      Char value insertion method
    • extract_wchar

      public char extract_wchar() throws Exception
      Wchar value extractor method
      Returns:
      char, the value of Any
      Throws:
      Exception
    • insert_wchar

      public void insert_wchar(char c)
      Wchar value insertion method
    • extract_octet

      public byte extract_octet() throws Exception
      Octet value extractor method
      Returns:
      byte, the value of Any
      Throws:
      Exception
    • insert_octet

      public void insert_octet(byte b)
      Octet value insertion method
    • extract_string

      public String extract_string() throws Exception
      String value extractor method
      Returns:
      String, the value of Any
      Throws:
      Exception
    • insert_string

      public void insert_string(String s)
      String value insertion method
    • extract_wstring

      public String extract_wstring() throws Exception
      Wstring value extractor method
      Returns:
      String, the value of Any
      Throws:
      Exception
    • insert_wstring

      public void insert_wstring(String s)
      Wstring value insertion method
    • extract_atom

      public String extract_atom() throws Exception
      Atom value extractor method
      Returns:
      atom, the value of Any
      Throws:
      Exception
    • insert_atom

      public void insert_atom(String s)
      Atom value insertion method
    • insert_Streamable

      public void insert_Streamable(com.ericsson.otp.erlang.OtpOutputStream _os)
      Object Stream insertion method
    • extract_Streamable

      public com.ericsson.otp.erlang.OtpInputStream extract_Streamable()
      Object Stream extractor method
      Returns:
      OtpInputStream, the stream value of Any