Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7168855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:51:59+00:00 2026-05-28T14:51:59+00:00

I asked a similar question earlier, but posed it as a language-specific question. I

  • 0

I asked a similar question earlier, but posed it as a language-specific question. I realized that my issue is at the modelling level.

How should I represent the following in the object model:

I have:

  • Data objects
  • Parameter objects
  • Rules objects

A rule specifies how to modify a data object it receives; it requires additional parameters to be fully defined. A rule may use other rules (either referring to them internally, or being told to do so in the parameter object).

The rule is not written in some custom language that someone needs to parse; rather it simply consists of the code that should be executed. This may sound like an implementation solution ahead of the design, but it’s actually one of the requirements (system users are programmers who want to be able to write their own rules and add them to the system easily).

The main activity happens when a data object, a parameter object, and a rule object meet; at that time, the data object gets modified.

The user tells the system which rule, which parameter, and which data object he wants to meet, and expects to get back the modified data object.

UPDATE:

Examples of data objects:

All data objects can be logically represented as SQL tables.

Data object ID #7: a SQL table

Data object ID #13: a SQL table

Examples of parameter objects:

All parameter objects have the same layout: a text file, where each line looks like

<PARAMETER_NAME> = <VALUE>

Parameter object ID #52:

RULE = ‘regression’

DATA ID = 7

Y = ‘cost’

X = ‘maximum speed’

R = ‘error in cost estimate’

Parameter object #59:

RULE = ‘average’

DATA ID = 13

COLUMNS = ‘min speed’, ‘max speed’

AVERAGE = ‘avg speed’

Examples of rules objects:

Rule object ‘regression’:

Performs linear regression; parameters named ‘Y’ and ‘X’ specify column names to be used as dependent and independent variables; parameter named ‘R’ specifies the column name to be added to the table that will contain the residuals from the regression.

Rule object ‘average’:

Calculates the average of the numbers specified in columns listed in parameter ‘COLUMNS’, and stores the result in the column specified in parameter ‘AVERAGE’.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T14:51:59+00:00Added an answer on May 28, 2026 at 2:51 pm

    Define them As UML stereotypes. Create a metaclass for your three meta types. DataObject, ParameteObject, and RulesObject. Add the specific details to the metaclass, then apply that stereotype of the Metaclass to the real item objects in your model.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have already asked a similar question earlier but I have notcied that I
I asked a similar question yesterday that was specific to a technology, but now
I asked a similar question about this previously, but I did not specify that
I asked a similar question yesterday, but recognize that i need to rephase it
I asked a similar question earlier but I'll ask it again in a different
I asked a similar question earlier but I'll ask it again in a different
A similar question was asked earlier there , but the question here is the
i have asked a similar question earlier, but this time i need a method
I've already asked similar question on this issue on stack overflow already, but I
Earlier, I asked a similar question, but I've since changed my code. Now the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.