1   /* Copyright 2022-2025 Luc Maisonobe
2    * Licensed to CS GROUP (CS) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * CS licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *   http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.orekit.files.rinex.navigation;
18  
19  import org.orekit.gnss.SatelliteSystem;
20  
21  /** Container for data contained in a ionosphere Nequick G message.
22   * @author Luc Maisonobe
23   * @since 12.0
24   */
25  public class IonosphereNequickGMessage extends IonosphereBaseMessage {
26  
27      /** Aij. */
28      private final IonosphereAij aij;
29  
30      /** Disturbance flags. */
31      private int flags;
32  
33      /** Simple constructor.
34       * @param system satellite system
35       * @param prn satellite number
36       * @param navigationMessageType navigation message type
37       * @param subType message subtype
38       */
39      public IonosphereNequickGMessage(final SatelliteSystem system, final int prn,
40                                       final String navigationMessageType, final String subType) {
41          super(system, prn, navigationMessageType, subType);
42          this.aij = new IonosphereAij();
43      }
44  
45      /** Get aᵢⱼ coefficients.
46       * @return aᵢⱼ coefficients
47       */
48      public IonosphereAij getAij() {
49          return aij;
50      }
51  
52      /** Get the disturbance flags.
53       * @return disturbance flags
54       */
55      public int getFlags() {
56          return flags;
57      }
58  
59      /** Set the disturbance flags.
60       * @param flags disturbance flags
61       */
62      public void setFlags(final int flags) {
63          this.flags = flags;
64      }
65  
66  }