Class LifeFormsCapabilities

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

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

    • AMMUNITIONSUPPLY

      public static LifeFormsCapabilities.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 LifeFormsCapabilities.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
    • RECOVERY

      public static LifeFormsCapabilities.Bits RECOVERY
      (bit position 2, boolean) Describes whether the entity is able to provide recovery (e.g., towing) services in response to an appropriate service request
    • REPAIR

      public static LifeFormsCapabilities.Bits REPAIR
      (bit position 3, boolean) Describes whether the entity is able to supply certain repair services in response to an appropriate service request
    • RESERVED

      public static LifeFormsCapabilities.Bits RESERVED
      (bit position 4, boolean) This entry is reserved for backward compatibility and may not be reused
  • Constructor Details

    • LifeFormsCapabilities

      public LifeFormsCapabilities()
      Default constructor
    • LifeFormsCapabilities

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

    • set

      Accessor method to set value
      Parameters:
      wh - Bits custom data structure
      value - bits of interest
      Returns:
      this object
    • set

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