Skip navigation links
A B C D E F G H I J L M O P R S T U V 

A

AbstractAggregateRoot<ID extends AggregateRootId> - Class in org.fuin.ddd4j.ddd
Base class for aggregate roots.
AbstractAggregateRoot() - Constructor for class org.fuin.ddd4j.ddd.AbstractAggregateRoot
Default constructor.
AbstractDomainEvent<ID extends EntityId> - Class in org.fuin.ddd4j.ddd
Base class for domain events.
AbstractDomainEvent() - Constructor for class org.fuin.ddd4j.ddd.AbstractDomainEvent
Protected default constructor for deserialization.
AbstractDomainEvent(EntityIdPath) - Constructor for class org.fuin.ddd4j.ddd.AbstractDomainEvent
Constructor with entity identifier path.
AbstractDomainEvent(EntityIdPath, Event) - Constructor for class org.fuin.ddd4j.ddd.AbstractDomainEvent
Constructor with entity identifier path and event this one responds to.
AbstractDomainEvent(EntityIdPath, EventId, EventId) - Constructor for class org.fuin.ddd4j.ddd.AbstractDomainEvent
Constructor with entity identifier path, correlation and causation identifiers.
AbstractEntity<ROOT_ID extends AggregateRootId,ROOT extends AbstractAggregateRoot<ROOT_ID>,ID extends EntityId> - Class in org.fuin.ddd4j.ddd
Base class for entities.
AbstractEntity(ROOT) - Constructor for class org.fuin.ddd4j.ddd.AbstractEntity
Constructor with root aggregate.
AbstractEvent - Class in org.fuin.ddd4j.ddd
Base class for events.
AbstractEvent() - Constructor for class org.fuin.ddd4j.ddd.AbstractEvent
Default constructor.
AbstractEvent(Event) - Constructor for class org.fuin.ddd4j.ddd.AbstractEvent
Constructor with event this one responds to.
AbstractEvent(EventId, EventId) - Constructor for class org.fuin.ddd4j.ddd.AbstractEvent
Constructor with optional data.
adaptFromJson(String) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
 
adaptToJson(EntityId) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
 
add(T) - Method in interface org.fuin.ddd4j.ddd.Repository
Adds a new aggregate to the repository without any meta data.
add(T, String, Object) - Method in interface org.fuin.ddd4j.ddd.Repository
Adds a new aggregate to the repository with some meta data.
add(AGGREGATE) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
 
add(AGGREGATE, String, Object) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
 
AggregateAlreadyExistsException - Exception in org.fuin.ddd4j.ddd
An aggregate already exists when trying to create it.
AggregateAlreadyExistsException() - Constructor for exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
JAX-B constructor.
AggregateAlreadyExistsException(EntityType, AggregateRootId, int) - Constructor for exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
Constructor with all data.
AggregateCache<AGGREGATE> - Interface in org.fuin.ddd4j.ddd
Cache for aggregates of the same type.
AggregateDeletedException - Exception in org.fuin.ddd4j.ddd
Signals that an aggregate of a given type and identifier was deleted from the repository.
AggregateDeletedException() - Constructor for exception org.fuin.ddd4j.ddd.AggregateDeletedException
JAX-B constructor.
AggregateDeletedException(EntityType, AggregateRootId) - Constructor for exception org.fuin.ddd4j.ddd.AggregateDeletedException
Constructor with all data.
AggregateNoCache<AGGREGATE> - Class in org.fuin.ddd4j.ddd
Never caches anything.
AggregateNoCache() - Constructor for class org.fuin.ddd4j.ddd.AggregateNoCache
 
