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
Select
.Click Add.
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.
Click Add in the Entities grid.
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.
Click Add in the Entity Attributes grid to add attributes for the entity.
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.
Click Save.
Click Save on the Entity Details page.
Click Save on the Entity Model Details page.