Pixel Core Tutorial – Data Model

Pixel Core Tutorial – Data Model

In general Pixel Core Framework adhere to following rule – all data objects are simple POJOs with no business logic.

There are number of interfaces and annotations that add syntactic sugar, make code more readable with less repeating blocks.

public class GameDef
{
private Integer id;
private Code code;
private Boolean enabled;
private Client client;
private List<Nls> nls;
private Date created;
private Date updated;
private String updatedBy;
}

Lets go over all properties of this class

id

This is a unique identifier that will never change over lifetime of the object. It is not necessary must be integer. It could be of any type.

code

It is human readable unique identifier of the object. It is introduced for interaction with other […] Read more