AggregateNotFoundException - Exception in org.fuin.ddd4j.ddd
Signals that an aggregate of a given type and identifier was not found in the repository.
AggregateNotFoundException() - Constructor for exception org.fuin.ddd4j.ddd.AggregateNotFoundException
JAX-B constructor.
AggregateNotFoundException(EntityType, AggregateRootId) - Constructor for exception org.fuin.ddd4j.ddd.AggregateNotFoundException
Constructor with all data.
AggregateRoot<ID extends AggregateRootId> - Interface in org.fuin.ddd4j.ddd
Dedicated entity of a group of entities (The group is called "Aggregate") that guarantees the consistency of changes being made within the group by forbidding external objects from holding direct references to its members.
AggregateRootId - Interface in org.fuin.ddd4j.ddd
Identifies an aggregate within all aggregates of the same type.
AggregateRootUuid - Class in org.fuin.ddd4j.ddd
UUID based aggregate root identifier.
AggregateRootUuid(EntityType) - Constructor for class org.fuin.ddd4j.ddd.AggregateRootUuid
Constructor with entity type.
AggregateRootUuid(EntityType, UUID) - Constructor for class org.fuin.ddd4j.ddd.AggregateRootUuid
Constructor with UUID.
AggregateRootUuid.AggregateRootUuidStr - Annotation Type in org.fuin.ddd4j.ddd
Ensures that the string can be converted into the type.
AggregateRootUuid.Validator - Class in org.fuin.ddd4j.ddd
Validates if a string is compliant with the type.
AggregateStreamId - Class in org.fuin.ddd4j.esrepo
Unique name of an aggregate stream.
AggregateStreamId(EntityType, String, AggregateRootId) - Constructor for class org.fuin.ddd4j.esrepo.AggregateStreamId
Constructor with type and id.
AggregateVersion - Class in org.fuin.ddd4j.ddd
Version of an aggregate root.
AggregateVersion(Integer) - Constructor for class org.fuin.ddd4j.ddd.AggregateVersion
Constructor with value.
AggregateVersionConflictException - Exception in org.fuin.ddd4j.ddd
Signals a conflict between an expected and an actual version for an aggregate.
AggregateVersionConflictException() - Constructor for exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
JAX-B constructor.
AggregateVersionConflictException(EntityType, AggregateRootId, int, int) - Constructor for exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
Constructor with all data.
AggregateVersionConverter - Class in org.fuin.ddd4j.ddd
Converts an aggregate version into an integer and back (JAXB and JPA).
AggregateVersionConverter() - Constructor for class org.fuin.ddd4j.ddd.AggregateVersionConverter
 
AggregateVersionNotFoundException - Exception in org.fuin.ddd4j.ddd
Signals that the requested version for an aggregate does not exist.
AggregateVersionNotFoundException() - Constructor for exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
JAX-B constructor.
AggregateVersionNotFoundException(EntityType, AggregateRootId, int) - Constructor for exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
Constructor with all data.
apply(DomainEvent<?>) - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
Applies the given new event.
apply(DomainEvent<?>) - Method in class org.fuin.ddd4j.ddd.AbstractEntity
Applies the given new event.
ApplyEvent - Annotation Type in org.fuin.ddd4j.ddd
Identifies a method in an aggregate or an entity that applies a given domain event.
asBaseType() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
 
asBaseType() - Method in class org.fuin.ddd4j.ddd.AggregateVersion
 
asBaseType() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
 
asBaseType() - Method in class org.fuin.ddd4j.ddd.EventId
 
asBaseType() - Method in class org.fuin.ddd4j.ddd.EventType
 
asBaseType() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
 
asBaseType() - Method in class org.fuin.ddd4j.ddd.StringBasedEntityType
 
asString() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
 
asString() - Method in interface org.fuin.ddd4j.ddd.EntityId
Returns the entity identifier as string.
asString() - Method in interface org.fuin.ddd4j.ddd.EntityType
Returns the entity type name as string.
asString() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
 
asString() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
 
asTypedString() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
 
asTypedString() - Method in interface org.fuin.ddd4j.ddd.EntityId
Returns the entity identifier as string with type and identifier.
asTypedString() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
 

B

BusinessKey - Interface in org.fuin.ddd4j.ddd
Human readable business (natural) key often used in documents or shown in the user interface.

C

ChildEntityLocator - Annotation Type in org.fuin.ddd4j.ddd
Method that is able to return a child entity by it's identifier.
compareTo(AggregateRootUuid) - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
 
compareTo(IntegerEntityId) - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
 
