InMemoryExternalCRUDRepo<Entity extends BasicEntityObject> class

Inheritance

Constructors

InMemoryExternalCRUDRepo()

Properties

hashCode int
The hash code for this object.
no setterinherited
newID int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

count() int
Count the amount of entity. By default calling the length of findAll().
override
create(Entity newObject) → Entity
Create the entity.
override
delete(Entity objectToDestroy) → void
Destroy the entity.
override
deleteById(int id) → void
Destroy the entity by it's id.
override
dispose() → void
override
edit(Entity objectToEdit) → Entity
Edit the entity.
override
findAll() List<Entity>
Find all entity.
override
findById(Object keyId) → Entity?
Find the correspondent entity by it's Key Id.
override
init() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited