public static class ProtocolOrContainerNW.ProtocolOrContainer extends Choice
protocolOrContainer
field.Modifier and Type | Field and Description |
---|---|
static int |
container_chosen
Identifies the
container alternative. |
static int |
operatorSpecificContainer_chosen
Identifies the
operatorSpecificContainer alternative. |
static int |
protocol_chosen
Identifies the
protocol alternative. |
Constructor and Description |
---|
ProtocolOrContainer()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolOrContainerNW.ProtocolOrContainer |
createWithContainer(ContainerTypeNW container)
Creates an instance of the
ProtocolOrContainer with the container
alternative selected. |
static ProtocolOrContainerNW.ProtocolOrContainer |
createWithOperatorSpecificContainer(OperatorSpecific operatorSpecificContainer)
Creates an instance of the
ProtocolOrContainer with the operatorSpecificContainer
alternative selected. |
static ProtocolOrContainerNW.ProtocolOrContainer |
createWithProtocol(OctetString protocol)
Creates an instance of the
ProtocolOrContainer with the protocol
alternative selected. |
ContainerTypeNW |
getContainer()
Returns the value of the
container alternative. |
OperatorSpecific |
getOperatorSpecificContainer()
Returns the value of the
operatorSpecificContainer alternative. |
OctetString |
getProtocol()
Returns the value of the
protocol alternative. |
boolean |
hasContainer()
Reports whether the
container alternative is selected. |
boolean |
hasOperatorSpecificContainer()
Reports whether the
operatorSpecificContainer alternative is selected. |
boolean |
hasProtocol()
Reports whether the
protocol alternative is selected. |
void |
setContainer(ContainerTypeNW container)
Selects the
container alternative. |
void |
setOperatorSpecificContainer(OperatorSpecific operatorSpecificContainer)
Selects the
operatorSpecificContainer alternative. |
void |
setProtocol(OctetString protocol)
Selects the
protocol alternative. |
clone, equals, getChosenFlag, getChosenValue, hashCode
public static final int container_chosen
container
alternative.public static final int operatorSpecificContainer_chosen
operatorSpecificContainer
alternative.public static final int protocol_chosen
protocol
alternative.public static ProtocolOrContainerNW.ProtocolOrContainer createWithContainer(ContainerTypeNW container)
ProtocolOrContainer
with the container
alternative selected.container
- the value of the container
alternative.ProtocolOrContainer
class.public boolean hasContainer()
container
alternative is selected.container
alternative is selected.public ContainerTypeNW getContainer()
container
alternative.container
alternative or null if the
container
alternative is not selected.public void setContainer(ContainerTypeNW container)
container
alternative.container
- the value of the container
alternative.public static ProtocolOrContainerNW.ProtocolOrContainer createWithOperatorSpecificContainer(OperatorSpecific operatorSpecificContainer)
ProtocolOrContainer
with the operatorSpecificContainer
alternative selected.operatorSpecificContainer
- the value of the operatorSpecificContainer
alternative.ProtocolOrContainer
class.public boolean hasOperatorSpecificContainer()
operatorSpecificContainer
alternative is selected.operatorSpecificContainer
alternative is selected.public OperatorSpecific getOperatorSpecificContainer()
operatorSpecificContainer
alternative.operatorSpecificContainer
alternative or null if the
operatorSpecificContainer
alternative is not selected.public void setOperatorSpecificContainer(OperatorSpecific operatorSpecificContainer)
operatorSpecificContainer
alternative.operatorSpecificContainer
- the value of the operatorSpecificContainer
alternative.public static ProtocolOrContainerNW.ProtocolOrContainer createWithProtocol(OctetString protocol)
ProtocolOrContainer
with the protocol
alternative selected.protocol
- the value of the protocol
alternative.ProtocolOrContainer
class.public boolean hasProtocol()
protocol
alternative is selected.protocol
alternative is selected.public OctetString getProtocol()
protocol
alternative.protocol
alternative or null if the
protocol
alternative is not selected.public void setProtocol(OctetString protocol)
protocol
alternative.protocol
- the value of the protocol
alternative.Copyright © 2023 OSS Nokalva, Inc. All rights reserved.
This document is proprietary to OSS Nokalva, Inc., and may be used only by their direct licensees. Distribution is not permitted. This copyright statement must not be removed.