conflictsResolved(List<DomainEvent<?>>, List<DomainEvent<?>>) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
Checks if the uncommitted changes conflicts with unseen changes from the event store and tries to solve the problem.
containsType(String) - Method in interface org.fuin.ddd4j.ddd.EntityIdFactory
Verifies if the given type string is a valid one.
create() - Method in interface org.fuin.ddd4j.ddd.Repository
Factory method to create a new aggregate.
createEntityId(String, String) - Method in interface org.fuin.ddd4j.ddd.EntityIdFactory
Creates an entity id by type and string identifier.

D

Ddd4JUtils - Class in org.fuin.ddd4j.ddd
Utility methods and constants.
decrypt(EncryptedData) - Method in interface org.fuin.ddd4j.ddd.EncryptedData.Decrypter
Decrypts the data using the information provided by the parameter.
DecryptionFailedException - Exception in org.fuin.ddd4j.ddd
Signals that decrypting the data failed.
DecryptionFailedException() - Constructor for exception org.fuin.ddd4j.ddd.DecryptionFailedException
Default constructor.
delete(ID, int) - Method in interface org.fuin.ddd4j.ddd.Repository
Deletes an aggregate from the repository.
delete(ID, int) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
 
DomainEvent<ID extends EntityId> - Interface in org.fuin.ddd4j.ddd
Domain event published by an entity.
DomainEventExpectedEntityIdPath - Annotation Type in org.fuin.ddd4j.ddd
The entity identifier path of a domain event should contain a defined order and type of entries.
DomainEventExpectedEntityIdPathValidator - Class in org.fuin.ddd4j.ddd
Validates that the path has a defined order and type.
DomainEventExpectedEntityIdPathValidator() - Constructor for class org.fuin.ddd4j.ddd.DomainEventExpectedEntityIdPathValidator
 
DuplicateEntityException - Exception in org.fuin.ddd4j.ddd
Signals that an entity already existed in it's parent.
DuplicateEntityException() - Constructor for exception org.fuin.ddd4j.ddd.DuplicateEntityException
JAX-B constructor.
DuplicateEntityException(EntityIdPath, EntityId) - Constructor for exception org.fuin.ddd4j.ddd.DuplicateEntityException
Constructor with all data.

E

encrypt(String, String, String, byte[]) - Method in interface org.fuin.ddd4j.ddd.EncryptedData.Encrypter
Encrypts some data using a dedicated key.
EncryptedData - Class in org.fuin.ddd4j.ddd
Container for encrypted data.
EncryptedData() - Constructor for class org.fuin.ddd4j.ddd.EncryptedData
Default constructor for deserialization (JAX-B/JSON-B).
EncryptedData(String, String, String, String, String, byte[]) - Constructor for class org.fuin.ddd4j.ddd.EncryptedData
Constructor with all mandatory data.
EncryptedData.Decrypter - Interface in org.fuin.ddd4j.ddd
Decrypts some data.
EncryptedData.Encrypter - Interface in org.fuin.ddd4j.ddd
Encrypts some data.
EncryptionIvVersionUnknownException - Exception in org.fuin.ddd4j.ddd
Signals that the requested version of the initialization vector is unknown.
EncryptionIvVersionUnknownException() - Constructor for exception org.fuin.ddd4j.ddd.EncryptionIvVersionUnknownException
Constructor for unmarshalling.
EncryptionIvVersionUnknownException(String) - Constructor for exception org.fuin.ddd4j.ddd.EncryptionIvVersionUnknownException
Constructor with all data.
EncryptionKeyIdUnknownException - Exception in org.fuin.ddd4j.ddd
Signals that the encryption key identifier is unknown.
EncryptionKeyIdUnknownException() - Constructor for exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
Constructor for unmarshalling.
EncryptionKeyIdUnknownException(String) - Constructor for exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
Constructor with all data.
EncryptionKeyVersionUnknownException - Exception in org.fuin.ddd4j.ddd
Signals that the requested version of the encryption key is unknown.
EncryptionKeyVersionUnknownException() - Constructor for exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
Constructor for unmarshalling.
EncryptionKeyVersionUnknownException(String) - Constructor for exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
Constructor with all data.
Entity<ID extends EntityId> - Interface in org.fuin.ddd4j.ddd
An object that is not defined by its attributes, but rather by a thread of continuity and its identity.
EntityId - Interface in org.fuin.ddd4j.ddd
Identifies an entity within all entities of the same type.
EntityIdConverter - Class in org.fuin.ddd4j.ddd
JAXB and JSON converter for an entity identifier.
EntityIdConverter(EntityIdFactory) - Constructor for class org.fuin.ddd4j.ddd.EntityIdConverter
Constructor with factory.
EntityIdFactory - Interface in org.fuin.ddd4j.ddd
Factory to create entity identifier.
EntityIdPath - Class in org.fuin.ddd4j.ddd
An ordered list of entity identifiers.
EntityIdPath(EntityId...) - Constructor for class org.fuin.ddd4j.ddd.EntityIdPath
Constructor with ID array.
EntityIdPath(List<EntityId>) - Constructor for class org.fuin.ddd4j.ddd.EntityIdPath
Constructor with ID list.
EntityIdPathConverter - Class in org.fuin.ddd4j.ddd
JAXB and JPA converter for an entity identifier path.
EntityIdPathConverter(EntityIdFactory) - Constructor for class org.fuin.ddd4j.ddd.EntityIdPathConverter
Constructor with factory.
EntityNotFoundException - Exception in org.fuin.ddd4j.ddd
Signals that an entity was not found.
EntityNotFoundException() - Constructor for exception org.fuin.ddd4j.ddd.EntityNotFoundException
JAX-B constructor.
EntityNotFoundException(EntityIdPath, EntityId) - Constructor for exception org.fuin.ddd4j.ddd.EntityNotFoundException
Constructor with all data.
EntityNotFoundException(EntityIdPath) - Constructor for exception org.fuin.ddd4j.ddd.EntityNotFoundException
Constructor with entity identifier path.
EntityType - Interface in org.fuin.ddd4j.ddd
Identifies a type of entity within all entity types of the context.
equals(Object) - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
 
