Managing the HCM Metadata Repository

To manage the HCM metadata repository, use the Base Class Definition (HCMD_BASE_CATALOG), Object Class Definition (HCMD_OBJ_CATALOG), Export (HCMD_EXPORT_OBJS), and Import (HCMD_IMPORT_OBJS) components.

These topics provide an overview of and discuss managing the HCM metadata repository.

Page Name

Definition Name

Usage

Base Class Definition Page

HCMD_BASE_PG

Define base classes by setting up and reviewing definitions for base classes.

Object Class Definition Page

HCMD_OBJS_PG

Define object classes by setting up and reviewing definitions for derived classes.

Class Attribute Details Page

HCMD_OATT_SPG

Enter or review class attribute details.

Class Relationship Details Page

HCMD_OREL_SPG

Enter or review class relationship details.

Export Metadata Definitions Page

HCMD_EXPORT_OBJS

Export metadata definitions from the catalog to XML.

Export Metadata Definitions - Export Metadata Definitions Page

HCMD_FILENAME

Enter the path and filename of the export file to be created.

Import Metadata Definitions Page

HCMD_IMPORT_OBJS

Import metadata definitions.

Metadata is data about the data in your system. It defines every object, object attribute, and relationship between objects. Metadata enables you to define and manipulate the records in your PeopleSoft HCM database as objects.

The HCM metadata object model consists of the following two elements:

  • PeopleTools-level metadata

    Provides information about fields, field labels, and database records and views.

  • HCM-level metadata

    Establishes relationships between objects at the object level, defines object's services, and alternative labels.

HCM metadata object definitions are registered in the metadata repository as classes and these classes are grouped in the following two catalogs according to general behavior, processing, and attribute needs:

  • Base catalog.

    Object classes:

    • Define the general behavior and attributes for a class.

    • Group objects for better processing and querying.

    • Provide a single layer of inheritance for derived classes.

  • Object catalog.

    Object classes:

    • Can be the child object of a parent base class, inheriting all of the attributes of the base class.

      Note: Object class catalogs do not need to have a parent class object.

      Note: Any metadata class definitions that are not obviously a parent class object, should be defined in the object catalog.

    • Are defined with unique attributes in addition to any inherited attributes.

For example, the base class object, Person Base, is the parent to the derived object class, Person.

Field or Control

Description

Basic Information

Define the class's basic characteristics by entering information into the following fields:

  • Class Name

  • Display Label

  • Object Owner ID

  • Active Flag

Class Use

Define how the class object is used by:

  • Selecting one of the following options:

    • Production: a standard production object.

    • Staging: a specialized staging object used to load data into the HCM system.

    • Reporting: a specialized reporting object.

    • System: an HCM system object not usually visible to users.

    • Configuration: a specialized object used in HCM system configuration.

    • Source View (object class only)

    • Attribute Map (object class only)

    • Key Map (object class only)

    • Temporary (object class only)

  • Selecting Use in UI? to display the class in a dynamic user interface.

  • Selecting Use in Queries? to display the class in Query Builder.

The system selects the System Data check box if the class object is delivered as HCM system data.

Persistence Mapping

Enter the name of the PeopleTools record to which this class maps. The PeopleTools record is the sole source for the class object. Each class definition maps to one PeopleTools record

Class Attributes (Record Field)

Review or enter the class attributes.

Click the View Attribute Details button to review details or enter a details for a new class attribute on the Class Attribute Details page.

Import Record Fields button

Click to populate the Class Attributes grid with all the fields associated with the PeopleTools record you selected in the persistence mapping Record Name field.

The button does not overwrite valid fields.

Note: PeopleSoft recommends that you keep the attributes in sync with the PeopleTools record fields by using this button after you make a modification to the PeopleTools record.

Relationships

Define the relationships this class definition has with other class definitions. For example the Person class that maps to the PeopleTools Person record could be have relationships with the:

  • Name class.

    People in the system could have one or more names.

  • Address class.

    People in the system could have one or more address.

  • Job class.

    People in the system could have zero or more jobs.

