Interface HadMember

    • Method Detail

      • getCollection

        QualifiedName getCollection()
        Get an identifier for the collection whose member is asserted
        Returns:
        QualifiedName for the collection
        See Also:
        membership collection
      • getEntity

        List<QualifiedName> getEntity()
        Get the list of identifiers of entities that are member of the collection.
        Returns:
        a list of QualifiedName

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the entity property.

        For example, to add a new item, do as follows:

            getEntity().add(newItem);
         

        Objects of the following type(s) are allowed in the list QualifiedName

        See Also:
        membership entity
      • setCollection

        void setCollection​(QualifiedName collection)
        Set an identifier for the collection whose member is asserted
        Parameters:
        collection - QualifiedName for the collection
        See Also:
        membership collection