Class CAP3CompoundCriteria

  • All Implemented Interfaces:
    DataObject, Serializable

    public class CAP3CompoundCriteria
    extends AbstractFieldsObject
    API for CAP-datatypes.CompoundCriteria. Generated from the following ASN.1 type definition.
     CompoundCriteria ::=
         SEQUENCE {
             basicGapCriteria BasicGapCriteria,
             scfID            ScfID OPTIONAL
         }
     

    Used as field type by CAP3GapCriteria.

    See Also:
    Serialized Form
    • Constructor Detail

      • CAP3CompoundCriteria

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

      • copyOf

        public static CAP3CompoundCriteria copyOf​(CAP3CompoundCriteria 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:
        CAP3CompoundCriteria
      • getBasicGapCriteria

        public CCBasicGapCriteria getBasicGapCriteria()
        Gets the value of the field basicGapCriteria.
        Returns:
        value of field basicGapCriteria, 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
      • getScfID

        public CCScfID getScfID()
        Gets the value of the field scfID.
        Returns:
        value of field scfID, or null if not present
      • hasBasicGapCriteria

        public boolean hasBasicGapCriteria()
        Tests whether the field basicGapCriteria has a value.
        Returns:
        whether the field basicGapCriteria has a value
      • hasScfID

        public boolean hasScfID()
        Tests whether the field scfID has a value.
        Returns:
        whether the field scfID has a value