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

Note: Since you own all the new data objects you define, any object that uses or extends common objects should be put under your namespace. That is, you should not add new data types 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
Design pattern for Process, Change and Sync service implementation (SOI)
Design pattern for Get service implementation (SOI)
Nouns


Related tasks
Creating the component facade
Creating a new search expression
Creating the service command
Creating the client library