Uses of Interface
org.fuin.ddd4j.core.EntityIdFactory
-
Uses of EntityIdFactory in org.fuin.ddd4j.core
Classes in org.fuin.ddd4j.core that implement EntityIdFactoryModifier and TypeClassDescriptionfinal classRegistry that is built up by scanning for classes that are annotated with:HasPublicStaticIsValidMethodHasPublicStaticValueOfMethod(with String parameter)HasEntityTypeConstantand implementingEntityId.Methods in org.fuin.ddd4j.core with parameters of type EntityIdFactoryModifier and TypeMethodDescriptionstatic booleanEntityId.isValid(@NotNull EntityIdFactory factory, String value) Verifies that the given value can be converted into a value object using the factory.static booleanEntityIdPath.isValid(@NotNull EntityIdFactory factory, String value) Check that a given string is a well-formed email address.static voidEntityId.requireArgValid(@NotNull EntityIdFactory factory, @NotNull String name, String value) Verifies if the argument is valid and throws an exception if this is not the case.static voidEntityIdPath.requireArgValid(@NotNull EntityIdFactory factory, @NotNull String name, String value) Checks if the argument is a valid email and throws an exception if this is not the case.static EntityIdEntityId.valueOf(@NotNull EntityIdFactory factory, String value) Converts a string into an entity identifier.static EntityIdPathEntityIdPath.valueOf(@NotNull EntityIdFactory factory, String str) Converts a given string into an instance of this class.