Data Model for ToDo project(s)

The data model classes for TodoMore, the minimalist ToDo Manager. Annotated for JPA and for MetaWidget, with scope=provided so you don't have to use these APIs if you don't need them in your application.

License

License

Categories

Categories

Data
GroupId

GroupId

com.darwinsys
ArtifactId

ArtifactId

todo-datamodel
Last Version

Last Version

1.0.10
Release Date

Release Date

Type

Type

jar
Description

Description

Data Model for ToDo project(s)
The data model classes for TodoMore, the minimalist ToDo Manager. Annotated for JPA and for MetaWidget, with scope=provided so you don't have to use these APIs if you don't need them in your application.
Project URL

Project URL

http://darwinsys.com
Source Code Management

Source Code Management

https://github.com/IanDarwin/TodoModel

Download todo-datamodel

How to add to project

<!-- https://jarcasting.com/artifacts/com.darwinsys/todo-datamodel/ -->
<dependency>
    <groupId>com.darwinsys</groupId>
    <artifactId>todo-datamodel</artifactId>
    <version>1.0.10</version>
</dependency>
// https://jarcasting.com/artifacts/com.darwinsys/todo-datamodel/
implementation 'com.darwinsys:todo-datamodel:1.0.10'
// https://jarcasting.com/artifacts/com.darwinsys/todo-datamodel/
implementation ("com.darwinsys:todo-datamodel:1.0.10")
'com.darwinsys:todo-datamodel:jar:1.0.10'
<dependency org="com.darwinsys" name="todo-datamodel" rev="1.0.10">
  <artifact name="todo-datamodel" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.darwinsys', module='todo-datamodel', version='1.0.10')
)
libraryDependencies += "com.darwinsys" % "todo-datamodel" % "1.0.10"
[com.darwinsys/todo-datamodel "1.0.10"]

Dependencies

compile (3)

Group / Artifact Type Version
org.metawidget.modules : metawidget-annotation jar 4.2
com.fasterxml.jackson.core : jackson-core jar 2.4.0-rc3
com.fasterxml.jackson.core : jackson-databind jar 2.4.0-rc3

provided (1)

Group / Artifact Type Version
javax : javaee-web-api jar 7.0

test (5)

Group / Artifact Type Version
org.hibernate : hibernate-core jar 4.0.1.Final
org.hibernate : hibernate-entitymanager jar 4.0.1.Final
org.hibernate : hibernate-validator jar 4.2.0.Final
org.hsqldb : hsqldb jar 2.0.0
junit : junit jar 4.8.2

Project Modules

There are no modules declared in this project.

ToDo Task Model

This is a Java/JPA model for the ToDo.txt Task format. You MUST have JPA 2.1 available to compile this (should be no problem as it’s included in Java EE 7+).

What works:

  1. The Task, Context, Status classes

  2. parsing simple tasks

  3. converting simple tasks to strings

What should be added:

  1. Add MetaWidget tags to entity classes.

What’s not right yet:

  1. It is known that Eclipse flags a false error due to the lack of persistence.xml; this file MUST NOT be here (nor in the output Jar file) as different implementations such as ../TodoService must be allowed to provide it instead.

  2. Must remove Project/Context when parsing input, else you get (A) Call Mom @Home @Home @Home…​

Versions

Version
1.0.10