Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This section will describe them :

CsvRecord

The CsvRecord annotation is used to identified the root class of the model. It represents a record = a line of a CSV file and can be linked to several children model classes.

Annotation name

Record type

Level

CsvRecord

csv

Class

...

Code Block
@CsvRecord(separator = ",", skipFirstLine = true)
public Class Order {
...
}

The link annotation will allow to link objects together.

Annotation name

Record type

Level

Link

all

Property

...

@Link
private Client client

DataField

The DataField annotation defines the property of the field. Each datafield is identifed by its position in the record, a type (string, int, date, ...) and optionaly of a pattern

Annotation name

Record type

Level

DataField

all

Property

...