Preview Tool

Cisco Bug: CSCul93643 - XMP SDK - Generated POJO constructor incorrect when Map stereotype used.

Last Modified

Mar 27, 2014

Products (1)

  • Cisco Prime Infrastructure

Known Affected Releases


Description (partial)

I have a DataType which has an attribute called nvpairs which has the Map stereotype.  nvpairs type is a String.  The Map key as also a String.

The generated Java code seems to correctly declare nvpairs as:

    private Map<String, String> nvpairs = new HashMap<String, String>();

but the class constructor looks like:

   public CustomerDetailsDTO(
        String address ,
        String name ,
        String nvpairs ,
        String type    ){
       this.address = address; = name;
       this.nvpairs = nvpairs;
       this.type = type;

So subsequent complication fails due to trying to assign a String to a Map.

Nothing unusual
Bug details contain sensitive information and therefore require a account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.