Class EventType

  • All Implemented Interfaces:
    Serializable, Comparable<org.fuin.objects4j.vo.AbstractStringValueObject>, org.fuin.objects4j.vo.AsStringCapable, org.fuin.objects4j.vo.ValueObject, org.fuin.objects4j.vo.ValueObjectWithBaseType<String>

    @Immutable
    public class EventType
    extends org.fuin.objects4j.vo.AbstractStringValueObject
    Identifies an event type within an aggregate type.
    See Also:
    Serialized Form
    • Constructor Detail

      • EventType

        public EventType​(@NotEmpty @Size(max=255)
                         @NotEmpty @Size(max=255) String str)
        Constructor with unique name to use.
        Parameters:
        str - Type name of an aggregate that is unique within all types of the context