Modify

Ticket #784 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Parametirase models

Reported by: ejhernandez@… Owned by: ejhernandez@…
Milestone: 0.11 Component: base
Severity: normal Keywords: parameter MVC
Cc:

Description

eBox models require to have parameters at the time of the model creation or whenever the developers want to, using a setParameters-like method.

This feature is required when some models share the description but differ among them in a certain parameter. For example, RuleTable model at traffic shaping module have as many instances as interfaces eBox has configured.

Attachments

Change History

comment:1 Changed 6 years ago by ejhernandez@…

  • Status changed from new to closed
  • Resolution set to fixed

Done at #753 (the time also set there).

The chosen option has been set a method called index and its printable version printableIndex which is used to distinguished model instances each other. The methods contextName and printableContextName returns the following information: /moduleName/modelName[/index] if any. The moduleName is the eBox module which instanciated the model itself.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.