This topic describes how to define a container class and
container. It also describes how to assign items to the container.
About this task
Perform the following steps in the
Classes/Items Manager portlet to create a class
of items that can contain other items and containers.
Procedure
- Log in to the WebSphere® Application Server administrative console and
click to access this page.
- Click the Class Details View tab.
- Click Add Child Class to define
a new class.
- Fill in the values for the class, making sure to select Container to
specify the items in the class can contain other items. Also, make
sure to enter the correct spatial measurements in Default-Edge-Length for
the size of the containers in the class.
- Save your settings.
- Now, add an item to the container class you created.
- Click the Item View tab.
- Click Add New Item to define
a new item in the class you created.
- Fill in the values for the item. If the edge length
of the container is different than the class default, make sure to
enter a value for Edge Length.
- Save your settings.
- Assign items to the container.
- Click the Item View tab.
- Click Edit Container next to
the new container item you created. A list of items are displayed
that can be assigned to the container, as well as a list of any items
that are already assigned to the container, if any.
- Select one or multiple items to assign to the container.
- Save your settings and verify the items are now listed
as being assigned to the container.