equals(Object) - Method in class org.fuin.ddd4j.ddd.AbstractEntity
 
equals(Object) - Method in class org.fuin.ddd4j.ddd.AbstractEvent
 
equals(Object) - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
 
equals(Object) - Method in class org.fuin.ddd4j.ddd.EncryptedData
 
equals(Object) - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
 
equals(Object) - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
 
Event - Interface in org.fuin.ddd4j.ddd
Something that happened in the system.
EventId - Class in org.fuin.ddd4j.ddd
Universal unique event identifier.
EventId() - Constructor for class org.fuin.ddd4j.ddd.EventId
Default constructor.
EventId(UUID) - Constructor for class org.fuin.ddd4j.ddd.EventId
Constructor with UUID.
EventIdConverter - Class in org.fuin.ddd4j.ddd
JAXB and JPA converter for an entity identifier.
EventIdConverter() - Constructor for class org.fuin.ddd4j.ddd.EventIdConverter
 
EventStoreRepository<ID extends AggregateRootId,AGGREGATE extends AggregateRoot<ID>> - Class in org.fuin.ddd4j.esrepo
Event store based repository.
EventStoreRepository(EventStore) - Constructor for class org.fuin.ddd4j.esrepo.EventStoreRepository
Constructor with all mandatory data.
EventType - Class in org.fuin.ddd4j.ddd
Identifies an event type within an aggregate type.
EventType(String) - Constructor for class org.fuin.ddd4j.ddd.EventType
Constructor with unique name to use.
ExpectedEntityIdPath - Annotation Type in org.fuin.ddd4j.ddd
The entity identifier path should contain a defined order and type of entries.
ExpectedEntityIdPathValidator - Class in org.fuin.ddd4j.ddd
Validates that the path has a defined order and type.
ExpectedEntityIdPathValidator() - Constructor for class org.fuin.ddd4j.ddd.ExpectedEntityIdPathValidator
 

F

findDeclaredAnnotatedMethod(Object, Class<? extends Annotation>, Class<?>...) - Method in class org.fuin.ddd4j.ddd.MethodExecutor
Finds a declared method on the instance or it's parents that has an annotation and optional parameters.
first() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
Returns the first entity identifier in the path.
fromVO(AggregateVersion) - Method in class org.fuin.ddd4j.ddd.AggregateVersionConverter
 
fromVO(EntityId) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
Converts the value object into a String.
fromVO(EntityIdPath) - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
 
