ToDo 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 ToDoDtls respectively. Hence these types must be specified in the class declaration as follows,

class ToDoEntityBOBuilder extends
	AbstractEntityBOBuilder<Long, ToDoDtls>{
}

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 ToDo can be returned.

getEntityAdapter() : Returning the Entity Adapter instance

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