Class ListTrait

  • All Implemented Interfaces:
    Trait

    public final class ListTrait
    extends Object
    implements Trait
    Trait that includes additional metadata about List members.
    • Method Detail

      • memberLocationName

        public String memberLocationName()
        Location name of member, this is typically only used for XML based protocols which use separate tags for each item. This is not used for JSON and JSON-like protocols.
        Returns:
        Member location name.
      • memberFieldInfo

        public SdkField memberFieldInfo()
        Returns:
        Metadata about the items this list contains. May be further nested in the case of complex nested containers.
      • isFlattened

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