Contents Dochome
Sun Java(TM) System Directory Server Online Help

> # Create or Edit Object Class Dialog

> Use this dialog box to create a new object class or edit an existing one in your directory. When editing an existing object class, its properties appear as the default values in the fields of the dialog box.

> Name. Enter a unique name for the object class. When editing an existing object class, you cannot change its name.

> Parent. Identifies the object class from which the new object class will inherit attributes and structure. You may choose any existing object class from the drop-down list as the parent. The required and allowed attributes inherited from the parent will automatically be determined and displayed in the attribute lists. The default parent class top is required if no other parent is selected.

> OID (Optional). Enter an object identifier (OID) for the object class. An OID is a classification string that uniquely identifies the object class within a directory and when sharing data between directories. The standard format is a set of dot-separated integers, for example, 2.16.840.1.113730.3.2.2. If you do not specify an OID, the default value is ObjectClassName-oid. For example, if you create the object class division without supplying an OID, the directory automatically creates the OID division-oid.

> When editing an existing object class, you cannot modify its OID.

> Available Attributes. This list shows all of the attributes in the schema, except for those already inherited from the parent object class. Select one or more of these attributes to add them to your object class. With the attributes selected, click the Add button closest to either the Required Attributes or the Allowed Attributes list box.

> Required Attributes. This list contains the attributes of your object class for which values are required when adding or modifying an entry of this object class. You may remove one or more attributes from this list by selecting them and clicking the corresponding Remove button. Inherited attributes are listed in gray and cannot be removed.

> Allowed Attributes. This list contains the attributes of your object class for which values may be specified when adding or modifying an entry of this object class. You may remove one or more attributes from this list by selecting them and clicking the corresponding Remove button. Inherited attributes are listed in gray and cannot be removed.

> ## See Also

> Chapter 10, "Object Class Reference," in the Sun Java System Directory Server Reference Manual.

> Contents Dochome

> Copyright 2004 Sun Microsystems, Inc. All rights reserved.