Class CollectionShape

    • Method Detail

      • getMember

        public final MemberShape getMember()
        Get the member shape of the collection.
        Returns:
        Returns the member shape.
      • getMember

        public java.util.Optional<MemberShape> getMember​(java.lang.String memberName)
        Description copied from class: Shape
        Get a specific member by name.

        Shapes with no members return an empty Optional.

        Overrides:
        getMember in class Shape
        Parameters:
        memberName - Name of the member to retrieve.
        Returns:
        Returns the optional member.
      • getAllMembers

        public final java.util.Map<java.lang.String,​MemberShape> getAllMembers()
        Description copied from class: Shape
        Gets the members of the shape, including mixin members.
        Overrides:
        getAllMembers in class Shape
        Returns:
        Returns the immutable member map.