Record Class Mavlink2Information

java.lang.Object
java.lang.Record
de.wuespace.telestion.extension.mavlink.message.Mavlink2Information
Record Components:
incompatFlags -
compatFlags -
seqNum -
sysId -
compId -
All Implemented Interfaces:
de.wuespace.telestion.api.message.JsonMessage, PacketInformation

public record Mavlink2Information(int incompatFlags, int compatFlags, int seqNum, int sysId, int compId) extends Record implements PacketInformation
  • Field Summary

    Fields inherited from interface de.wuespace.telestion.api.message.JsonMessage

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Mavlink2Information​(int incompatFlags, int compatFlags, int seqNum, int sysId, int compId)
    Creates an instance of a Mavlink2Information record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the compatFlags record component.
    int
    Returns the value of the compId record component.
    boolean
    equals​(Object o)
    Indicates whether some other object is "equal to" this one.
    int
    Returns a hash code value for this object.
    int
    Returns the value of the incompatFlags record component.
    int
    Returns the value of the seqNum record component.
    int
    Returns the value of the sysId record component.
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface de.wuespace.telestion.api.message.JsonMessage

    className, json, toJsonBuffer, toJsonBuffer, toJsonObject, toJsonString, toJsonString
  • Constructor Details

    • Mavlink2Information

      public Mavlink2Information(int incompatFlags, int compatFlags, int seqNum, int sysId, int compId)
      Creates an instance of a Mavlink2Information record class.
      Parameters:
      incompatFlags - the value for the incompatFlags record component
      compatFlags - the value for the compatFlags record component
      seqNum - the value for the seqNum record component
      sysId - the value for the sysId record component
      compId - the value for the compId record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • incompatFlags

      public int incompatFlags()
      Returns the value of the incompatFlags record component.
      Returns:
      the value of the incompatFlags record component
    • compatFlags

      public int compatFlags()
      Returns the value of the compatFlags record component.
      Returns:
      the value of the compatFlags record component
    • seqNum

      public int seqNum()
      Returns the value of the seqNum record component.
      Returns:
      the value of the seqNum record component
    • sysId

      public int sysId()
      Returns the value of the sysId record component.
      Returns:
      the value of the sysId record component
    • compId

      public int compId()
      Returns the value of the compId record component.
      Returns:
      the value of the compId record component