Class CCCallGapArg

    • Constructor Detail

      • CCCallGapArg

        public CCCallGapArg()
        Constructs an object with uninitialised state.
    • Method Detail

      • copyOf

        public static CCCallGapArg copyOf​(CCCallGapArg 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:
        CCCallGapArg
      • getControlType

        public CCControlType getControlType()
        Gets the value of the field controlType.
        Returns:
        value of field controlType, 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:
        getFieldsMap in class AbstractFieldsObject
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getGapCriteria

        public CCGapCriteria getGapCriteria()
        Gets the value of the field gapCriteria.
        Returns:
        value of field gapCriteria, or null if not present
      • getGapIndicators

        public CCGapIndicators getGapIndicators()
        Gets the value of the field gapIndicators.
        Returns:
        value of field gapIndicators, or null if not present
      • getGapTreatment

        public CCGapTreatment getGapTreatment()
        Gets the value of the field gapTreatment.
        Returns:
        value of field gapTreatment, or null if not present
      • hasControlType

        public boolean hasControlType()
        Tests whether the field controlType has a value.
        Returns:
        whether the field controlType has a value
      • hasGapCriteria

        public boolean hasGapCriteria()
        Tests whether the field gapCriteria has a value.
        Returns:
        whether the field gapCriteria has a value
      • hasGapIndicators

        public boolean hasGapIndicators()
        Tests whether the field gapIndicators has a value.
        Returns:
        whether the field gapIndicators has a value
      • hasGapTreatment

        public boolean hasGapTreatment()
        Tests whether the field gapTreatment has a value.
        Returns:
        whether the field gapTreatment has a value