Click the View Relationship Details button to review details or enter a details for a new class attribute on the Class Relationship Details page.

Class Extensions

Class extensions enable you to define any additional attributes that you can access through APIs (you cannot use these properties with Query Builder). For example, you could create a Java type class extension called MyJava and with a value of the Java file name that programmers can access as required.

Define the class extensions by entering values into the following fields:

  • Type

  • Name

  • Value

Use the Base Class Definition page (HCMD_BASE_PG) to define base classes by setting up and reviewing definitions for base classes.

Navigation:

Set Up HCM > Product Related > Compensation > HCM Metadata Repository > Base Class Definition > Base Class Definition

This example illustrates the fields and controls on the Base Class Definition page (1 of 2). You can find definitions for the fields and controls later on this page.

Base Class Definition page (1 of 2)

This example illustrates the fields and controls on the Base Class Definition page (2 of 2). You can find definitions for the fields and controls later on this page.

Base Class Definition page (2 of 2)

Use the Object Class Definition page (HCMD_OBJS_PG) to define object classes by setting up and reviewing definitions for derived classes.

Navigation:

Set Up HCM > Product Related > Compensation > HCM Metadata Repository > Object Class Definition > Object Class Definition

This example illustrates the fields and controls on the Object Class Definition page (1 of 2). You can find definitions for the fields and controls later on this page.

Object Class Definition page (1 of 2)

This example illustrates the fields and controls on the Object Class Definition page (2 of 2). You can find definitions for the fields and controls later on this page.

Object Class Definition page (2 of 2)

Class Attributes

Field or Control

Description

Parent Class

If this class object is built upon a parent class object, select it here. The class object will inherit all of the parent's attributes.

Leave this field blank if the object class has no parent.

Search Component

Select the search component to search for instances for this derived class object. The system uses the Query Builder search component as a default if you do not enter a value here.

Component Interface Name

Select the PeopleTools component interface used to save data for the class. You can use the component interface in Query Builder to perform bulk updates. For example, you can create a query for all the people at Location A and then update the location information on the Job Data component for that group of people to Location B.

Edit Component

When you enter a component in this group box for a class, the system enables you to link to the component or page from a hyperlink in the query results when you query the class in Query Builder. This enables you to make updates to the component while you are reviewing the query results

Enter the component's Menu Name, Menu Bar Name, Item Name, and Page Name.

Use the Class Attribute Details page (HCMD_OATT_SPG) to enter or review class attribute details.

Navigation:

  • Click the View Attribute Details icon for a class attribute on the Base Class Definition page.

  • Click the View Attribute Details icon for a class attribute on the Object Class Definition page.

This example illustrates the fields and controls on the Class Attribute Details page. You can find definitions for the fields and controls later on this page.

Class Attribute Details page

Field or Control

Description

Attribute Name

Enter the attribute name. It can be different from the corresponding field.

Alias

Enter an alias for the attribute.

Field Name

Each attribute must have a corresponding field in the PeopleTools record.

Configuration Controls

Field or Control

Description

Allow Modifications?

Select if the users can modify the attribute in dynamic user interfaces.

Allow Deletion?

Select if the users can delete the attribute in dynamic user interfaces.

Use Options

Field or Control

Description

Use in Queries

Select to display the class in Query Builder.

Use in User Interface

Select to display the attribute in a dynamic user interface.

Key Settings

Field or Control

Description

Business key?

Select if the business logic indicates that this attribute (field) is a key. You do not need to define the attribute as a key field at the record level.

Class Attribute Extensions

Class attribute extensions enable you to define any additional attributes that you can access through APIs (you cannot use these properties with Query Builder). For example, you could create a Java type class attribute extension called MyJava and with a value of the Java file name that programmers can access as required.

Define the class extensions by entering values into the following fields:

  • Type

  • Extension Name

  • Extension Value

