Package org.fuin.ddd4j.ddd
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.AbstractStringValueObjectIdentifies an event type within an aggregate type.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasBaseType()StringtoString()
-
-
-
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
-
-