Note Entity Business Object Builder

Class declaration

The class must extend from AbstractEntityBOBuilder. The primary key data type and the entity's Dtls data type are Long and NoteDtls respectively. Hence, these types must be specified in the class declaration as follows,

class NoteEntityBOBuilder extends
	AbstractEntityBOBuilder<Long, NoteDtls>{
}

getName() : Returning the name of the entity

The method getName() has to be overridden to return the name of the entity that is unique across the system - i.e. in this case, the string Note can be returned.

getEntityAdapter() : Returning the Entity Adapter instance

The method getEntityAdapter() has to be overridden in order to return an instance of the adapter class - i.e. NoteAdapter.