fromVO(EventId) - Method in class org.fuin.ddd4j.ddd.EventIdConverter
 

G

get(AggregateRootId, Integer) - Method in interface org.fuin.ddd4j.ddd.AggregateCache
Tries to read the aggregate with the given identifier from the cache.
get(AggregateRootId, Integer) - Method in class org.fuin.ddd4j.ddd.AggregateNoCache
 
getActual() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
Returns the actual version.
getAggregateCache() - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
Returns the aggregate cache.
getAggregateClass() - Method in interface org.fuin.ddd4j.ddd.Repository
Returns the class of the aggregate in the repository.
getAggregateId() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
Returns the unique identifier of the aggregate.
getAggregateId() - Method in exception org.fuin.ddd4j.ddd.AggregateDeletedException
Returns the unique identifier of the aggregate.
getAggregateId() - Method in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
Returns the unique identifier of the aggregate.
getAggregateId() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
Returns the unique identifier of the aggregate.
getAggregateId() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
Returns the unique identifier of the aggregate.
getAggregateType() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
Returns the type of the aggregate.
getAggregateType() - Method in exception org.fuin.ddd4j.ddd.AggregateDeletedException
Returns the type of the aggregate.
getAggregateType() - Method in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
Returns the type of the aggregate.
getAggregateType() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
Returns the type of the aggregate.
getAggregateType() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
Returns the type of the aggregate.
getAggregateType() - Method in interface org.fuin.ddd4j.ddd.Repository
Returns a unique name for the aggregate root type.
getBaseType() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
 
getBaseType() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
 
getBaseTypeClass() - Method in class org.fuin.ddd4j.ddd.AggregateVersionConverter
 
getBaseTypeClass() - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
 
getBaseTypeClass() - Method in class org.fuin.ddd4j.ddd.EventIdConverter
 
getCausationId() - Method in class org.fuin.ddd4j.ddd.AbstractEvent
 
getCausationId() - Method in interface org.fuin.ddd4j.ddd.Event
Causation identifier.
getContentType() - Method in class org.fuin.ddd4j.ddd.EncryptedData
Returns the content type like "application/json; encoding=UTF-8; version=1".
getCorrelationId() - Method in class org.fuin.ddd4j.ddd.AbstractEvent
 
getCorrelationId() - Method in interface org.fuin.ddd4j.ddd.Event
Correlation identifier.
getDataType() - Method in class org.fuin.ddd4j.ddd.EncryptedData
Returns the unique type of the data like "UserPersonalData".
getDeclaredMethodsIncludingSuperClasses(Class<?>, Class<?>...) - Method in class org.fuin.ddd4j.ddd.MethodExecutor
Returns a list of declared methods from classes and super classes.
getEncryptedData() - Method in class org.fuin.ddd4j.ddd.EncryptedData
Returns the encrypted data.
getEntityId() - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent
 
getEntityId() - Method in interface org.fuin.ddd4j.ddd.DomainEvent
Returns the identifier of the entity that caused this event.
getEntityId() - Method in exception org.fuin.ddd4j.ddd.DuplicateEntityException
Returns the unique identifier of the entity.
getEntityId() - Method in exception org.fuin.ddd4j.ddd.EntityNotFoundException
Returns the unique identifier of the entity.
getEntityIdPath() - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent
 
getEntityIdPath() - Method in interface org.fuin.ddd4j.ddd.DomainEvent
Returns the path to the originator of the event.
getEventId() - Method in class org.fuin.ddd4j.ddd.AbstractEvent
 
