# Generating Java Source Files and Methods for View Objects

While creating a view object with the View Object Wizard, use the Java page to define Java classes for the view object. You can edit these classes to customize the view object's behavior.

This panel provides options that let you generate classes (that is, `*Impl` classes) for the view object and the view rows:

- Generate a Java class for the view object if you want to customize its methods.

- Generate a Java class for the view rows if you want to customize their attribute `get` and `set` methods, or other methods from the view object row class. Typically most of the validation should occur on the underlying entity object so that the business logic can be shared by all views using the entity object.

By default, the wizard will generate the view object class, but not the view row class.

View Object Class

> Generate Java file

> > When this checkbox is selected, JDeveloper generates a Java file you can edit to customize the view object's behavior. Otherwise, JDeveloper generates only an XML file.

View Row Class

> Generate Java file

> > When this checkbox is selected, JDeveloper generates a Java file you can edit to customize the view row's behavior. Otherwise, JDeveloper generates only an XML file.

> Generate Accessors

> > When this checkbox is selected, JDeveloper adds named accessor methods (for example, `getJob` and `setJob`) to the view row's generated Java file. These accessor methods provide type-safe access to the corresponding attribute fields. They also provide a place to add your own custom code for validation, etc.

Extends

> Click Extends to use the Framework Base Classes dialog box. You would usually override the framework base class to add custom functionality to all objects of a given type.