Class MAPCUG_Information

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPCUG_Information
    extends AbstractFieldsObject
    API for MAP-SS-DataTypes-ph1.CUG-Information. Generated from the following ASN.1 type definition.
     CUG-Information ::=
         SEQUENCE {
             cug-Facilities CUG-Facilities,
             cug-Features   CHOICE {
                 cug-Feature     CUG-Feature-v1,
                 cug-FeatureList CUG-FeatureList-v1
             }
         }
     
    Present in ph1. Removed between ph1 and ph2 (replaced by MAPCUG_Info).

    Used as field type by MAPSS_Information.

    Used as field type by MAPSentParameter.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPCUG_Information

        public MAPCUG_Information()
        Constructs an object with uninitialised state.
      • MAPCUG_Information

        public MAPCUG_Information​(byte[] Cug_Facilities_param,
                                  MAPCUG_Information.Cug_Features Cug_Features_param)
        Constructs an object from given values for all fields.
        Parameters:
        Cug_Facilities_param - value for that field
        Cug_Features_param - value for that field
    • Method Detail

      • copyOf

        public static MAPCUG_Information copyOf​(MAPCUG_Information 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:
        MAPCUG_Information
      • getCug_Facilities

        public byte[] getCug_Facilities()
        Gets the value of the field cug-Facilities.
        Returns:
        value of field cug-Facilities, or null if not present
      • getCug_Features

        public MAPCUG_Information.Cug_Features getCug_Features()
        Gets the value of the field cug-Features.
        Returns:
        value of field cug-Features, 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
      • hasCug_Facilities

        public boolean hasCug_Facilities()
        Tests whether the field cug-Facilities has a value.
        Returns:
        whether the field cug-Facilities has a value
      • hasCug_Features

        public boolean hasCug_Features()
        Tests whether the field cug-Features has a value.
        Returns:
        whether the field cug-Features has a value