Use the Class Relationship Details page (HCMD_OREL_SPG) to enter or review class relationship details.

Navigation:

  • Click the View Relationship Details icon for a relationship on the Base Class Definition page.

  • Click the View Relationship Details icon for a relationship on the Object Class Definition page.

This example illustrates the fields and controls on the Class Relationship Details page. You can find definitions for the fields and controls later on this page.

Class Relationship Details page

Field or Control

Description

Relationship Name

Enter the name of the relationship.

Use in User Interface

Select to display the relationship in a dynamic user interface.

Use in Queries

Select to display the relationship in Query Builder.

Source Cardinality

Select the cardinality setting of the source class object from the following options:

  • zero to 1 (0.. 1)

  • zero to many (0.. n)

  • one to one (1.. 1)

  • one to many (1.. n)

Target Cardinality

Select the cardinality setting of the target class object from the following options:

  • zero to 1 (0.. 1)

  • zero to many (0.. n)

  • one to one (1.. 1)

  • one to many (1.. n)

Relationship Target

Select the relationship's target class object.

Relationship is Bidirectional?

Select to make the reverse relationship (with the source and target object classes reversed) automatically available.

Bypass Indirection

Select to bypass automatic setID indirection for those relationships that include setID indirection fields.

Query Build automatically adds the required SetID logic as required. If you select this option, you must define the logic in the relationship attribute mapping. For example, SETID_Location maps directly to the SetID field on the Locations table (LOCATION_TABLE) to improve performance.

Relationship Attribute Mapping

Enter the names of the attributes that you are mapping. You can map any number of attributes and the attributes do not have to have the same name to be mapped.

Use the Export Metadata Definitions page (HCMD_EXPORT_OBJS) to export metadata definitions from the catalog to XML.

Navigation:

Set Up HCM > Product Related > Compensation > HCM Metadata Repository > Export > Export Metadata Definitions

This example illustrates the fields and controls on the Export Metadata Definitions page. You can find definitions for the fields and controls later on this page.

Export Metadata Definitions page

Field or Control

Description

Export All Class Definitions button

Click to export all the metadata definitions in the catalog to an XML file. The system will display the Export Metadata Definitions page where you enter the export path and file name to be created.

Criteria Filter

To limit the classes, enter filter criteria in the Class ID, Class Type, Object Owner ID, or Active Flag fields.

Note: You can select more than one class ID in this field by separating the values with commas.

Field or Control

Description

Apply Criteria button

Click to apply the criteria you entered. The system populates the Search Results grid with the class objects that meet the criteria.

Reset Criteria button

Click to clear the search criteria fields.

Search Results

The system populates this grid with the class objects that meet your search criteria and automatically selects all of them. Deselect the check boxes next to those class objects that you do not want to export.

Field or Control

Description

Export Selected Definitions button

Click to export the selected class objects to an XML file.

The system displays the Export Metadata Definitions - Export Metadata Definitions page (HCMD_FILENAME) to enter the path and filename of the export file to be created.

Navigation:

Click the Export All Class Definitions button or Export Selected Definitions button.

This example illustrates the fields and controls on the Export Metadata Definitions - Export Metadata Definitions page. You can find definitions for the fields and controls later on this page

Export Metadata Definitions - Export Metadata Definitions page

Enter the full path to the application server and the file name. If you do not specify a file name, the process will create the file in the default directory.

Use the Import Metadata Definitions page (HCMD_IMPORT_OBJS) to import metadata definitions.

Navigation:

Set Up HCM > Product Related > Compensation > HCM Metadata Repository > Import > Import Metadata Definitions

This example illustrates the fields and controls on the Import Metadata Definitions page. You can find definitions for the fields and controls later on this page.

Import Metadata Definitions page

Enter the file path and name to load the data from the XML file. The system will display a list of classes that exist in the exported file and an icon indicates if the class already exists. Select which classes should be imported and if the system should overwrite existing class definitions.