Class BooleanSegment

All Implemented Interfaces:
Serializable, org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.LengthAccessor, org.refcodes.mixin.PayloadAccessor<Boolean>, org.refcodes.mixin.PayloadAccessor.PayloadBuilder<Boolean,PayloadTransmission<Boolean>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<Boolean>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<Boolean>, org.refcodes.mixin.Schemable, PayloadSegment<Boolean>, PayloadTransmission<Boolean>, Segment, Segment.SegmentMixin, Transmission, Transmission.TransmissionMixin

public class BooleanSegment extends AbstractPayloadSegment<Boolean> implements Segment
The BooleanSegment is an implementation of a Segment carrying in boolean value as value.
See Also:
  • Field Details

  • Constructor Details

    • BooleanSegment

      public BooleanSegment()
      Constructs an empty BooleanSegment.
    • BooleanSegment

      public BooleanSegment(boolean aValue)
      Constructs a BooleanSegment with the given boolean payload.
      Parameters:
      aValue - The value (payload) to be contained by the BooleanSegment.
    • BooleanSegment

      public BooleanSegment(String aAlias)
      Constructs an empty BooleanSegment.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
    • BooleanSegment

      public BooleanSegment(String aAlias, boolean aValue)
      Constructs a BooleanSegment with the given boolean payload.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aValue - The value (payload) to be contained by the BooleanSegment.
  • Method Details