Class CAP3GapCriteria

  • All Implemented Interfaces:
    DataObject, Serializable

    public class CAP3GapCriteria
    extends CCGapCriteria
    API for CAP-datatypes.GapCriteria. Generated from the following ASN.1 type definition and the adaptations below.
     GapCriteria ::=
         CHOICE {
             basicGapCriteria    BasicGapCriteria,
             compoundGapCriteria CompoundCriteria
         }
     CAP-datatypes {
         GapCriteria {
             @parentType com.opencloud.slee.resources.cgin.callcontrol.CCGapCriteria
         }
     }
     

    Used as field type by CAP3CallGapArg.

    See Also:
    Serialized Form
    • Constructor Detail

      • CAP3GapCriteria

        public CAP3GapCriteria()
    • Method Detail

      • copyOf

        public static CAP3GapCriteria copyOf​(CCGapCriteria 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:
        CAP3GapCriteria
      • getCompoundGapCriteria

        public CAP3CompoundCriteria getCompoundGapCriteria()
        Gets the value of the compoundGapCriteria choice.
        Returns:
        value of the choice, if choice is compoundGapCriteria, else null
      • 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 :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.
        Overrides:
        getFieldsMap in class CCGapCriteria
        Parameters:
        withAbsents - ignored, as value cannot be optional
        Returns:
        Map from :discriminant-name to associated-value
      • isCompoundGapCriteriaChosen

        public boolean isCompoundGapCriteriaChosen()
        Tests whether the choice is compoundGapCriteria.
        Returns:
        true if chosen, false if not