getEventId() - Method in interface org.fuin.ddd4j.ddd.Event
Returns the identifier of the event.
getEventStore() - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
Returns the underlying event store.
getEventType() - Method in interface org.fuin.ddd4j.ddd.Event
Returns the type of the event (What happened).
getExpected() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
Returns the expected version.
getId() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
Returns the unique aggregate root identifier.
getId() - Method in interface org.fuin.ddd4j.ddd.Entity
Returns the unique entity identifier.
getIdParamName() - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
Returns the parameter name for the unique identifier.
getIgnoredEvents() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
Returns a list of old / ignored events.
getIvVersion() - Method in class org.fuin.ddd4j.ddd.EncryptedData
Returns the optional version of the initialization vector.
getIvVersion() - Method in exception org.fuin.ddd4j.ddd.EncryptionIvVersionUnknownException
Returns the IV version that caused the problem.
getKeyId() - Method in class org.fuin.ddd4j.ddd.EncryptedData
Returns the unique identifier of the private key used.
getKeyId() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
Returns the key identifier that caused the problem.
getKeyVersion() - Method in class org.fuin.ddd4j.ddd.EncryptedData
Returns the version of the private key used.
getKeyVersion() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
Returns the key version that caused the problem.
getMaxTryCount() - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
Returns the number of tries that should be done to resolve a version conflict.
getName() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
 
getNextVersion() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
 
getNextVersion() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
Returns the next version of the aggregate.
getParameters() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
 
getParentIdPath() - Method in exception org.fuin.ddd4j.ddd.DuplicateEntityException
Returns the path from root to parent.
getParentIdPath() - Method in exception org.fuin.ddd4j.ddd.EntityNotFoundException
Returns the path from root to parent.
getReadPageSize() - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
Returns the number of events to read in a slice.
getRoot() - Method in class org.fuin.ddd4j.ddd.AbstractEntity
Returns the aggregate root the entity belongs to.
getRootId() - Method in class org.fuin.ddd4j.ddd.AbstractEntity
Returns the identifier of the aggregate root the entity belongs to.
getShortId() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
 
getShortId() - Method in exception org.fuin.ddd4j.ddd.AggregateDeletedException
 
getShortId() - Method in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
 
getShortId() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
 
getShortId() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
 
getShortId() - Method in exception org.fuin.ddd4j.ddd.DecryptionFailedException
 
getShortId() - Method in exception org.fuin.ddd4j.ddd.DuplicateEntityException
 
getShortId() - Method in exception org.fuin.ddd4j.ddd.EncryptionIvVersionUnknownException
 
getShortId() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
 
getShortId() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
 
getShortId() - Method in exception org.fuin.ddd4j.ddd.EntityNotFoundException
 
getSingleParamValue() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
 
getTimestamp() - Method in class org.fuin.ddd4j.ddd.AbstractEvent
 
getTimestamp() - Method in interface org.fuin.ddd4j.ddd.Event
Date, time and time zone the event was created.
getType() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
 
getType() - Method in interface org.fuin.ddd4j.ddd.Entity
Returns the unique type.
getType() - Method in interface org.fuin.ddd4j.ddd.EntityId
Returns the type represented by this identifier.
getType() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
 
getUncommittedChanges() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
 
getUncommittedChanges() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
Returns a list of uncommitted changes.
getValueObjectClass() - Method in class org.fuin.ddd4j.ddd.AggregateVersionConverter
 
getValueObjectClass() - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
 
getValueObjectClass() - Method in class org.fuin.ddd4j.ddd.EventIdConverter
 
getVersion() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
 
getVersion() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
Returns the actual version.
getVersion() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
Returns the current version of the aggregate.
getVersion() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
Returns the requested version.

H

hashCode() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
 
hashCode() - Method in class org.fuin.ddd4j.ddd.AbstractEntity
 
hashCode() - Method in class org.fuin.ddd4j.ddd.AbstractEvent
 
hashCode() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
 
hashCode() - Method in class org.fuin.ddd4j.ddd.EncryptedData
 
hashCode() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
 
hashCode() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
 
hasUncommitedChanges() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
 
hasUncommitedChanges() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
Returns the information if the aggregate has uncommited changes.

I

initialize(AggregateRootUuid.AggregateRootUuidStr) - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid.Validator
 
initialize(DomainEventExpectedEntityIdPath) - Method in class org.fuin.ddd4j.ddd.DomainEventExpectedEntityIdPathValidator
 
initialize(ExpectedEntityIdPath) - Method in class org.fuin.ddd4j.ddd.ExpectedEntityIdPathValidator
 
initialize(Class<? extends EntityId>[]) - Method in class org.fuin.ddd4j.ddd.ExpectedEntityIdPathValidator
Initializer used by other validators in this package.
initialize(IntegerEntityId.IntegerEntityIdStr) - Method in class org.fuin.ddd4j.ddd.IntegerEntityId.Validator
 
