/
How to model POJOs

How to model POJOs

Stereotype «POJO» can be used to model a POJO (Plain old Java object). It depends on your individual programming model what POJOs will be used for.

The example above shows a simple version of a model using POJOs. As you can see modelling them is pretty simple. The only thing that is needed to to model the classes, their attributes, operations and associations. In order that JEAF Generator detects a domain model they have to be tagged with stereotype «POJO». That’s all.

As described in General Behavior of JEAF Generator access methods for attributes and associations do not have to be modeled explicitly. They will be generated by JEAF Generator by default.

 

For further information please also refer to:

Related content

How to model (REST) Services APIs
How to model (REST) Services APIs
Read with this
«POJO»
«POJO»
More like this
JEAF Architecture Model
JEAF Architecture Model
Read with this
Domain Objects vs. POJOs
Domain Objects vs. POJOs
More like this
How to model Domain Objects
How to model Domain Objects
More like this
Generating Code for POJOs
Generating Code for POJOs
More like this