public class CCBearerCapability extends AbstractFieldsObject
BearerCapability ::=
CHOICE {
bearerCap OCTET STRING
}
CC-DataTypes {
BearerCapability {
@extendible
bearerCap {
@import com.opencloud.slee.resources.in.datatypes.cc.BearerCapability
}
}
}
Used as field type by CCInitialDPArg.
| Modifier and Type | Class and Description |
|---|---|
static class |
CCBearerCapability.Choice
API for CC-DataTypes.BearerCapability.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CCBearerCapability() |
| Modifier and Type | Method and Description |
|---|---|
CCBearerCapability |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCBearerCapability |
copyOf(CCBearerCapability from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
|
BearerCapability |
getBearerCap()
Gets the value of the bearerCap choice.
|
CCBearerCapability.Choice |
getChoice()
Gets the discriminant of the current choice.
|
static FieldAccessor[] |
getFieldAccessors()
Gets a new array of the accessors for fields of this type.
|
Map<String,Object> |
getFieldsMap(boolean withAbsents)
Gets a Map from :discriminant-name to associated-value.
|
boolean |
isBearerCapChosen()
Tests whether the choice is bearerCap.
|
CCBearerCapability |
setBearerCap(BearerCapability value)
Sets the value of the bearerCap choice.
|
protected void |
setChoice(CCBearerCapability.Choice arg)
Sets the discriminant of the current choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CCBearerCapability clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CCBearerCapability copyOf(CCBearerCapability from)
from - the object from which to copypublic BearerCapability getBearerCap()
public CCBearerCapability.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - ignored, as value cannot be optionalpublic boolean isBearerCapChosen()
public CCBearerCapability setBearerCap(BearerCapability value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullprotected void setChoice(CCBearerCapability.Choice arg)
arg - the new discriminantpublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObject