Assign properties to a class

The property template you create exists independently of any class, but has no purpose until it is assigned to a class. You can assign a property template to one or more classes in an object store, at which time it becomes a class property. When you assign a property template to a superclass, it is automatically added to all of the superclass' subclasses. The property template exists independently of the class property, and you can assign it to other classes in the object store.

You assign properties to a class when you create that class using the Create a Class wizard. After the class is created, you can assign properties to a class several ways, listed below:

On the class properties page

  1. In the Enterprise Manager tree, right-click the target class.
  2. Select Properties.
  3. Click the Property Definitions tab.
  4. Click Add/Remove.
  5. Click a property template listed in the Available box.
  6. Click Add>>. The property template appears in the right Class Properties box as a class property. Click OK when done.

Copy/paste from properties folder

  1. In the Enterprise Manager tree under Property Templates, select one or more property templates.
  2. Copy them, then paste them in the appropriate class folder. Alternately you can drag and drop them into the appropriate class folder.

From a context menu

  1. Right-click the class to which you want to add a property.
  2. Select New >> Add Property to Class.
  3. Use the wizard to add one or more properties to the class. In the wizard, you can also create a new property.