(Model) Use enums for predefined options

Registered by Lars Helge Øverland on 2015-03-31

In the data model, use enums consistently for properties with predefined values. This implies replacing strings and ints with enums. Will improve usability of the web api / schemas.

ProgramStage.getDataEntryType.formType (done)
DataSet.getDataSetType.formType (done)

ValidationRule.importance (done)
ValidationRule.ruleType (done)

OrganisationUnit.featureType (done)

DataEntryForm.style (done)

BaseChart.type (done)

EventReport.dataType (done)

ReportTable.displayDensity (done)
ReportTable.fontSize (done)

DashboardItem.shape (done)
DashboardItem.getType() (done)

Report.type (done)

DataElement.aggregationType (done)

Blueprint information

Status:
Complete
Approver:
Lars Helge Øverland
Priority:
Low
Drafter:
Lars Helge Øverland
Direction:
Approved
Assignee:
Morten Olav Hansen
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2.21
Started by
Morten Olav Hansen on 2015-09-17
Completed by
Morten Olav Hansen on 2015-09-17

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.