View Issue Details

IDProjectCategoryView StatusLast Update
000095110000-003: Address Spacepublic2012-04-09 14:04
ReporterKarl Deiretsbacher Assigned ToWolfgang Mahnke  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.02 
Summary0000951: Additional enumeration requirements
Description

The enumeration variable currently always returns a numeric value. A large number of applications, however, do not care about this number - they need the string representation.

Proposal: Add a property "HasString" that clients can alternatively subscribe to to always receive the current label of the enumeration state.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0000876 closedWolfgang Mahnke 10000-003: Address Space Definition of Enumeration DataType does not allow to assign values 
related to 0001980 closedPaul Hunkar 10000-007: Profiles Additional enumeration requirements 

Activities

user2

2010-01-27 20:21

  ~0001505

I think the Property should be named "ValueAsString" instead of "HasString".

Wolfgang Mahnke

2010-02-01 16:32

developer   ~0001515

Problem: Property on Properties does not work.

Disadvantage: Client has to implement EnumStrings (or EnumValues) anyhow since not all servers will provide this and always transfering the localized text is less performant then an integer value.

The human-readable rep. is localized, so "ValueAsLable" or "ValueAsText" "ValueAsLocalizedText" might be more accurate.

Wolfgang Mahnke

2010-03-16 18:12

developer   ~0001555

Discussed in TelCo 2010-03-16:

Go for ValueAsText and add it as optional property on VariableType for Emum DataTypes.

Wolfgang Mahnke

2011-03-02 06:55

developer   ~0002303

Added Property to Variable (not VariableType). Does not make sense on type but on the instance.
Document version 1.02.05

Randy Armstrong

2011-03-16 13:39

administrator   ~0002422

Reviewed in F2F 2011-03-16

Issue History

Date Modified Username Field Change
2010-01-27 19:39 Karl Deiretsbacher New Issue
2010-01-27 19:40 Karl Deiretsbacher Relationship added related to 0000876
2010-01-27 20:21 user2 Note Added: 0001505
2010-02-01 16:32 Wolfgang Mahnke Note Added: 0001515
2010-03-16 18:10 Wolfgang Mahnke Status new => assigned
2010-03-16 18:10 Wolfgang Mahnke Assigned To => Wolfgang Mahnke
2010-03-16 18:12 Wolfgang Mahnke Note Added: 0001555
2011-03-02 06:55 Wolfgang Mahnke Status assigned => resolved
2011-03-02 06:55 Wolfgang Mahnke Fixed in Version => 1.02
2011-03-02 06:55 Wolfgang Mahnke Resolution open => fixed
2011-03-02 06:55 Wolfgang Mahnke Note Added: 0002303
2011-03-16 13:37 Randy Armstrong Issue cloned: 0001549
2011-03-16 13:39 Randy Armstrong Status resolved => closed
2011-03-16 13:39 Randy Armstrong Note Added: 0002422
2012-04-09 14:04 Jim Luth Issue cloned: 0001980
2012-04-09 14:04 Jim Luth Relationship added related to 0001980