Class MAPCCBS_Feature

    • Constructor Detail

      • MAPCCBS_Feature

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

      • copyOf

        public static MAPCCBS_Feature copyOf​(MAPCCBS_Feature 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:
        MAPCCBS_Feature
      • getB_subscriberNumber

        public AddressString getB_subscriberNumber()
        Gets the value of the field b-subscriberNumber.
        Returns:
        value of field b-subscriberNumber, or null if not present
      • getB_subscriberSubaddress

        public ISDNSubaddress getB_subscriberSubaddress()
        Gets the value of the field b-subscriberSubaddress.
        Returns:
        value of field b-subscriberSubaddress, or null if not present
      • getBasicServiceGroup

        public MAPBasicServiceCode getBasicServiceGroup()
        Gets the value of the field basicServiceGroup.
        Returns:
        value of field basicServiceGroup, or null if not present
      • getCcbs_Index

        public int getCcbs_Index()
        Gets the value of the field ccbs-Index.
        Returns:
        value of field ccbs-Index
      • 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
      • hasB_subscriberNumber

        public boolean hasB_subscriberNumber()
        Tests whether the field b-subscriberNumber has a value.
        Returns:
        whether the field b-subscriberNumber has a value
      • hasB_subscriberSubaddress

        public boolean hasB_subscriberSubaddress()
        Tests whether the field b-subscriberSubaddress has a value.
        Returns:
        whether the field b-subscriberSubaddress has a value
      • hasBasicServiceGroup

        public boolean hasBasicServiceGroup()
        Tests whether the field basicServiceGroup has a value.
        Returns:
        whether the field basicServiceGroup has a value
      • hasCcbs_Index

        public boolean hasCcbs_Index()
        Tests whether the field ccbs-Index has a value.
        Returns:
        whether the field ccbs-Index has a value
      • setB_subscriberSubaddress

        public MAPCCBS_Feature setB_subscriberSubaddress​(ISDNSubaddress value)
                                                  throws IllegalStateException
        Sets the value of the field b-subscriberSubaddress. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setCcbs_Index

        public MAPCCBS_Feature setCcbs_Index​(int value)
                                      throws IllegalStateException
        Sets the value of the field ccbs-Index and marks the field as present.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setCcbs_IndexPresent

        public MAPCCBS_Feature setCcbs_IndexPresent​(boolean flag)
                                             throws IllegalStateException
        Sets the presence or absence of the optional field ccbs-Index.
        Parameters:
        flag - either true if the field should be marked as present or false if the field should be marked as absent
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only