Package com.ericsson.otp.ic
Class Any
- java.lang.Object
-
- com.ericsson.otp.ic.Any
-
- Direct Known Subclasses:
Term
public class Any extends java.lang.ObjectThe Any class is the java mapping of the any OMG-IDL type.
-
-
Constructor Summary
Constructors Constructor Description Any()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequal(Any _any)Any comparison methodjava.lang.Stringextract_atom()Atom value extractor methodbooleanextract_boolean()Boolean value extractor methodcharextract_char()Char value extractor methoddoubleextract_double()Double value extractor methodfloatextract_float()Float value extractor methodintextract_long()Long value extractor methodlongextract_longlong()Long Long value extractor methodbyteextract_octet()Octet value extractor methodshortextract_short()Short value extractor methodcom.ericsson.otp.erlang.OtpInputStreamextract_Streamable()Object Stream extractor methodjava.lang.Stringextract_string()String value extractor methodintextract_ulong()Unsigned Long value extractor methodlongextract_ulonglong()Unsigned Long Long value extractor methodshortextract_ushort()Unsigned Short value extractor methodcharextract_wchar()Wchar value extractor methodjava.lang.Stringextract_wstring()Wstring value extractor methodvoidinsert_atom(java.lang.String s)Atom value insertion methodvoidinsert_boolean(boolean b)Boolean value insertion methodvoidinsert_char(char c)Char value insertion methodvoidinsert_double(double d)Double value insertion methodvoidinsert_float(float f)Float value insertion methodvoidinsert_long(int i)Long value insertion methodvoidinsert_longlong(long l)Long Long value insertion methodvoidinsert_octet(byte b)Octet value insertion methodvoidinsert_short(short s)Short value insertion methodvoidinsert_Streamable(com.ericsson.otp.erlang.OtpOutputStream _os)Object Stream insertion methodvoidinsert_string(java.lang.String s)String value insertion methodvoidinsert_ulong(int i)Unsigned Long value insertion methodvoidinsert_ulonglong(long l)Unsigned Long Long value insertion methodvoidinsert_ushort(short s)Unsigned Short value insertion methodvoidinsert_wchar(char c)Wchar value insertion methodvoidinsert_wstring(java.lang.String s)Wstring value insertion methodvoidread_value(com.ericsson.otp.erlang.OtpInputStream _is, TypeCode _tc)Reads a value from the stream, according to the inserted TypeCodeTypeCodetype()TypeCode accessor methodvoidtype(TypeCode _tc)TypeCode insertion methodvoidwrite_value(com.ericsson.otp.erlang.OtpOutputStream _os)Writes the Any's value to the ouput stream
-
-
-
Method Detail
-
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 java.lang.ExceptionReads a value from the stream, according to the inserted TypeCode- Throws:
java.lang.Exception
-
write_value
public void write_value(com.ericsson.otp.erlang.OtpOutputStream _os) throws java.lang.ExceptionWrites the Any's value to the ouput stream- Throws:
java.lang.Exception
-
extract_short
public short extract_short() throws java.lang.ExceptionShort value extractor method- Returns:
- short, the value of Any
- Throws:
java.lang.Exception
-
insert_short
public void insert_short(short s)
Short value insertion method
-
extract_long
public int extract_long() throws java.lang.ExceptionLong value extractor method- Returns:
- int, the value of Any
- Throws:
java.lang.Exception
-
insert_long
public void insert_long(int i)
Long value insertion method
-
extract_longlong
public long extract_longlong() throws java.lang.ExceptionLong Long value extractor method- Returns:
- long, the value of Any
- Throws:
java.lang.Exception
-
insert_longlong
public void insert_longlong(long l)
Long Long value insertion method
-
extract_ushort
public short extract_ushort() throws java.lang.ExceptionUnsigned Short value extractor method- Returns:
- short, the value of Any
- Throws:
java.lang.Exception
-
insert_ushort
public void insert_ushort(short s)
Unsigned Short value insertion method
-
extract_ulong
public int extract_ulong() throws java.lang.ExceptionUnsigned Long value extractor method- Returns:
- int, the value of Any
- Throws:
java.lang.Exception
-
insert_ulong
public void insert_ulong(int i)
Unsigned Long value insertion method
-
extract_ulonglong
public long extract_ulonglong() throws java.lang.ExceptionUnsigned Long Long value extractor method- Returns:
- long, the value of Any
- Throws:
java.lang.Exception
-
insert_ulonglong
public void insert_ulonglong(long l)
Unsigned Long Long value insertion method
-
extract_float
public float extract_float() throws java.lang.ExceptionFloat value extractor method- Returns:
- float, the value of Any
- Throws:
java.lang.Exception
-
insert_float
public void insert_float(float f)
Float value insertion method
-
extract_double
public double extract_double() throws java.lang.ExceptionDouble value extractor method- Returns:
- double, the value of Any
- Throws:
java.lang.Exception
-
insert_double
public void insert_double(double d)
Double value insertion method
-
extract_boolean
public boolean extract_boolean() throws java.lang.ExceptionBoolean value extractor method- Returns:
- boolean, the value of Any
- Throws:
java.lang.Exception
-
insert_boolean
public void insert_boolean(boolean b)
Boolean value insertion method
-
extract_char
public char extract_char() throws java.lang.ExceptionChar value extractor method- Returns:
- char, the value of Any
- Throws:
java.lang.Exception
-
insert_char
public void insert_char(char c)
Char value insertion method
-
extract_wchar
public char extract_wchar() throws java.lang.ExceptionWchar value extractor method- Returns:
- char, the value of Any
- Throws:
java.lang.Exception
-
insert_wchar
public void insert_wchar(char c)
Wchar value insertion method
-
extract_octet
public byte extract_octet() throws java.lang.ExceptionOctet value extractor method- Returns:
- byte, the value of Any
- Throws:
java.lang.Exception
-
insert_octet
public void insert_octet(byte b)
Octet value insertion method
-
extract_string
public java.lang.String extract_string() throws java.lang.ExceptionString value extractor method- Returns:
- String, the value of Any
- Throws:
java.lang.Exception
-
insert_string
public void insert_string(java.lang.String s)
String value insertion method
-
extract_wstring
public java.lang.String extract_wstring() throws java.lang.ExceptionWstring value extractor method- Returns:
- String, the value of Any
- Throws:
java.lang.Exception
-
insert_wstring
public void insert_wstring(java.lang.String s)
Wstring value insertion method
-
extract_atom
public java.lang.String extract_atom() throws java.lang.ExceptionAtom value extractor method- Returns:
- atom, the value of Any
- Throws:
java.lang.Exception
-
insert_atom
public void insert_atom(java.lang.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
-
-