Class MAPCUG_Feature_v1

    • Constructor Detail

      • MAPCUG_Feature_v1

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

        public MAPCUG_Feature_v1​(CUGInterLockCode Cug_interlock_param,
                                 byte[] Cug_Index_param,
                                 byte[] Cug_Options_param,
                                 byte[] Ss_Status_param)
        Constructs an object from given values for all fields.
        Parameters:
        Cug_interlock_param - value for that field
        Cug_Index_param - value for that field
        Cug_Options_param - value for that field
        Ss_Status_param - value for that field
    • Method Detail

      • copyOf

        public static MAPCUG_Feature_v1 copyOf​(MAPCUG_Feature_v1 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_Feature_v1
      • getCug_Index

        public byte[] getCug_Index()
        Gets the value of the field cug-Index.
        Returns:
        value of field cug-Index, or null if not present
      • getCug_Options

        public byte[] getCug_Options()
        Gets the value of the field cug-Options.
        Returns:
        value of field cug-Options, or null if not present
      • getCug_interlock

        public CUGInterLockCode getCug_interlock()
        Gets the value of the field cug-interlock.
        Returns:
        value of field cug-interlock, 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
      • getSs_Status

        public byte[] getSs_Status()
        Gets the value of the field ss-Status.
        Returns:
        value of field ss-Status, or null if not present
      • hasCug_Index

        public boolean hasCug_Index()
        Tests whether the field cug-Index has a value.
        Returns:
        whether the field cug-Index has a value
      • hasCug_Options

        public boolean hasCug_Options()
        Tests whether the field cug-Options has a value.
        Returns:
        whether the field cug-Options has a value
      • hasCug_interlock

        public boolean hasCug_interlock()
        Tests whether the field cug-interlock has a value.
        Returns:
        whether the field cug-interlock has a value
      • hasSs_Status

        public boolean hasSs_Status()
        Tests whether the field ss-Status has a value.
        Returns:
        whether the field ss-Status has a value