Class MAPActivateTraceModeArg
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPActivateTraceModeArg
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPActivateTraceModeArg extends AbstractFieldsObject
API for MAP-OM-DataTypes.ActivateTraceModeArg. Generated from the following ASN.1 type definition.ActivateTraceModeArg ::= SEQUENCE { imsi IMSI OPTIONAL, traceReference TraceReference, traceType TraceType, omc-Id AddressString OPTIONAL, -- Renamed from omcId between ph1 and ph2. extensionContainer ExtensionContainer OPTIONAL, -- Added in R96. ... traceReference2 TraceReference2 OPTIONAL, -- Added in release 6. traceDepthList TraceDepthList OPTIONAL, -- Added in release 6. traceNE-TypeList TraceNE-TypeList OPTIONAL, -- Added in release 6. traceInterfaceList TraceInterfaceList OPTIONAL, -- Added in release 6. traceEventList TraceEventList OPTIONAL, -- Added in release 6. traceCollectionEntity GSN-Address OPTIONAL -- Added in release 8. }Present in ph1.Used as argument type by
MAPOperations.activateTraceMode.Used as argument type by
MAPOperations.activateTraceMode_v3.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPActivateTraceModeArg()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPActivateTraceModeArgclone()Constructs a copy of this object and everything reachable from it.static MAPActivateTraceModeArgcopyOf(MAPActivateTraceModeArg 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.MAPExtensionContainergetExtensionContainer()Gets the value of the field extensionContainer.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 field-name to field-value.IMSIAddressgetImsi()Gets the value of the field imsi.AddressStringgetOmc_Id()Gets the value of the field omc-Id.GSNAddressgetTraceCollectionEntity()Gets the value of the field traceCollectionEntity.MAPTraceDepthListgetTraceDepthList()Gets the value of the field traceDepthList.MAPTraceEventListgetTraceEventList()Gets the value of the field traceEventList.MAPTraceInterfaceListgetTraceInterfaceList()Gets the value of the field traceInterfaceList.MAPTraceNE_TypeListgetTraceNE_TypeList()Gets the value of the field traceNE-TypeList.byte[]getTraceReference()Gets the value of the field traceReference.byte[]getTraceReference2()Gets the value of the field traceReference2.intgetTraceType()Gets the value of the field traceType.booleanhasExtensionContainer()Tests whether the field extensionContainer has a value.booleanhasImsi()Tests whether the field imsi has a value.booleanhasOmc_Id()Tests whether the field omc-Id has a value.booleanhasTraceCollectionEntity()Tests whether the field traceCollectionEntity has a value.booleanhasTraceDepthList()Tests whether the field traceDepthList has a value.booleanhasTraceEventList()Tests whether the field traceEventList has a value.booleanhasTraceInterfaceList()Tests whether the field traceInterfaceList has a value.booleanhasTraceNE_TypeList()Tests whether the field traceNE-TypeList has a value.booleanhasTraceReference()Tests whether the field traceReference has a value.booleanhasTraceReference2()Tests whether the field traceReference2 has a value.booleanhasTraceType()Tests whether the field traceType has a value.MAPActivateTraceModeArgsetExtensionContainer(MAPExtensionContainer value)Sets the value of the field extensionContainer.MAPActivateTraceModeArgsetImsi(IMSIAddress value)Sets the value of the field imsi.MAPActivateTraceModeArgsetOmc_Id(AddressString value)Sets the value of the field omc-Id.voidsetReadOnly()Sets this and all its fields to be immutable.MAPActivateTraceModeArgsetTraceCollectionEntity(GSNAddress value)Sets the value of the field traceCollectionEntity.MAPActivateTraceModeArgsetTraceDepthList(MAPTraceDepthList value)Sets the value of the field traceDepthList.MAPActivateTraceModeArgsetTraceEventList(MAPTraceEventList value)Sets the value of the field traceEventList.MAPActivateTraceModeArgsetTraceInterfaceList(MAPTraceInterfaceList value)Sets the value of the field traceInterfaceList.MAPActivateTraceModeArgsetTraceNE_TypeList(MAPTraceNE_TypeList value)Sets the value of the field traceNE-TypeList.MAPActivateTraceModeArgsetTraceReference(byte[] value)Sets the value of the field traceReference.MAPActivateTraceModeArgsetTraceReference2(byte[] value)Sets the value of the field traceReference2.MAPActivateTraceModeArgsetTraceType(int value)Sets the value of the field traceType and marks the field as present.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public MAPActivateTraceModeArg clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Specified by:
clonein classAbstractDataObject- Returns:
- copy of object
-
copyOf
public static MAPActivateTraceModeArg copyOf(MAPActivateTraceModeArg 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.- Parameters:
from- the object from which to copy- Returns:
- MAPActivateTraceModeArg
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, or null if not present
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMapin classAbstractFieldsObject- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getImsi
public IMSIAddress getImsi()
Gets the value of the field imsi.- Returns:
- value of field imsi, or null if not present
-
getOmc_Id
public AddressString getOmc_Id()
Gets the value of the field omc-Id.- Returns:
- value of field omc-Id, or null if not present
-
getTraceCollectionEntity
public GSNAddress getTraceCollectionEntity()
Gets the value of the field traceCollectionEntity.- Returns:
- value of field traceCollectionEntity, or null if not present
-
getTraceDepthList
public MAPTraceDepthList getTraceDepthList()
Gets the value of the field traceDepthList.- Returns:
- value of field traceDepthList, or null if not present
-
getTraceEventList
public MAPTraceEventList getTraceEventList()
Gets the value of the field traceEventList.- Returns:
- value of field traceEventList, or null if not present
-
getTraceInterfaceList
public MAPTraceInterfaceList getTraceInterfaceList()
Gets the value of the field traceInterfaceList.- Returns:
- value of field traceInterfaceList, or null if not present
-
getTraceNE_TypeList
public MAPTraceNE_TypeList getTraceNE_TypeList()
Gets the value of the field traceNE-TypeList.- Returns:
- value of field traceNE-TypeList, or null if not present
-
getTraceReference
public byte[] getTraceReference()
Gets the value of the field traceReference.- Returns:
- value of field traceReference, or null if not present
-
getTraceReference2
public byte[] getTraceReference2()
Gets the value of the field traceReference2.- Returns:
- value of field traceReference2, or null if not present
-
getTraceType
public int getTraceType()
Gets the value of the field traceType.- Returns:
- value of field traceType
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasImsi
public boolean hasImsi()
Tests whether the field imsi has a value.- Returns:
- whether the field imsi has a value
-
hasOmc_Id
public boolean hasOmc_Id()
Tests whether the field omc-Id has a value.- Returns:
- whether the field omc-Id has a value
-
hasTraceCollectionEntity
public boolean hasTraceCollectionEntity()
Tests whether the field traceCollectionEntity has a value.- Returns:
- whether the field traceCollectionEntity has a value
-
hasTraceDepthList
public boolean hasTraceDepthList()
Tests whether the field traceDepthList has a value.- Returns:
- whether the field traceDepthList has a value
-
hasTraceEventList
public boolean hasTraceEventList()
Tests whether the field traceEventList has a value.- Returns:
- whether the field traceEventList has a value
-
hasTraceInterfaceList
public boolean hasTraceInterfaceList()
Tests whether the field traceInterfaceList has a value.- Returns:
- whether the field traceInterfaceList has a value
-
hasTraceNE_TypeList
public boolean hasTraceNE_TypeList()
Tests whether the field traceNE-TypeList has a value.- Returns:
- whether the field traceNE-TypeList has a value
-
hasTraceReference
public boolean hasTraceReference()
Tests whether the field traceReference has a value.- Returns:
- whether the field traceReference has a value
-
hasTraceReference2
public boolean hasTraceReference2()
Tests whether the field traceReference2 has a value.- Returns:
- whether the field traceReference2 has a value
-
hasTraceType
public boolean hasTraceType()
Tests whether the field traceType has a value.- Returns:
- whether the field traceType has a value
-
setExtensionContainer
public MAPActivateTraceModeArg setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setImsi
public MAPActivateTraceModeArg setImsi(IMSIAddress value) throws IllegalStateException
Sets the value of the field imsi. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setOmc_Id
public MAPActivateTraceModeArg setOmc_Id(AddressString value) throws IllegalStateException
Sets the value of the field omc-Id. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classAbstractDataObject
-
setTraceCollectionEntity
public MAPActivateTraceModeArg setTraceCollectionEntity(GSNAddress value) throws IllegalStateException
Sets the value of the field traceCollectionEntity. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setTraceDepthList
public MAPActivateTraceModeArg setTraceDepthList(MAPTraceDepthList value) throws IllegalStateException
Sets the value of the field traceDepthList. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setTraceEventList
public MAPActivateTraceModeArg setTraceEventList(MAPTraceEventList value) throws IllegalStateException
Sets the value of the field traceEventList. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setTraceInterfaceList
public MAPActivateTraceModeArg setTraceInterfaceList(MAPTraceInterfaceList value) throws IllegalStateException
Sets the value of the field traceInterfaceList. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setTraceNE_TypeList
public MAPActivateTraceModeArg setTraceNE_TypeList(MAPTraceNE_TypeList value) throws IllegalStateException
Sets the value of the field traceNE-TypeList. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setTraceReference
public MAPActivateTraceModeArg setTraceReference(byte[] value) throws IllegalStateException
Sets the value of the field traceReference.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setTraceReference2
public MAPActivateTraceModeArg setTraceReference2(byte[] value) throws IllegalStateException
Sets the value of the field traceReference2. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setTraceType
public MAPActivateTraceModeArg setTraceType(int value) throws IllegalStateException
Sets the value of the field traceType and marks the field as present.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
-