java.lang.Object
de.hybris.platform.webservicescommons.swagger.vendorextension.ListVendorExtension<T>
All Implemented Interfaces:
VendorExtension<List<T>>

public class ListVendorExtension<T> extends Object implements VendorExtension<List<T>>
An implementation of VendorExtension using List as inner container
  • Constructor Details

    • ListVendorExtension

      public ListVendorExtension(String name, List<T> values)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: VendorExtension
      get the name of the vendor extension.
      Specified by:
      getName in interface VendorExtension<T>
      Returns:
      the name of the vendor extension.
    • getValue

      public List<T> getValue()
      Description copied from interface: VendorExtension
      get the value of the vendor extension.
      Specified by:
      getValue in interface VendorExtension<T>
      Returns:
      the value of the vendor extension.