Interface MutableComplexTag

    • Method Detail

      • setName

        void setName​(java.lang.String name)
        Sets the name of the type or instance.
        name - the new name
      • addMember

        java.util.List<Member> addMember​(java.lang.String parentFolderUid,
                                         Tag member)
        Adds a member to this type, located at the specified folder path. Returns the resulting member objects (if the added member was complex, the sub members would potentially be added as well). The first element of the return will be the new member for the provided tag.
        parentFolderUid - the UID of the parent to receive the new child member
        member - the child to add
      • removeMember

        void removeMember​(java.lang.String memberUid)
        Removes the given member from this complex tag object. It's important to note that members can only be removed from the complex tag that defines it- not from sub classes or instances.
        memberUid - the uid of the member to remove from the complex tag
        java.lang.IllegalArgumentException - if the path refers to a member defined in a super class.