IntegerEntityId - Class in org.fuin.ddd4j.ddd
Integer based entity identifier.
IntegerEntityId(EntityType, Integer) - Constructor for class org.fuin.ddd4j.ddd.IntegerEntityId
Constructor with Integer.
IntegerEntityId.IntegerEntityIdStr - Annotation Type in org.fuin.ddd4j.ddd
Ensures that the integer can be converted into the type.
IntegerEntityId.Validator - Class in org.fuin.ddd4j.ddd
Validates if a string is compliant with the type.
invoke(Method, Object, Object...) - Method in class org.fuin.ddd4j.ddd.MethodExecutor
Invokes a method with any number of arguments.
invokeDeclaredAnnotatedMethod(Object, Class<? extends Annotation>, Class<?>[], Object[]) - Method in class org.fuin.ddd4j.ddd.MethodExecutor
Finds a declared method that has an annotation and optional parameters.
isProjection() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
 
isValid(String) - Static method in class org.fuin.ddd4j.ddd.AggregateRootUuid
Verifies that a given string can be converted into the type.
isValid(String, ConstraintValidatorContext) - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid.Validator
 
isValid(Integer) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
Returns the information if a given integer is a valid version.
isValid(String) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
Returns the information if a given string is a valid version.
isValid(Integer) - Method in class org.fuin.ddd4j.ddd.AggregateVersionConverter
 
isValid(DomainEvent<?>, ConstraintValidatorContext) - Method in class org.fuin.ddd4j.ddd.DomainEventExpectedEntityIdPathValidator
 
isValid(String) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
Verifies that the given value can be converted into a value object using the factory.
isValid(String, String) - Method in interface org.fuin.ddd4j.ddd.EntityIdFactory
Determines if an identifier of the given type is valid.
isValid(String) - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
 
isValid(UUID) - Method in class org.fuin.ddd4j.ddd.EventIdConverter
 
isValid(EntityIdPath, ConstraintValidatorContext) - Method in class org.fuin.ddd4j.ddd.ExpectedEntityIdPathValidator
 
isValid(Integer) - Static method in class org.fuin.ddd4j.ddd.IntegerEntityId
Verifies that a given string can be converted into the type.
isValid(Integer, ConstraintValidatorContext) - Method in class org.fuin.ddd4j.ddd.IntegerEntityId.Validator
 
iterator() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
Creates a NEW list of the entity identifiers contained in the entity id path and returns an iterator on it.

J

JAXB_CLASSES - Static variable in class org.fuin.ddd4j.ddd.Ddd4JUtils
Classes used for JAX-B serialization.

L

last() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
Returns the last entity identifier in the path.
loadFromHistory(DomainEvent<?>...) - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
 
loadFromHistory(List<DomainEvent<?>>) - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
 
loadFromHistory(DomainEvent<?>...) - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
Loads the aggregate with historic events.
loadFromHistory(List<DomainEvent<?>>) - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
Loads the aggregate with historic events.

M

markChangesAsCommitted() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
 
markChangesAsCommitted() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
Clears the internal change list and sets the new version number.
marshal(EntityId) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
 
MethodExecutor - Class in org.fuin.ddd4j.ddd
Lightweight utility class to execute a method using reflection.
MethodExecutor() - Constructor for class org.fuin.ddd4j.ddd.MethodExecutor
 
MIN - Static variable in class org.fuin.ddd4j.ddd.IntegerEntityId
Minimum valid value (inclusive).

O

org.fuin.ddd4j.codegen - package org.fuin.ddd4j.codegen
Copyright (C) 2015 Michael Schnell.
org.fuin.ddd4j.ddd - package org.fuin.ddd4j.ddd
 
org.fuin.ddd4j.esrepo - package org.fuin.ddd4j.esrepo
Copyright (C) 2015 Michael Schnell.

P

parent() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
Returns the parent path without the last entry.
PATH_SEPARATOR - Static variable in class org.fuin.ddd4j.ddd.EntityIdPath
Divides the entity identifiers in the path.
put(AggregateRootId, AGGREGATE) - Method in interface org.fuin.ddd4j.ddd.AggregateCache
Puts an aggregate with the given identifier in the cache.
put(AggregateRootId, AGGREGATE) - Method in class org.fuin.ddd4j.ddd.AggregateNoCache
 

