Representation class

Description

As a developer, I suggest that the ValueType class get the type of the Java representation class as a type parameter, so that methods such as <T> T Value.extract () can be replaced by variants such as <T> T Value.extract (ValueType <T> ).

The implementation should be converted to the typesafe enum pattern because enums can not be provided with type parameters. Also, the ValueType.create () method must be adjusted to prevent ValueType.UNKNOWN.create () from throwing a NullPointerException because of non-set type members.

Activity

Show:
Angelika Wittek
August 30, 2017, 1:14 PM

Assignee

Angelika Wittek

Reporter

Hans-Jörg Kremer

Labels

Process Step

Global

Eclipse Project

MDM Business Layer

Status

New

Components

None

User Story Name

Representation class

Implementer (Company)

None

Customer (Company)

None

Epic Link

Fix versions

Affects versions

Priority

Major
Configure