Class CAP2ApplyChargingReportArg

  • All Implemented Interfaces:
    DataObject, Serializable

    public class CAP2ApplyChargingReportArg
    extends CCApplyChargingReportArg
    API for CAP-DataTypes.ApplyChargingReportArg. Generated from the following ASN.1 type definition and the adaptations below.
     ApplyChargingReportArg ::=
         OCTET STRING (SIZE (12..24)) (CONTAINING CAMEL-CallResult)
     CAP-DataTypes {
         ApplyChargingReportArg {
             @parentType com.opencloud.slee.resources.cgin.callcontrol.CCApplyChargingReportArg

    This API has both a byteArray and a containedValue.

    When a value of this type is received from the network, the received bytes are assigned to the byteArray, and then those bytes are decoded and any resulting value is assigned to the containedValue.

    When a value of this type is sent to the network, any non-null containedValue is encoded and the resulting bytes are sent to the network, otherwise the bytes in the byteArray are sent to the network.

    Used as argument type by CAP2Operations.applyChargingReport.

    See Also:
    Serialized Form
    • Constructor Detail

      • CAP2ApplyChargingReportArg

        public CAP2ApplyChargingReportArg()
        Nullary constructor.
      • CAP2ApplyChargingReportArg

        public CAP2ApplyChargingReportArg​(CAP2CAMEL_CallResult containedValue)
        Constructs from a given initial contained value.
        containedValue - contained value
      • CAP2ApplyChargingReportArg

        public CAP2ApplyChargingReportArg​(byte[] byteArray)
        Constructs from a given initial byte array value.
        byteArray - byte array
    • Method Detail

      • copyOf

        public static CAP2ApplyChargingReportArg copyOf​(CCApplyChargingReportArg 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.
        from - the object from which to copy
      • getContainedValue

        public CAP2CAMEL_CallResult getContainedValue()
        Gets the value of the field containedValue.
        value of field containedValue, or null if not present
      • getFieldAccessors

        public static FieldAccessor[] getFieldAccessors()
        Gets a new array of the accessors for fields of this type.
      • getFieldsMap

        public Map<String,​Object> getFieldsMap​(boolean withAbsents)
        Gets a Map from field-name to field-value containing the byte array and contained value fields.
        getFieldsMap in class ExtendibleOctetString
        withAbsents - whether to put absent optional fields into Map
        Map from field-name to field-value
      • hasContainedValue

        public boolean hasContainedValue()
        Tests whether the field containedValue has a value.
        whether the field containedValue has a value