Class MunitionCapabilities

java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.MunitionCapabilities
All Implemented Interfaces:
EntityCapabilities, Marshaller, Serializable, Cloneable

public class MunitionCapabilities extends DisBitSet implements EntityCapabilities
Generated from XML, UID 455, marshal size 32, MunitionCapabilities
See Also:
  • Field Details

    • RESERVED

      public static MunitionCapabilities.Bits RESERVED
      (bit position 0, length=5) This entry is reserved for backward compatibility and may not be reused
    • IEDPRESENCEINDICATOR

      public static MunitionCapabilities.Bits IEDPRESENCEINDICATOR
      (bit position 7, boolean) The Entity is an IED or contains an IED. The extended appearance record (if available) will identify how well hidden the IED is on the Entity. An Attached Part (if applicable, for instance a jury-rigged munition does not apply here) will identify the IED explicitly.
  • Constructor Details

    • MunitionCapabilities

      public MunitionCapabilities()
      Default constructor
    • MunitionCapabilities

      public MunitionCapabilities(MunitionCapabilities.Bits wh, int value)
      Default constructor with parameters
      Parameters:
      wh - Bits custom data structure
      value - bits of interest
  • Method Details

    • set

      public MunitionCapabilities set(MunitionCapabilities.Bits wh, int value)
      Accessor method to set value
      Parameters:
      wh - Bits custom data structure
      value - bits of interest
      Returns:
      this object
    • set

      public MunitionCapabilities set(int start, int length, int value)
      Some bitfields are defined without specific bits enumerated
      Parameters:
      start - initial position in bit array
      length - number of bits
      value - bits of interest
      Returns:
      this object
    • toString

      public String toString()
      Provide string representation
      Overrides:
      toString in class BitSet
      Returns:
      string representation