public class ContainerTypeNW extends Choice
ContainerTypeNW
type.Modifier and Type | Field and Description |
---|---|
static int |
longLength_chosen
Identifies the
longLength alternative. |
static int |
shortLength_chosen
Identifies the
shortLength alternative. |
Constructor and Description |
---|
ContainerTypeNW()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
static ContainerTypeNW |
createWithLongLength(OctetString longLength)
Creates an instance of the
ContainerTypeNW with the longLength
alternative selected. |
static ContainerTypeNW |
createWithShortLength(OctetString shortLength)
Creates an instance of the
ContainerTypeNW with the shortLength
alternative selected. |
OctetString |
getLongLength()
Returns the value of the
longLength alternative. |
OctetString |
getShortLength()
Returns the value of the
shortLength alternative. |
boolean |
hasLongLength()
Reports whether the
longLength alternative is selected. |
boolean |
hasShortLength()
Reports whether the
shortLength alternative is selected. |
void |
setLongLength(OctetString longLength)
Selects the
longLength alternative. |
void |
setShortLength(OctetString shortLength)
Selects the
shortLength alternative. |
clone, equals, getChosenFlag, getChosenValue, hashCode
public static final int shortLength_chosen
shortLength
alternative.public static final int longLength_chosen
longLength
alternative.public static ContainerTypeNW createWithShortLength(OctetString shortLength)
ContainerTypeNW
with the shortLength
alternative selected.shortLength
- the value of the shortLength
alternative.ContainerTypeNW
class.public boolean hasShortLength()
shortLength
alternative is selected.shortLength
alternative is selected.public OctetString getShortLength()
shortLength
alternative.shortLength
alternative or null if the
shortLength
alternative is not selected.public void setShortLength(OctetString shortLength)
shortLength
alternative.shortLength
- the value of the shortLength
alternative.public static ContainerTypeNW createWithLongLength(OctetString longLength)
ContainerTypeNW
with the longLength
alternative selected.longLength
- the value of the longLength
alternative.ContainerTypeNW
class.public boolean hasLongLength()
longLength
alternative is selected.longLength
alternative is selected.public OctetString getLongLength()
longLength
alternative.longLength
alternative or null if the
longLength
alternative is not selected.public void setLongLength(OctetString longLength)
longLength
alternative.longLength
- the value of the longLength
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.