R

read(ID) - Method in interface org.fuin.ddd4j.ddd.Repository
Reads the latest version of an aggregate.
read(ID, int) - Method in interface org.fuin.ddd4j.ddd.Repository
Reads a given version of an aggregate.
read(ID) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
 
read(ID, int) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
 
remove(AggregateRootId) - Method in interface org.fuin.ddd4j.ddd.AggregateCache
Removes the aggregate with the given identifier from the cache.
remove(AggregateRootId) - Method in class org.fuin.ddd4j.ddd.AggregateNoCache
 
Repository<ID extends AggregateRootId,T extends AggregateRoot<ID>> - Interface in org.fuin.ddd4j.ddd
Repository that supports CRUD operations for an aggregate.
requireArgValid(String, String) - Static method in class org.fuin.ddd4j.ddd.AggregateRootUuid
Verifies if the argument is valid and throws an exception if this is not the case.
requireArgValid(String, Integer) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
Verifies if the argument is valid and throws an exception if this is not the case.
requireArgValid(String, String) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
Verifies if the argument is valid and throws an exception if this is not the case.
requireArgValid(String, String) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
Verifies if the argument is valid and throws an exception if this is not the case.
requireArgValid(String, String) - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
Verifies if the argument is valid and throws an exception if this is not the case.
requireArgValid(String, Integer) - Static method in class org.fuin.ddd4j.ddd.IntegerEntityId
Verifies if the argument is valid and throws an exception if this is not the case.
rest() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
Returns the path without the first entry.

S

same(Class<?>[], Class<?>[]) - Method in class org.fuin.ddd4j.ddd.MethodExecutor
Verifies if both arrays have the same length and types.
SHORT_ID_PREFIX - Static variable in class org.fuin.ddd4j.ddd.Ddd4JUtils
Prefix for unique short identifiers.
SimpleValueObject - Annotation Type in org.fuin.ddd4j.codegen
Value object that has only a single attribute of type String, Integer, Long or UUID.
size() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
Returns the number of elements in the path.
StringBasedEntityType - Class in org.fuin.ddd4j.ddd
Entity type based on a string with a maximum length of 255 characters.
StringBasedEntityType(String) - Constructor for class org.fuin.ddd4j.ddd.StringBasedEntityType
Constructor with unique name to use.

T

TechnicalId - Interface in org.fuin.ddd4j.ddd
Technical identifier that is only used internally and never shown to a user.
toString() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
 
toString() - Method in class org.fuin.ddd4j.ddd.EncryptedData
 
toString() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
 
toString() - Method in class org.fuin.ddd4j.ddd.EventId
 
toString() - Method in class org.fuin.ddd4j.ddd.EventType
 
toString() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
 
toString() - Method in class org.fuin.ddd4j.ddd.StringBasedEntityType
 
toString() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
 
toVO(Integer) - Method in class org.fuin.ddd4j.ddd.AggregateVersionConverter
 
toVO(String) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
Converts a string into an entity identifier.
toVO(String) - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
 
toVO(UUID) - Method in class org.fuin.ddd4j.ddd.EventIdConverter
 

U

unmarshal(String) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
 
update(T, String, Object) - Method in interface org.fuin.ddd4j.ddd.Repository
Saves the changes on an aggregate in the repository including some meta data.
update(T) - Method in interface org.fuin.ddd4j.ddd.Repository
Saves the changes on an aggregate in the repository without any meta data.
update(AGGREGATE) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
 
update(AGGREGATE, String, Object) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
 

V

Validator() - Constructor for class org.fuin.ddd4j.ddd.AggregateRootUuid.Validator
 
Validator() - Constructor for class org.fuin.ddd4j.ddd.IntegerEntityId.Validator
 
valueOf(Integer) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
Parses a version identifier.
valueOf(String) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
Parses a version identifier.
A B C D E F G H I J L M O P R S T U V 
Skip navigation links

Copyright © 2019 fuin.org (Germany). All Rights Reserved.