Setting Up Entity Models

This topic describes the settings used to configure entity models used when implementing Oracle Intelligent Advisor for use with the permits application.

Adding an Entity Model

Note: Most of the data displayed on the pages within the Policy Modeling menu folder are read-only. In the current release, you do not create or update the definitions such as entity models, metadata models, or enumerations. These definitions are provided for your implementation in the form of delivered seed data. This documentation is provided to describe the visible information related to the policy modeling feature. Only the Metadata Models page contains fields that can be updated.
  1. Select Policy Modeling > Entity Models.

  2. Click Add.

  3. On the Entity Model Details page, enter these values:

    Page Elements

    Description

    Name

    Enter a name to identify the model within the application.

    Description

    Provide additional information regarding the purpose of the model.

    Enabled

    Use to enable or disable a model by turning the control on or off.

  4. Click Add in the Entities grid.

  5. On the Entity Details page, enter these values:

    Page Elements

    Description

    Name

    Name of the entity.

    Description

    Additional information to identify the entity and describe its purpose.

    Hidden from Policy Modeling

    If set to true, then this entry will not be present in the Get MetaData response to Oracle Intelligent Advisor.

    Top-Level Entity

    Indicates if the object is the highest level entity object.

    Policy Modeling Name

    The functional name for an entity or attribute as it appears within Oracle Intelligent Advisor.

    Use as Mapped in Entity

    Defines if the entity object can be selected as an input entity.

    Use as Mapped Out Entity

    Determines if the entity object can be selected as an output entity.

    Parent Entity Name

    The name of the parent entity object of a child object.

    Cardinality with Parent Entity

    Indicates the cardinality relationship with the parent entity object, such as one-to-one, one-to-many, many-to-one, or many-to-many.

    Policy Modeling Relationship Name

    The name of the relationship between two entities as it appears in Oracle Intelligent Advisor.

    Supports Attachment

    Determines if attachments can be collected for rows of the entity object.

  6. Click Add in the Entity Attributes grid to add attributes for the entity.

  7. On the Entity Attribute Details page, enter these values:

    Page Elements

    Description

    Name

    The system name of the entity attribute.

    Data Type

    The data type of the attribute as it is defined in Oracle Intelligent Advisor. For example:

    • java.lang.String

    • java.lang.Long

    Primary Key

    The primary key of the underlying view object.

    Policy Modeling Name

    The functional display name for an entity or attribute as it appears in Oracle Intelligent Advisor.

    Hidden from Policy Modeling

    If set to true, then this entry will not be present in the Get MetaData response to Oracle Intelligent Advisor.

    Mandatory

    Determines if the field must be mapped from an attribute in a policy model.

    Policy Modeling Data Type

    Describes the data type of the field defined in Oracle Intelligent Advisor. It must be specified if no enumeration-type attribute is provided, and it cannot be specified if an enumeration-type attribute is provided.

    Options are:

    • String

    • Boolean

    • Decimal

    • Date

    • Date-time

    • Time-of-day

    Use as Mapped In Attribute

    Determines if the field can mapped from an attribute for the purpose of submitting data.

    Use as Mapped Out Attribute

    Determines if the field can mapped from an attribute for the purpose of submitting data.

    Default Value

    Enter a default value for this attribute. If added, the application includes the value in the load response to Oracle Intelligent Advisor.

    Enumeration Name

    Specifies the ID of the enumeration that defines a field's data type.

  8. Click Save.

  9. Click Save on the Entity Details page.

  10. Click Save on the Entity Model Details page.