Public Member Functions | |
Union (Object obj) | |
Object | getUnionMemberInstance () |
ArrayList | getAllowedClassNames () |
void | setObject (Object obj) |
void | setO (Object O) |
void | setI (Integer I) |
void | setG (Long G) |
void | setB (Byte B) |
void | setL (Boolean L) |
void | setD (Double D) |
void | setS (String S) |
String | getAllowedClassNameByIndex (int index) |
int | getAllowedClassIndexByName (String name) |
boolean | getIsAllowedClass (String name) |
Class | getCurrentClass () |
Public Attributes | |
Object | unionMemberInstance |
Object | object |
ArrayList | allowedClassNames = new ArrayList() |
de::gsi::bel::xfer::Union::Union | ( | Object | obj | ) | [inline] |
sets an obj to the current member instance of the union object. The class of object has to fit the list of allowed union members.
obj | object to set as current member instance of the union object |
int de::gsi::bel::xfer::Union::getAllowedClassIndexByName | ( | String | name | ) | [inline] |
name | The name of an member class |
String de::gsi::bel::xfer::Union::getAllowedClassNameByIndex | ( | int | index | ) | [inline] |
index | Index of allowed member class names |
ArrayList de::gsi::bel::xfer::Union::getAllowedClassNames | ( | ) | [inline] |
Class de::gsi::bel::xfer::Union::getCurrentClass | ( | ) | [inline] |
Returns the current member class type
boolean de::gsi::bel::xfer::Union::getIsAllowedClass | ( | String | name | ) | [inline] |
Checks if name is an allowed class of the union
name | The member name |
Object de::gsi::bel::xfer::Union::getUnionMemberInstance | ( | ) | [inline] |
Returns the current member instance
void de::gsi::bel::xfer::Union::setB | ( | Byte | B | ) | [inline] |
Sets a Byte object as union member instance
B | Byte object to set as union member instance |
void de::gsi::bel::xfer::Union::setD | ( | Double | D | ) | [inline] |
Sets a Double object as union member instance
D | Double object to set as union member instance |
void de::gsi::bel::xfer::Union::setG | ( | Long | G | ) | [inline] |
Sets an Long object as union member instance
G | Long object to set as union member instance |
void de::gsi::bel::xfer::Union::setI | ( | Integer | I | ) | [inline] |
Sets an Integer object as union member instance
I | Integer object to set as union member instance |
void de::gsi::bel::xfer::Union::setL | ( | Boolean | L | ) | [inline] |
Sets a Boolean object as union member instance
L | Boolean object to set as union member instance |
void de::gsi::bel::xfer::Union::setO | ( | Object | O | ) | [inline] |
Sets an Object object as union member instance
O | Object object to set as union member instance |
void de::gsi::bel::xfer::Union::setObject | ( | Object | obj | ) | [inline] |
Sets an object as union member instance
obj | the object to set as union member instance |
void de::gsi::bel::xfer::Union::setS | ( | String | S | ) | [inline] |
Sets a String object as union member instance
S | String object to set as union member instance |