Class SupplyCapabilities

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

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

    • AMMUNITIONSUPPLY

      public static SupplyCapabilities.Bits AMMUNITIONSUPPLY
      (bit position 0, boolean) Describes whether the entity is able to supply some type of ammunition in response to an appropriate service request
    • FUELSUPPLY

      public static SupplyCapabilities.Bits FUELSUPPLY
      (bit position 1, boolean) Describes whether the entity is able to supply some type of fuel in response to an appropriate service request
    • RESERVED

      public static SupplyCapabilities.Bits RESERVED
      (bit position 2, length=3) This entry is reserved for backward compatibility and may not be reused
    • SLINGLOADABLE

      public static SupplyCapabilities.Bits SLINGLOADABLE
      (bit position 6, boolean) The Entity is able to be carried as a sling load payload. The extended appearance record (if available) will identify if it is currently sling loaded and entity association and/or entity offset records (if available) will provide additional sling load details (such as carrier).
    • IEDPRESENCEINDICATOR

      public static SupplyCapabilities.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

    • SupplyCapabilities

      public SupplyCapabilities()
      Default constructor
    • SupplyCapabilities

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

    • set

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

      public SupplyCapabilities 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