public final class ProtocolFieldUnion extends Object
| Constructor and Description |
|---|
ProtocolFieldUnion(Class<? extends ProtocolType> identityref)
Creates an instance of identityref.
|
ProtocolFieldUnion(short uint8)
Creates an instance of uint8.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ProtocolFieldUnion |
fromString(String valInString)
Returns the object of protocolFieldUnion fromString input String protocolFieldUnion.
|
int |
hashCode() |
Class<? extends ProtocolType> |
identityref()
Returns the attribute identityref.
|
void |
identityref(Class<? extends ProtocolType> identityref)
Sets the attribute identityref.
|
static ProtocolFieldUnion |
of(Class<? extends ProtocolType> value)
Returns the object of protocolFieldUnion for type identityref.
|
static ProtocolFieldUnion |
of(short value)
Returns the object of protocolFieldUnion for type uint8.
|
String |
toString() |
short |
uint8()
Returns the attribute uint8.
|
void |
uint8(short uint8)
Sets the attribute uint8.
|
public ProtocolFieldUnion(short uint8)
uint8 - value of uint8public ProtocolFieldUnion(Class<? extends ProtocolType> identityref)
identityref - value of identityrefpublic static ProtocolFieldUnion of(short value)
value - value of protocolFieldUnion for type uint8public static ProtocolFieldUnion of(Class<? extends ProtocolType> value)
value - value of protocolFieldUnion for type identityrefpublic short uint8()
public Class<? extends ProtocolType> identityref()
public void uint8(short uint8)
uint8 - value of uint8public void identityref(Class<? extends ProtocolType> identityref)
identityref - value of identityrefpublic static ProtocolFieldUnion fromString(String valInString)
valInString - value of input StringCopyright © 2017. All rights reserved.