Class EventType

java.lang.Object
org.fuin.objects4j.vo.AbstractStringValueObject
org.fuin.ddd4j.ddd.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:
  • Constructor Summary

    Constructors
    Constructor
    Description
    EventType(@NotEmpty @Size(max=255) String str)
    Constructor with unique name to use.
  • Method Summary

    Modifier and Type
    Method
    Description
    final String
     
    final String
     

    Methods inherited from class org.fuin.objects4j.vo.AbstractStringValueObject

    asString, compareTo, equals, getBaseType, hashCode, length

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • 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
  • Method Details