ednet_core library

Classes

AddCommand
AggregateRoot
Application
Applications
Attribute
AttributePolicy
Attributes
AttributeType
AttributeTypes
AttributeValidators
BoundedContext
BoundedContextMap
Child
Children
Clock
CompositePolicy
Concept
Concepts
CoreRepository
Criteria<T>
Show how chaining of Criteria works on example of building complex query which will be used to find all users with name John, age greater than 18 and less than 30 and sort them by age in ascending order and limit the number of results to 10 and skip the first 5 results Criteria class for building query conditions.
Criterion
Criterion class representing a single query condition.
Domain
DomainModels
Domains
DomainSession
Entities<E extends Entity<E>>
Entity<E extends Entity<E>>
Represents a generic, domain-driven entity in the EDNet Core framework.
Event
FilterCriteria
IBasicCommand
IBoundedContextRelation
ICommand
ICommandReaction
Id
IDomainModels
IDomainSession
IEntities<E extends IEntity<E>>
IEntitiesCommand
IEntity<E extends IEntity<E>>
IEntityCommand
IId<T>
IModelEntries
IOneApplication
IPast
IPastCommand
IPolicy
IRepository
ISourceOfCommandReaction
ISourceOfPastReaction
ITransaction
IValidationExceptions
Model
ModelEntries
Models
Neighbor
Oid
Operand
Operand class for different types of query operations.
OperandType
OperandType class representing the types of operations.
Parent
Parents
Past
Policy
PolicyEngine
PolicyEvaluationResult
PolicyEvaluationTracer
PolicyEvaluator
PolicyRegistry
PolicyScope
PolicyViolation
PolicyWithDependencies
Property
PublisherSubscriberRelation
Reference
RelationshipPolicy
RelationshipValidators
RemoveCommand
SetAttributeCommand
SetChildCommand
SetParentCommand
SimpleValueObject
A simple implementation of ValueObject that supports ednet_core Attributes.
SortOrder
SortOrder class representing the order of sorting.
SystemClock
TimeBasedPolicy
TimeValidators
TraceEntry
Transaction
ValidationExceptions
ValueObject
Abstract ValueObject class providing contract for JSON serialization.
ValueObjectAttribute
A representation of an attribute with key-value pairs.

Mixins

Serializable

Constants

CHILD_ENTITIES_COUNT → const int
ENTRY_ENTITIES_COUNT → const int

Properties

ednetLibraryAppTemplate String
final
emailList List<String>
getter/setter pair
license String
final
uriList List<String>
getter/setter pair
wordList List<String>
getter/setter pair

Functions

allParents(dynamic parents, String text) String
camelCaseFirstLetterUpperSeparator(String text, String separator) String
camelCaseLowerSeparator(String text, String separator) String
camelCaseSeparator(String text, String separator) String
createChildEntitiesRandomly(String parentVar, String parentCode, Concept parentConcept, String childCode, Concept childConcept) String
createInitEntryEntitiesRandomly(Concept entryConcept) String
createInitEntryEntityRandomly(Concept entryConcept, {int? suffix, bool withChildren = true}) String
createTestEntryEntitiesRandomly(Concept entryConcept, dynamic model) String
createTestEntryEntityRandomly(Concept entryConcept, {int? suffix, bool withChildren = true, dynamic model}) String
dropEnd(String text, String end) String
findIdAttribute(Concept concept) Attribute?
findNonIdAttribute(Concept concept) Attribute?
findNonRequiredAttribute(Concept concept) Attribute?
findRequiredNonIdAttribute(Concept concept) Attribute?
firstLetterLower(String text) String
firstLetterUpper(String text) String
fromJsonToModel(String json, Domain domain, String modelCode, Map? yaml) Model
genAttributeTextRandomly(Attribute attribute) String
genConcept(Concept concept, String library) String
genConceptGen(Concept concept, String library) String
genDomain(Domain domain, String library) String
genEDNetLibrary(Model model) String
genEDNetLibraryApp(Model model) String
genEDNetWeb(Model model) String
genEntries(Model model, String library) String
Generates Dart code for model entries.
generateCommands(Concept concept) String
generateEvents(Concept concept) String
generatePolicies(Concept concept) String
genModel(Model model, String library) String
genModels(Domain domain, String library) String
genRepository(CoreRepository repo, String library) String
plural(String text) String
randomBool() bool
randomDouble(num max) double
randomEmail() String
randomInt(int max) int
randomListElement(List list) → dynamic
randomNum(int max) num
randomSign() → dynamic
randomUri() String
randomWord() String
setInitAttributeRandomly(Attribute attribute, String entity) String
setInitAttributesRandomly(Concept concept, String entity) String
setTestAttributeRandomly(Attribute attribute, String entity) String
setTestAttributesRandomly(Concept concept, String entity) String

Typedefs

TimeValidator = bool Function(DateTime attributeTime, DateTime currentTime)