public final class TypedUnion extends Object
| Constructor and Description |
|---|
TypedUnion(byte int8)
Creates an instance of int8.
|
TypedUnion(Class<? extends IntType> identityref)
Creates an instance of identityref.
|
TypedUnion(int int32)
Creates an instance of int32.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static TypedUnion |
fromString(String valInString)
Returns the object of typedUnion fromString input String typedUnion.
|
int |
hashCode() |
Class<? extends IntType> |
identityref()
Returns the attribute identityref.
|
void |
identityref(Class<? extends IntType> identityref)
Sets the attribute identityref.
|
int |
int32()
Returns the attribute int32.
|
void |
int32(int int32)
Sets the attribute int32.
|
byte |
int8()
Returns the attribute int8.
|
void |
int8(byte int8)
Sets the attribute int8.
|
static TypedUnion |
of(byte value)
Returns the object of typedUnion for type int8.
|
static TypedUnion |
of(Class<? extends IntType> value)
Returns the object of typedUnion for type identityref.
|
static TypedUnion |
of(int value)
Returns the object of typedUnion for type int32.
|
String |
toString() |
public TypedUnion(int int32)
int32 - value of int32public TypedUnion(byte int8)
int8 - value of int8public static TypedUnion of(int value)
value - value of typedUnion for type int32public static TypedUnion of(byte value)
value - value of typedUnion for type int8public static TypedUnion of(Class<? extends IntType> value)
value - value of typedUnion for type identityrefpublic int int32()
public byte int8()
public Class<? extends IntType> identityref()
public void int32(int int32)
int32 - value of int32public void int8(byte int8)
int8 - value of int8public void identityref(Class<? extends IntType> identityref)
identityref - value of identityrefpublic static TypedUnion fromString(String valInString)
valInString - value of input StringCopyright © 2019. All rights reserved.