Package org.fuin.ddd4j.ddd
Class StringBasedEntityType
- java.lang.Object
-
- org.fuin.objects4j.vo.AbstractStringValueObject
-
- org.fuin.ddd4j.ddd.StringBasedEntityType
-
- All Implemented Interfaces:
Serializable,Comparable<org.fuin.objects4j.vo.AbstractStringValueObject>,EntityType,org.fuin.objects4j.vo.AsStringCapable,org.fuin.objects4j.vo.ValueObject,org.fuin.objects4j.vo.ValueObjectWithBaseType<String>
@Immutable public final class StringBasedEntityType extends org.fuin.objects4j.vo.AbstractStringValueObject implements EntityType
Entity type based on a string with a maximum length of 255 characters.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringBasedEntityType(@NotEmpty @Size(max=255) String str)Constructor with unique name to use.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasBaseType()StringtoString()-
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
-
Methods inherited from interface org.fuin.ddd4j.ddd.EntityType
asString
-
-
-
-
Constructor Detail
-
StringBasedEntityType
public StringBasedEntityType(@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
-
-