Class EventHeaderTrait

  • All Implemented Interfaces:
    FromSourceLocation, ToNode, ToShapeId, Trait

    public final class EventHeaderTrait
    extends BooleanTrait
    Marks a structure member of an event as an event header.

    This trait can targets members of a structure marked with the event trait that targets blob, boolean, integer, long, string, or timestamp.

    • Field Detail

      • ID

        public static final ShapeId ID
    • Constructor Detail

      • EventHeaderTrait

        public EventHeaderTrait​(SourceLocation sourceLocation)
      • EventHeaderTrait

        public EventHeaderTrait()