Class PayloadTrait

  • All Implemented Interfaces:
    Trait

    public final class PayloadTrait
    extends Object
    implements Trait
    Trait that indicates a member is the 'payload' member.
    • Method Detail

      • type

        public TraitType type()
        Description copied from interface: Trait
        The known trait type. This is correctly implemented and uniquely mapped to the enum values which allow us to create enum maps for trait known trait types.
        Specified by:
        type in interface Trait