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:
-
Constructor Summary
ConstructorsConstructorDescriptionStringBasedEntityType(@NotEmpty @Size(max=255) String str) Constructor with unique name to use. -
Method Summary
Methods inherited from class org.fuin.objects4j.vo.AbstractStringValueObject
asString, compareTo, equals, getBaseType, hashCode, lengthMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.fuin.ddd4j.ddd.EntityType
asString
-
Constructor Details
-
StringBasedEntityType
Constructor with unique name to use.- Parameters:
str- Type name of an aggregate that is unique within all types of the context
-
-
Method Details