Understanding Value Object Classes

Value objects are Java classes that manage data. The input and output parameters of the published business service methods are called value objects. These parameters are the payload of the web service. A method defined in a published business service takes one value object as its input parameter and returns one value object as its output parameter. The input and output parameters of business service operations are called internal value objects. Business service internal value objects are not published interfaces. Business service operations use one internal value object for both input and output.

The business service foundation provides wizards to help you create value object classes that follow methodology rules and guidelines. You use the Business Function Value Object Wizard to create value objects that are based on data structures defined within a business function. You use the Database Operation Value Object Wizard to create value objects that are based on database tables or business views for database operations.

You can use the Media Object Value Object Class Wizard to create value objects that are based on Media Object data structures for Media Object operations.

The methodology guide provides naming conventions as well as rules and guidelines for creating published value object classes and internal value object classes.