Class VTypeToString

java.lang.Object
org.yamcs.studio.data.vtype.VTypeToString

public class VTypeToString extends Object
Helper class that provides default implementation of toString for VTypes.
  • Field Details

  • Constructor Details

    • VTypeToString

      public VTypeToString()
  • Method Details

    • alarmToString

      public static String alarmToString(Alarm alarm)
      Converts the given alarm to a string.
      Parameters:
      alarm - the alarm
      Returns:
      the string representation; never null
    • timeToString

      public static String timeToString(Time time)
      Converts the given time to a string.
      Parameters:
      time - the time
      Returns:
      the string representation; never null
    • toString

      public static String toString(VNumber vNumber)
      Default toString implementation for VNumber.
      Parameters:
      vNumber - the object
      Returns:
      the string representation
    • toString

      public static String toString(VString vString)
      Default toString implementation for VString.
      Parameters:
      vString - the object
      Returns:
      the string representation
    • toString

      public static String toString(VBoolean vBoolean)
      Default toString implementation for VBoolean.
      Parameters:
      vBoolean - the object
      Returns:
      the string representation
    • toString

      public static String toString(VEnum vEnum)
      Default toString implementation for VEnum.
      Parameters:
      vEnum - the object
      Returns:
      the string representation
    • toString

      public static String toString(VNumberArray vNumberArray)
      Default toString implementation for VNumberArray.
      Parameters:
      vNumberArray - the object
      Returns:
      the string representation
    • toString

      public static String toString(VStringArray vStringArray)
      Default toString implementation for VStringArray.
      Parameters:
      vStringArray - the object
      Returns:
      the string representation
    • toString

      public static String toString(VBooleanArray vBooleanArray)
      Default toString implementation for VBooleanArray.
      Parameters:
      vBooleanArray - the object
      Returns:
      the string representation
    • toString

      public static String toString(VEnumArray vEnumArray)
      Default toString implementation for VEnumArray.
      Parameters:
      vEnumArray - the object
      Returns:
      the string representation
    • toString

      public static String toString(VTable vTable)
      Default toString implementation for VTable.
      Parameters:
      vTable - the object
      Returns:
      the string representation