Class MapTrait

  • All Implemented Interfaces:
    Trait

    public final class MapTrait
    extends Object
    implements Trait
    Trait that includes additional metadata for Map members.
    • Method Detail

      • keyLocationName

        public String keyLocationName()
        Returns:
        Location name of key. Used only for XML based protocols.
      • valueLocationName

        public String valueLocationName()
        Returns:
        Location name of value. Used only for XML based protocols.
      • valueFieldInfo

        public SdkField valueFieldInfo()
        Returns:
        Additional metadata for the map value types. May be further nested in the case of complex containers.
      • isFlattened

        public boolean isFlattened()
        Returns:
        Whether the map should be marshalled/unmarshalled as a 'flattened' map. This only applies to Query/XML protocols.
      • type

        public TraitType type()
        Description copied from interface: Trait
        The known trait type. This is correctly implemented and uniquely mapped to the enum values which allow us to create enum maps for trait known trait types.
        Specified by:
        type in interface Trait