Develop > Persistence layer > Work with WebSphere Commerce services > Create the component facade


Extend a noun

There are two methods for adding more information to the noun. The simplest method is to leverage the UserData extension points that the component nouns provide. The alternative is to take advantage of the overlay methodology. Overlay extensions allow users to have their extensions appear within the OAGIS or WebSphere Commerce complex types. In order to add elements, a user must extend the OAGIS or WebSphere Commerce complex types within their own namespace. By doing this, it is possible for users to enforce additional restrictions or add additional elements to the OAGIS or WebSphere Commerce complex types.


Procedure


Results

Since you own all the new data objects you define, any object that uses or extends common objects should be put under the namespace. That is, you should not add new datatypes to the Common and Identifier type XSDs. While extending may seem simpler, it can result in future problems when trying to reuse the java objects across nouns.


Related concepts

WebSphere Commerce service module

Component facade interfaces

Design pattern for Process, Change and Sync service implementation

Design pattern for Get service implementation

Nouns


Related tasks

Create the component facade

Create a new search expression

Create the service command

Create the client library


+

Search Tips   |   Advanced Search